eric7.EricWidgets.EricMainWindow
Module implementing a main window class with styling support.
Global Attributes
Classes
Functions
EricMainWindow
Class implementing a main window with styling support.
Derived from
QMainWindow
Class Attributes
Class Methods
Methods
Static Methods
EricMainWindow (Constructor)
EricMainWindow(parent=None)
Constructor
- parent (QWidget)
-
reference to the parent widget
EricMainWindow.setStyle
setStyle(styleName, styleSheetFile)
Public method to set the style of the interface.
- styleName (str)
-
name of the style to set
- styleSheetFile (str)
-
name of a style sheet file to read to overwrite
defaults of the given style