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


Ignore:
Timestamp:
Jan 9, 2019 6:09:39 AM (5 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/Utilities
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Utilities/AddMultEditor.py

    r287d356 r33c0561  
    5656 
    5757        self.setupUi(self) 
     58        # disable the context help icon 
     59        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) 
    5860 
    5961        #  uncheck self.chkOverwrite 
  • src/sas/qtgui/Utilities/ModelEditor.py

    rf2e199e r33c0561  
    1515        super(ModelEditor, self).__init__(parent) 
    1616        self.setupUi(self) 
     17        # disable the context help icon 
     18        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) 
    1719 
    1820        self.is_python = is_python 
  • src/sas/qtgui/Utilities/PluginManager.py

    raed0532 r33c0561  
    33from shutil import copyfile 
    44 
    5 from PyQt5 import QtWidgets 
     5from PyQt5 import QtWidgets, QtCore 
    66 
    77from sas.sascalc.fit import models 
     
    2121        super(PluginManager, self).__init__(parent._parent) 
    2222        self.setupUi(self) 
     23 
     24        # disable the context help icon 
     25        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) 
    2326 
    2427        self.parent = parent 
  • src/sas/qtgui/Utilities/ReportDialog.py

    r859d960 r33c0561  
    66from xhtml2pdf import pisa 
    77 
    8 from PyQt5 import QtWidgets 
     8from PyQt5 import QtWidgets, QtCore 
    99from PyQt5 import QtPrintSupport 
    1010 
     
    2323        super(ReportDialog, self).__init__(parent._parent) 
    2424        self.setupUi(self) 
     25        # disable the context help icon 
     26        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) 
    2527 
    2628        assert isinstance(report_list, list) 
  • src/sas/qtgui/Utilities/TabbedModelEditor.py

    r59b925c1 r33c0561  
    66import traceback 
    77 
    8 from PyQt5 import QtWidgets 
     8from PyQt5 import QtWidgets, QtCore 
    99 
    1010from sas.sascalc.fit import models 
     
    2828 
    2929        self.setupUi(self) 
     30 
     31        # disable the context help icon 
     32        self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) 
    3033 
    3134        # globals 
Note: See TracChangeset for help on using the changeset viewer.