Changeset 99372b6 in sasview for src


Ignore:
Timestamp:
Nov 21, 2018 6:28:12 AM (5 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
fb39f28
Parents:
d72ac57
Message:

Added a mini-button for easier Add New Fitpage action. From TRAC #1196

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py

    re5ae812 r99372b6  
    8383 
    8484        self.updateWindowTitle() 
     85 
     86        # Add new tab mini-button 
     87        self.plusButton = QtWidgets.QToolButton(self) 
     88        self.plusButton.setText("+") 
     89        self.setCornerWidget(self.plusButton) 
     90        self.plusButton.clicked.connect(lambda: self.addFit(None)) 
    8591 
    8692    def updateWindowTitle(self): 
Note: See TracChangeset for help on using the changeset viewer.