Skip to content

Commit 7c9841f

Browse files
committed
Commit 2000, yeah! Renaming Tool Names, Resizing Filter Window
1 parent 97493c5 commit 7c9841f

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

CellProfiler-Analyst.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,16 +142,16 @@ def __init__(self, properties, parent, id=-1, **kwargs):
142142
tb = self.CreateToolBar(wx.TB_HORZ_TEXT|wx.TB_FLAT)
143143
tb.SetToolBitmapSize((32,32))
144144
tb.SetSize((-1,132))
145-
tb.AddLabelTool(ID_IMAGE_GALLERY, 'ImageGallery', cpa.icons.image_gallery.ConvertToBitmap(), shortHelp='Gallery Viewer', longHelp='Launch Image Gallery Viewer')
145+
tb.AddLabelTool(ID_IMAGE_GALLERY, 'Image Gallery', cpa.icons.image_gallery.ConvertToBitmap(), shortHelp='Image Gallery', longHelp='Launch Image Gallery Viewer')
146146
tb.AddLabelTool(ID_CLASSIFIER, 'Classifier', cpa.icons.classifier.ConvertToBitmap(), shortHelp='Classifier', longHelp='Launch Classifier')
147147
# tb.AddLabelTool(ID_CLASSIFIER, 'PixelClassifier', cpa.icons.pixelclassifier.ConvertToBitmap(), shortHelp='Pixel-based Classifier', longHelp='Launch pixel-based Classifier')
148-
tb.AddLabelTool(ID_PLATE_VIEWER, 'PlateViewer', cpa.icons.platemapbrowser.ConvertToBitmap(), shortHelp='Plate Viewer', longHelp='Launch Plate Viewer')
148+
tb.AddLabelTool(ID_PLATE_VIEWER, 'Plate Viewer', cpa.icons.platemapbrowser.ConvertToBitmap(), shortHelp='Plate Viewer', longHelp='Launch Plate Viewer')
149149
# tb.AddLabelTool(ID_IMAGE_VIEWER, 'ImageViewer', cpa.icons.image_viewer.ConvertToBitmap(), shortHelp='Image Viewer', longHelp='Launch ImageViewer')
150-
tb.AddLabelTool(ID_SCATTER, 'ScatterPlot', cpa.icons.scatter.ConvertToBitmap(), shortHelp='Scatter Plot', longHelp='Launch Scatter Plot')
150+
tb.AddLabelTool(ID_SCATTER, 'Scatter Plot', cpa.icons.scatter.ConvertToBitmap(), shortHelp='Scatter Plot', longHelp='Launch Scatter Plot')
151151
tb.AddLabelTool(ID_HISTOGRAM, 'Histogram', cpa.icons.histogram.ConvertToBitmap(), shortHelp='Histogram', longHelp='Launch Histogram')
152-
tb.AddLabelTool(ID_DENSITY, 'DensityPlot', cpa.icons.density.ConvertToBitmap(), shortHelp='Density Plot', longHelp='Launch Density Plot')
153-
tb.AddLabelTool(ID_BOXPLOT, 'BoxPlot', cpa.icons.boxplot.ConvertToBitmap(), shortHelp='Box Plot', longHelp='Launch Box Plot')
154-
tb.AddLabelTool(ID_TABLE_VIEWER, 'TableViewer', cpa.icons.data_grid.ConvertToBitmap(), shortHelp='Table Viewer', longHelp='Launch TableViewer')
152+
tb.AddLabelTool(ID_DENSITY, 'Density Plot', cpa.icons.density.ConvertToBitmap(), shortHelp='Density Plot', longHelp='Launch Density Plot')
153+
tb.AddLabelTool(ID_BOXPLOT, 'Box Plot', cpa.icons.boxplot.ConvertToBitmap(), shortHelp='Box Plot', longHelp='Launch Box Plot')
154+
tb.AddLabelTool(ID_TABLE_VIEWER, 'Table Viewer', cpa.icons.data_grid.ConvertToBitmap(), shortHelp='Table Viewer', longHelp='Launch TableViewer')
155155
tb.Realize()
156156
# TODO: IMG-1071 - The following was meant to resize based on the toolbar size but GetEffectiveMinSize breaks on Macs
157157
# Not the Case anymore with wx.Python 3
@@ -175,7 +175,7 @@ def __init__(self, properties, parent, id=-1, **kwargs):
175175
self.GetMenuBar().Append(fileMenu, 'File')
176176

177177
toolsMenu = wx.Menu()
178-
imageGalleryMenuItem = toolsMenu.Append(ID_IMAGE_GALLERY, 'Image Gallery Viewer\tCtrl+Shift+I', help='Launches the Image Gallery Viewer')
178+
imageGalleryMenuItem = toolsMenu.Append(ID_IMAGE_GALLERY, 'Image Gallery Viewer\tCtrl+Shift+I', help='Launches the Image Gallery')
179179
classifierMenuItem = toolsMenu.Append(ID_CLASSIFIER, 'Classifier\tCtrl+Shift+C', help='Launches Classifier.')
180180
plateMapMenuItem = toolsMenu.Append(ID_PLATE_VIEWER, 'Plate Viewer\tCtrl+Shift+P', help='Launches the Plate Viewer tool.')
181181
#imageViewerMenuItem = toolsMenu.Append(ID_IMAGE_VIEWER, 'Image Viewer\tCtrl+Shift+I', help='Launches the ImageViewer tool.')

cpa/imagegallery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ def OnSelectFilter(self, evt):
849849
elif filter == CREATE_NEW_FILTER:
850850
self.fetchSizer.Hide(self.fetchFromGroupSizer, True)
851851
from columnfilter import ColumnFilterDialog
852-
cff = ColumnFilterDialog(self, tables=[p.image_table], size=(600, 150))
852+
cff = ColumnFilterDialog(self, tables=[p.image_table], size=(600, 300))
853853
if cff.ShowModal() == wx.OK:
854854
fltr = cff.get_filter()
855855
fname = cff.get_filter_name()

0 commit comments

Comments
 (0)