# eric6.E5Gui.E5MainWindow

Module implementing a main window class with styling support.

### Global Attributes

None

### Classes

E5MainWindow | Class implementing a main window with styling support.

### Functions

None

## E5MainWindow

Class implementing a main window with styling support.

### Derived from

QMainWindow

### Class Attributes

None

### Class Methods

None

### Methods

E5MainWindow | Constructor
setStyle | Public method to set the style of the interface.

### Static Methods

None

#### E5MainWindow (Constructor)

E5MainWindow(parent=None)

Constructor

parent
  reference to the parent widget (QWidget)

#### E5MainWindow.setStyle

setStyle(styleName, styleSheetFile)

Public method to set the style of the interface.

styleName
  name of the style to set (string)
styleSheetFile
  name of a style sheet file to read to overwrite defaults of the given style (string)

Up