Changeset 34f13a83 in sasview for src/sas/qtgui/Plotting/PlotterBase.py
- Timestamp:
- Sep 25, 2018 9:50:18 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- cb39d66
- Parents:
- 624c8747
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/PlotterBase.py
r863ebca r34f13a83 114 114 if not quickplot: 115 115 # Add the toolbar 116 self.toolbar.show() 116 # self.toolbar.show() 117 self.toolbar.hide() # hide for the time being 117 118 # Notify PlotHelper about the new plot 118 119 self.upatePlotHelper() … … 220 221 self.actionPrintImage = self.contextMenu.addAction("Print Image") 221 222 self.actionCopyToClipboard = self.contextMenu.addAction("Copy to Clipboard") 222 self.contextMenu.addSeparator()223 self.actionToggleMenu = self.contextMenu.addAction("Toggle Navigation Menu")223 #self.contextMenu.addSeparator() 224 #self.actionToggleMenu = self.contextMenu.addAction("Toggle Navigation Menu") 224 225 self.contextMenu.addSeparator() 225 226 … … 229 230 self.actionPrintImage.triggered.connect(self.onImagePrint) 230 231 self.actionCopyToClipboard.triggered.connect(self.onClipboardCopy) 231 self.actionToggleMenu.triggered.connect(self.onToggleMenu)232 #self.actionToggleMenu.triggered.connect(self.onToggleMenu) 232 233 233 234 def createContextMenu(self): … … 381 382 Toggle navigation menu visibility in the chart 382 383 """ 383 if self.toolbar.isVisible(): 384 self.toolbar.hide() 385 else: 386 self.toolbar.show() 384 self.toolbar.hide() 385 # Current toolbar menu is too buggy. 386 # Comment out until we support 3.x, then recheck. 387 #if self.toolbar.isVisible(): 388 # self.toolbar.hide() 389 #else: 390 # self.toolbar.show() 387 391 388 392 def offset_graph(self):
Note: See TracChangeset
for help on using the changeset viewer.