Changeset 098f3d2 in sasview for src/sas/guiframe


Ignore:
Timestamp:
Jul 6, 2015 1:11:55 PM (10 years ago)
Author:
Doucet, Mathieu <doucetm@…>
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:
d3d67f0
Parents:
9989a6a
Message:

Remove print preview menu items. Fix 2D plotting from fit perspective.

Location:
src/sas/guiframe
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/sas/guiframe/local_perspectives/plotting/Plotter1D.py

    rb99a4552 r098f3d2  
    564564            self._slicerpop.Append(wx_id, '&Print Image', 'Print image ') 
    565565            wx.EVT_MENU(self, wx_id, self.onPrint) 
    566             wx_id = wx.NewId() 
    567             self._slicerpop.Append(wx_id, '&Print Preview', 'Print preview') 
    568             wx.EVT_MENU(self, wx_id, self.onPrinterPreview) 
    569566 
    570567            wx_id = wx.NewId() 
  • src/sas/guiframe/local_perspectives/plotting/Plotter2D.py

    rc039589 r098f3d2  
    300300 
    301301        wx_id = wx.NewId() 
    302         slicerpop.Append(wx_id, '&Print Preview', 'Print preview') 
    303         wx.EVT_MENU(self, wx_id, self.onPrinterPreview) 
    304  
    305         wx_id = wx.NewId() 
    306302        slicerpop.Append(wx_id, '&Copy to Clipboard', 'Copy to the clipboard') 
    307303        wx.EVT_MENU(self, wx_id, self.OnCopyFigureMenu) 
  • src/sas/guiframe/local_perspectives/plotting/SimplePlot.py

    rb40ad40 r098f3d2  
    5858        slicerpop.Append(wx_id, '&Print Image', 'Print image') 
    5959        wx.EVT_MENU(self, wx_id, self.onPrint) 
    60  
    61         wx_id = wx.NewId() 
    62         slicerpop.Append(wx_id, '&Print Preview', 'Print preview') 
    63         wx.EVT_MENU(self, wx_id, self.onPrinterPreview) 
    6460 
    6561        wx_id = wx.NewId() 
     
    234230        wx.EVT_MENU(self, id, self.on_print_image) 
    235231 
    236         id = wx.NewId() 
    237         item = wx.MenuItem(menu, id, "&Print Preview") 
    238         item.SetBitmap(preview_bmp) 
    239         menu.AppendItem(item) 
    240         wx.EVT_MENU(self, id, self.on_print_preview) 
    241  
    242232        menu.AppendSeparator() 
    243233        id = wx.NewId() 
  • src/sas/guiframe/report_dialog.py

    re8bb5b6 r098f3d2  
    6666        hbox.Add(button_close) 
    6767        button_close.SetFocus() 
    68  
    69         button_preview = wx.Button(self, wx.NewId(), "Preview") 
    70         button_preview.SetToolTipString("Print preview this report.") 
    71         button_preview.Bind(wx.EVT_BUTTON, self.onPreview, 
    72                             id=button_preview.GetId())  
    73         hbox.Add(button_preview) 
    7468 
    7569        button_print = wx.Button(self, wx.NewId(), "Print") 
Note: See TracChangeset for help on using the changeset viewer.