Changeset 33c0561 in sasview for src/sas/qtgui/Calculators


Ignore:
Timestamp:
Jan 9, 2019 6:09:39 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_sync_sascalc
Children:
cf9f39e
Parents:
bbcf9f0
Message:

Replace Apply button menu driven functionality with additional button.
Removed Cancel.
Removed the window system context help button from all affected widgets.
SASVIEW-1239

Location:
src/sas/qtgui/Calculators
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Calculators/DataOperationUtilityPanel.py

    r42787fb r33c0561  
    2626        self.manager = parent 
    2727        self.communicator = self.manager.communicator() 
     28        # disable the context help icon 
     29        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) 
    2830 
    2931        # To store input datafiles 
  • src/sas/qtgui/Calculators/DensityPanel.py

    rb6f47be r33c0561  
    4848        self.manager = parent 
    4949        self.setupUi() 
     50        # disable the context help icon 
     51        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) 
     52 
    5053        self.setupModel() 
    5154        self.setupMapper() 
  • src/sas/qtgui/Calculators/GenericScatteringCalculator.py

    r8c85ac1 r33c0561  
    3838        super(GenericScatteringCalculator, self).__init__() 
    3939        self.setupUi(self) 
     40        # disable the context help icon 
     41        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) 
     42 
    4043        self.manager = parent 
    4144        self.communicator = self.manager.communicator() 
  • src/sas/qtgui/Calculators/KiessigPanel.py

    rccdee50 r33c0561  
    1515        super(KiessigPanel, self).__init__() 
    1616        self.setupUi(self) 
     17        # disable the context help icon 
     18        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) 
    1719 
    1820        self.setWindowTitle("Kiessig Thickness Calculator") 
  • src/sas/qtgui/Calculators/ResolutionCalculatorPanel.py

    r93c813f r33c0561  
    4141        super(ResolutionCalculatorPanel, self).__init__() 
    4242        self.setupUi(self) 
     43        # disable the context help icon 
     44        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) 
     45 
    4346        self.manager = parent 
    4447 
  • src/sas/qtgui/Calculators/SldPanel.py

    rbd39d6c r33c0561  
    8989 
    9090        self.setupUi() 
     91        # disable the context help icon 
     92        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) 
     93 
    9194        self.setupModel() 
    9295        self.setupMapper() 
  • src/sas/qtgui/Calculators/SlitSizeCalculator.py

    rfa05c6c1 r33c0561  
    2525        super(SlitSizeCalculator, self).__init__() 
    2626        self.setupUi(self) 
     27        # disable the context help icon 
     28        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) 
    2729 
    2830        self.setWindowTitle("Slit Size Calculator") 
Note: See TracChangeset for help on using the changeset viewer.