Changeset e1714a9 in sasview for sansguiframe
- Timestamp:
- Aug 24, 2011 10:49:32 AM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 886657f
- Parents:
- 0625b79
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/local_perspectives/plotting/Plotter1D.py
r4c51e8a re1714a9 316 316 self._slicerpop.Append(id, '&Copy to Clipboard', 'Copy to the clipboard') 317 317 wx.EVT_MENU(self, id, self.OnCopyFigureMenu) 318 319 id = wx.NewId() 320 self._slicerpop.AppendSeparator() 321 self._slicerpop.Append(id, '&Toggle Legend On/Off', 'Toggle Legend On/Off') 322 wx.EVT_MENU(self, id, self.onLegend) 323 324 loc_menu = wx.Menu() 325 for label in self._loc_labels: 326 id = wx.NewId() 327 loc_menu.Append(id, str(label), str(label)) 328 wx.EVT_MENU(self, id, self.onChangeLegendLoc) 329 id = wx.NewId() 330 self._slicerpop.AppendMenu(id, '&Modify Legend Location', loc_menu) 331 318 332 319 self._slicerpop.AppendSeparator() 333 320 … … 370 357 self._slicerpop.Append(id, '&Freeze', 'Freeze') 371 358 wx.EVT_MENU(self, id, self.onFreeze) 372 359 self._slicerpop.AppendSeparator() 373 360 symbol_menu = wx.Menu() 374 361 for label in self._symbol_labels: … … 386 373 id = wx.NewId() 387 374 self._slicerpop.AppendMenu(id, '&Modify Symbol Color', color_menu) 388 389 375 390 376 size_menu = wx.Menu() … … 401 387 self._slicerpop.AppendSeparator() 402 388 403 id = wx.NewId()404 self._slicerpop.Append(id, '&Edit Legend Label', 'Edit Legend Label')405 wx.EVT_MENU(self, id, self.onEditLabels)406 407 self._slicerpop.AppendSeparator()408 409 id = wx.NewId()410 389 self.hide_menu = self._slicerpop.Append(id, "Hide Error") 411 390 … … 420 399 421 400 self._slicerpop.AppendSeparator() 401 id = wx.NewId() 402 self._slicerpop.Append(id, '&Edit Legend Label', 'Edit Legend Label') 403 wx.EVT_MENU(self, id, self.onEditLabels) 422 404 # Option to hide 423 405 #TODO: implement functionality to hide a plottable (legend click) 424 406 407 loc_menu = wx.Menu() 408 for label in self._loc_labels: 409 id = wx.NewId() 410 loc_menu.Append(id, str(label), str(label)) 411 wx.EVT_MENU(self, id, self.onChangeLegendLoc) 412 id = wx.NewId() 413 self._slicerpop.AppendMenu(id, '&Modify Legend Location', loc_menu) 414 415 id = wx.NewId() 416 self._slicerpop.Append(id, '&Toggle Legend On/Off', 'Toggle Legend On/Off') 417 wx.EVT_MENU(self, id, self.onLegend) 418 self._slicerpop.AppendSeparator() 425 419 426 420 id = wx.NewId()
Note: See TracChangeset
for help on using the changeset viewer.