Changeset 824e488 in sasview for src/sas/perspectives
- Timestamp:
- Mar 5, 2015 2:18:47 PM (10 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:
- b5de88e
- Parents:
- b9dbd6b
- Location:
- src/sas/perspectives
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/calculator/gen_scatter_panel.py
r49ab5d7 r824e488 2036 2036 self.Destroy() 2037 2037 2038 # def on_help(self, event):2039 # """2040 # Gen scatter angle help panel2041 # """2042 # from sas.perspectives.calculator.help_panel import HelpWindow2043 # # Get models help model_function path2044 # import sas.perspectives.calculator as calmedia2045 #2046 # media = calmedia.get_data_path(media='media')2047 # path = os.path.join(media,"gen_sas_help.html")2048 # name = "Generic Scattering Calculator"2049 # frame = HelpWindow(self, -1,2050 # title=' Help: GenSAS',2051 # pageToOpen=path, size=(865, 450))2052 # try:2053 # frame.splitter.DetachWindow(frame.lpanel)2054 # # Display only the right side one2055 # frame.lpanel.Hide()2056 # frame.Show(True)2057 # add_icon(self.parent, frame)2058 # except:2059 # frame.Destroy()2060 # msg = 'Display Error\n'2061 # info = "Info"2062 # wx.MessageBox(msg, info)2063 2064 2038 if __name__ == "__main__": 2065 2039 app = wx.PySimpleApp() -
src/sas/perspectives/fitting/fitting.py
r2f4b430 r824e488 424 424 else: 425 425 self.batch_page = self.fit_panel.add_sim_page(caption=caption) 426 427 def help(self, evt):428 """429 Show a general help dialog.430 """431 from help_panel import HelpWindow432 frame = HelpWindow(None, -1, 'HelpWindow')433 if hasattr(frame, "IsIconized"):434 if not frame.IsIconized():435 try:436 icon = self.parent.GetIcon()437 frame.SetIcon(icon)438 except:439 pass440 frame.Show(True)441 426 442 427 def get_context_menu(self, plotpanel=None): -
src/sas/perspectives/invariant/invariant.py
r78a205a r824e488 47 47 # Log startup 48 48 logging.info("Invariant plug-in started") 49 50 def help(self, evt):51 """52 Show a general help dialog.53 """54 from help_panel import HelpWindow55 frame = HelpWindow(None, -1)56 if hasattr(frame, "IsIconized"):57 if not frame.IsIconized():58 try:59 icon = self.parent.GetIcon()60 frame.SetIcon(icon)61 except:62 logging.error(sys.exc_value)63 frame.Show(True)64 49 65 50 def get_data(self):
Note: See TracChangeset
for help on using the changeset viewer.