Changeset 3d250da3 in sasview for src/sas/perspectives
- Timestamp:
- Apr 2, 2015 8:46:38 AM (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:
- 0fa825c
- Parents:
- 5f0be1f
- Location:
- src/sas/perspectives/pr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/pr/explore_dialog.py
ra862cea0 r3d250da3 45 45 of D_max 46 46 """ 47 ## Title for plottools 48 window_caption = "D Explorer" 49 47 50 def __init__(self, d_min, d_max, parent, id= -1, color=None, \ 48 51 dpi=None, style=wx.NO_FULL_REPAINT_ON_RESIZE, **kwargs): … … 257 260 or when a new computation is finished. 258 261 """ 259 self.npts_ctl.SetFocus()260 262 # Get the output type selection 261 263 output_type = self.output_box.GetString(self.output_box.GetSelection()) … … 305 307 wx.EXPAND | wx.ADJUST_MINSIZE, 0) 306 308 self.npts_ctl.SetValue("%g" % DEFAULT_NPTS) 307 self.npts_ctl.Bind(wx.EVT_KILL_FOCUS, self._recalc)308 309 309 310 ix += 1 … … 315 316 wx.EXPAND | wx.ADJUST_MINSIZE, 0) 316 317 self.dmin_ctl.SetValue(str(self._default_min)) 317 self.dmin_ctl.Bind(wx.EVT_KILL_FOCUS, self._recalc)318 318 319 319 ix += 1 … … 325 325 wx.EXPAND | wx.ADJUST_MINSIZE, 0) 326 326 self.dmax_ctl.SetValue(str(self._default_max)) 327 self.dmax_ctl.Bind(wx.EVT_KILL_FOCUS, self._recalc)328 329 327 330 328 # Ouput selection box … … 368 366 """ 369 367 Not implemented 368 """ 369 pass 370 371 def send_focus_to_datapanel(self, name): 372 """ 373 The GUI manager sometimes calls this method 374 TODO: refactor this 370 375 """ 371 376 pass -
src/sas/perspectives/pr/inversion_panel.py
rf71700b r3d250da3 892 892 pr = self._manager._create_plot_pr() 893 893 dialog = ExploreDialog(pr, 10, None, -1, "") 894 dialog.Show Modal()894 dialog.Show() 895 895 else: 896 896 message = "No data to analyze. Please load a data set to proceed."
Note: See TracChangeset
for help on using the changeset viewer.