Commit 91efdbfe8aa71e794fa56d459c4d128f9fd41039
1 parent
4b6c08a8
Exists in
watershed_improvements_bkp
added a icon to the watershed configuration
Showing
2 changed files
with
3 additions
and
1 deletions
Show diff stats
614 Bytes
invesalius/gui/task_slice.py
@@ -779,7 +779,9 @@ class WatershedTool(EditionTools): | @@ -779,7 +779,9 @@ class WatershedTool(EditionTools): | ||
779 | self.ww_wl_cbox = ww_wl_cbox | 779 | self.ww_wl_cbox = ww_wl_cbox |
780 | 780 | ||
781 | # Line 6 | 781 | # Line 6 |
782 | - self.btn_wconfig = wx.Button(self, -1, "C", size=(48, -1)) | 782 | + bmp = wx.Bitmap("../icons/configuration.png", wx.BITMAP_TYPE_PNG) |
783 | + self.btn_wconfig = wx.BitmapButton(self, -1, bitmap=bmp, | ||
784 | + size=(bmp.GetWidth()+10, bmp.GetHeight()+10)) | ||
783 | self.btn_exp_watershed = wx.Button(self, -1, _('Expand watershed to 3D')) | 785 | self.btn_exp_watershed = wx.Button(self, -1, _('Expand watershed to 3D')) |
784 | 786 | ||
785 | sizer_btns = wx.BoxSizer(wx.HORIZONTAL) | 787 | sizer_btns = wx.BoxSizer(wx.HORIZONTAL) |