Changeset 2cff9db in sasview
- Timestamp:
- Aug 12, 2016 4:38:26 AM (8 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:
- b61bd57, 2f12acc
- Parents:
- efb482a (diff), b636c0ba (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
build_tools/jenkins_win64_build.bat
rab06de7 rb636c0ba 4 4 set INNO="C:\util\inno\ISCC.exe" 5 5 set GIT_SED=C:\"Program Files"\Git\bin\sed.exe 6 7 6 set SAS_COMPILER=tinycc 8 set WORKSPACE=C:\build9 7 10 8 set PYTHONPATH=%WORKSPACE%\sasview\utils … … 23 21 %GIT_SED% -i.bak "s/GIT_COMMIT/%githash%/g" __init__.py 24 22 25 26 27 23 :: MAKE DIR FOR EGGS ################################################## 28 24 cd %WORKSPACE% … … 30 26 MD sasview-install 31 27 MD utils 28 29 :: TINYCC build #################################################### 30 cd %WORKSPACE% 31 cd tinycc 32 %PYTHON% setup.py build 33 xcopy /S build\lib\* %WORKSPACE%\sasview\utils\ 32 34 33 35 … … 37 39 %PYTHON% setup.py build 38 40 39 40 41 41 :: SASMODELS doc ###################################################### 42 42 cd doc 43 43 make html 44 45 44 46 45 :: SASMODELS build egg ################################################ … … 48 47 cd sasmodels 49 48 %PYTHON% setup.py bdist_egg 50 51 49 52 50 :: SASMODELS install egg ############################################## … … 79 77 80 78 81 :: TINYCC build ####################################################82 cd %WORKSPACE%83 cd tinycc84 %PYTHON% setup.py build85 xcopy /S build\lib\* %WORKSPACE%\sasview\utils\86 87 79 :: SASVIEW INSTALLER ################################################## 88 80 cd %WORKSPACE% -
src/sas/sasgui/guiframe/local_perspectives/plotting/Plotter1D.py
ra78890d refb482a 555 555 self._slicerpop.set_graph(self.graph) 556 556 ids = iter(self._menu_ids) 557 if not self.graph.selected_plottable in self.plots: 558 559 560 561 562 563 564 565 566 567 568 569 570 571 557 558 # Various plot options 559 wx_id = ids.next() 560 self._slicerpop.Append(wx_id, '&Save Image', 'Save image as PNG') 561 wx.EVT_MENU(self, wx_id, self.onSaveImage) 562 wx_id = ids.next() 563 self._slicerpop.Append(wx_id, '&Print Image', 'Print image ') 564 wx.EVT_MENU(self, wx_id, self.onPrint) 565 566 wx_id = ids.next() 567 self._slicerpop.Append(wx_id, '&Copy to Clipboard', 568 'Copy to the clipboard') 569 wx.EVT_MENU(self, wx_id, self.OnCopyFigureMenu) 570 571 self._slicerpop.AppendSeparator() 572 572 573 573 for plot in self.plots.values(): … … 641 641 # Option to hide 642 642 # TODO: implement functionality to hide a plottable (legend click) 643 if not self.graph.selected_plottable in self.plots: 643 644 self._slicerpop.AppendSeparator() 645 loc_menu = wx.Menu() 646 for label in self._loc_labels: 647 wx_id = ids.next() 648 loc_menu.Append(wx_id, str(label), str(label)) 649 wx.EVT_MENU(self, wx_id, self.onChangeLegendLoc) 650 651 wx_id = ids.next() 652 self._slicerpop.Append(wx_id, '&Modify Graph Appearance', 653 'Modify graph appearance') 654 wx.EVT_MENU(self, wx_id, self.modifyGraphAppearance) 655 self._slicerpop.AppendSeparator() 656 657 658 if self.position != None: 659 wx_id = ids.next() 660 self._slicerpop.Append(wx_id, '&Add Text') 661 wx.EVT_MENU(self, wx_id, self._on_addtext) 662 wx_id = ids.next() 663 self._slicerpop.Append(wx_id, '&Remove Text') 664 wx.EVT_MENU(self, wx_id, self._on_removetext) 644 665 self._slicerpop.AppendSeparator() 645 loc_menu = wx.Menu() 646 for label in self._loc_labels: 647 wx_id = ids.next() 648 loc_menu.Append(wx_id, str(label), str(label)) 649 wx.EVT_MENU(self, wx_id, self.onChangeLegendLoc) 650 651 wx_id = ids.next() 652 self._slicerpop.Append(wx_id, '&Modify Graph Appearance', 653 'Modify graph appearance') 654 wx.EVT_MENU(self, wx_id, self.modifyGraphAppearance) 655 self._slicerpop.AppendSeparator() 656 657 658 if self.position != None: 659 wx_id = ids.next() 660 self._slicerpop.Append(wx_id, '&Add Text') 661 wx.EVT_MENU(self, wx_id, self._on_addtext) 662 wx_id = ids.next() 663 self._slicerpop.Append(wx_id, '&Remove Text') 664 wx.EVT_MENU(self, wx_id, self._on_removetext) 665 self._slicerpop.AppendSeparator() 666 wx_id = ids.next() 667 self._slicerpop.Append(wx_id, '&Change Scale') 668 wx.EVT_MENU(self, wx_id, self._onProperties) 666 wx_id = ids.next() 667 self._slicerpop.Append(wx_id, '&Change Scale') 668 wx.EVT_MENU(self, wx_id, self._onProperties) 669 self._slicerpop.AppendSeparator() 670 wx_id = ids.next() 671 self._slicerpop.Append(wx_id, '&Reset Graph Range') 672 wx.EVT_MENU(self, wx_id, self.onResetGraph) 673 674 if self.parent.ClassName.count('wxDialog') == 0: 669 675 self._slicerpop.AppendSeparator() 670 676 wx_id = ids.next() 671 self._slicerpop.Append(wx_id, '&Reset Graph Range') 672 wx.EVT_MENU(self, wx_id, self.onResetGraph) 673 674 if self.parent.ClassName.count('wxDialog') == 0: 675 self._slicerpop.AppendSeparator() 676 wx_id = ids.next() 677 self._slicerpop.Append(wx_id, '&Window Title') 678 wx.EVT_MENU(self, wx_id, self.onChangeCaption) 677 self._slicerpop.Append(wx_id, '&Window Title') 678 wx.EVT_MENU(self, wx_id, self.onChangeCaption) 679 679 try: 680 680 pos_evt = event.GetPosition()
Note: See TracChangeset
for help on using the changeset viewer.