Changeset a5e1b6ca in sasview for src/sas/sasgui/perspectives
- Timestamp:
- Apr 1, 2019 11:11:34 AM (6 years ago)
- Branches:
- ticket-1249
- Children:
- 0dde203
- Parents:
- 9305b46
- Location:
- src/sas/sasgui/perspectives
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/data_editor.py
r5251ec6 ra5e1b6ca 19 19 _QMAX_DEFAULT = 0.13 20 20 _NPTS_DEFAULT = 50 21 #Control panel width 21 #Control panel width 22 22 if sys.platform.count("darwin") == 0: 23 23 PANEL_WIDTH = 500 … … 196 196 summary = 'No data info available...' 197 197 self.data_summary.SetValue(summary) 198 #self.summary_sizer.Add(self.data_summary, 1, wx.EXPAND|wx.ALL, 10) 198 #self.summary_sizer.Add(self.data_summary, 1, wx.EXPAND|wx.ALL, 10) 199 199 200 200 def _layout_button(self): … … 579 579 wildcard = "CanSAS 1D files(*.xml)|*.xml" 580 580 dlg = wx.FileDialog(self, "Choose a file", 581 self._default_save_location, "", wildcard , wx.SAVE) 581 self._default_save_location, "", wildcard , 582 wx.FD_SAVE) 582 583 583 584 for data in self._data: -
src/sas/sasgui/perspectives/calculator/gen_scatter_panel.py
r34f23c8 ra5e1b6ca 1671 1671 location, "sld_file", 1672 1672 extension, 1673 wx. SAVE)1673 wx.FD_SAVE) 1674 1674 if dlg.ShowModal() == wx.ID_OK: 1675 1675 path = dlg.GetPath() -
src/sas/sasgui/perspectives/corfunc/corfunc_panel.py
r82d88d5 ra5e1b6ca 337 337 dlg = wx.FileDialog(self, "Choose a file", 338 338 default_save_location, \ 339 self.window_caption, "*.crf", wx. SAVE)339 self.window_caption, "*.crf", wx.FD_SAVE) 340 340 if dlg.ShowModal() == wx.ID_OK: 341 341 path = dlg.GetPath() -
src/sas/sasgui/perspectives/fitting/basepage.py
rcb64d86 ra5e1b6ca 676 676 self._manager.parent._default_save_location 677 677 dlg = wx.FileDialog(self, "Choose a file", self._default_save_location, 678 self.window_caption, "*.fitv", wx. SAVE)678 self.window_caption, "*.fitv", wx.FD_SAVE) 679 679 680 680 if dlg.ShowModal() == wx.ID_OK: -
src/sas/sasgui/perspectives/fitting/report_dialog.py
r44e8f48 ra5e1b6ca 49 49 dlg = wx.FileDialog(self, "Choose a file", 50 50 wildcard=self.wild_card, 51 style=wx. SAVE | wx.OVERWRITE_PROMPT | wx.CHANGE_DIR)51 style=wx.FD_SAVE | wx.OVERWRITE_PROMPT | wx.CHANGE_DIR) 52 52 dlg.SetFilterIndex(0) # Set .html files to be default 53 53 -
src/sas/sasgui/perspectives/invariant/invariant_panel.py
r5251ec6 ra5e1b6ca 1255 1255 dlg = wx.FileDialog(self, "Choose a file", 1256 1256 self._default_save_location, \ 1257 self.window_caption, "*.inv", wx. SAVE)1257 self.window_caption, "*.inv", wx.FD_SAVE) 1258 1258 if dlg.ShowModal() == wx.ID_OK: 1259 1259 path = dlg.GetPath() -
src/sas/sasgui/perspectives/invariant/report_dialog.py
r5251ec6 ra5e1b6ca 52 52 dlg = wx.FileDialog(self, "Choose a file", 53 53 wildcard=self.wild_card, 54 style=wx. SAVE | wx.OVERWRITE_PROMPT | wx.CHANGE_DIR)54 style=wx.FD_SAVE | wx.OVERWRITE_PROMPT | wx.CHANGE_DIR) 55 55 dlg.SetFilterIndex(0) # Set .html files to be default 56 56 -
src/sas/sasgui/perspectives/pr/inversion_panel.py
r5251ec6 ra5e1b6ca 282 282 dlg = wx.FileDialog(self, "Choose a file", 283 283 self._default_save_location, 284 self.window_caption, "*.prv", wx. SAVE)284 self.window_caption, "*.prv", wx.FD_SAVE) 285 285 if dlg.ShowModal() == wx.ID_OK: 286 286 path = dlg.GetPath()
Note: See TracChangeset
for help on using the changeset viewer.