qrainbowstyle.windows.base package
Submodules
qrainbowstyle.windows.base.Buttons module
- class qrainbowstyle.windows.base.Buttons.AppLogo(parent)[source]
Bases:
PyQt5.QtWidgets.QLabel
Label with app logo.
- class qrainbowstyle.windows.base.Buttons.ButtonsWidget(parent)[source]
Bases:
PyQt5.QtWidgets.QWidget
Widget with titlebar buttons
- class qrainbowstyle.windows.base.Buttons.CloseDarwinButton(parent=None)[source]
Bases:
qrainbowstyle.windows.base.Buttons.TitlebarDarwinButton
- class qrainbowstyle.windows.base.Buttons.CloseSquareWindowsButton(parent=None)[source]
Bases:
qrainbowstyle.windows.base.Buttons.TitlebarWindowsButton
- class qrainbowstyle.windows.base.Buttons.CloseWindowsButton(parent=None)[source]
Bases:
qrainbowstyle.windows.base.Buttons.TitlebarWindowsButton
- class qrainbowstyle.windows.base.Buttons.MaximizeDarwinButton(parent=None)[source]
Bases:
qrainbowstyle.windows.base.Buttons.TitlebarDarwinButton
- class qrainbowstyle.windows.base.Buttons.MaximizeWindowsButton(parent=None)[source]
Bases:
qrainbowstyle.windows.base.Buttons.TitlebarWindowsButton
- class qrainbowstyle.windows.base.Buttons.MenuButton(parent)[source]
Bases:
PyQt5.QtWidgets.QToolButton
MenuButton documentation
- class qrainbowstyle.windows.base.Buttons.MinimizeDarwinButton(parent=None)[source]
Bases:
qrainbowstyle.windows.base.Buttons.TitlebarDarwinButton
- class qrainbowstyle.windows.base.Buttons.MinimizeWindowsButton(parent=None)[source]
Bases:
qrainbowstyle.windows.base.Buttons.TitlebarWindowsButton
- class qrainbowstyle.windows.base.Buttons.RestoreDarwinButton(parent=None)[source]
Bases:
qrainbowstyle.windows.base.Buttons.TitlebarDarwinButton
- class qrainbowstyle.windows.base.Buttons.RestoreWindowsButton(parent=None)[source]
Bases:
qrainbowstyle.windows.base.Buttons.TitlebarWindowsButton
qrainbowstyle.windows.base.Titlebar module
qrainbowstyle.windows.base.Window module
- class qrainbowstyle.windows.base.Window.FramelessWindowBase(parent)[source]
Bases:
PyQt5.QtWidgets.QDialog
- addContentWidget(widget: PyQt5.QtWidgets.QWidget)[source]
Add master widget to window.
- Parameters
widget (QWidget) – Content widget.
- closeClicked
- insertContentWidget(index, widget: PyQt5.QtWidgets.QWidget)[source]
Insert master widget to window at pos.
- Parameters
index (int) – Index
widget (QWidget) – Content widget.
- isResizingEnabled() bool [source]
Return if window allows resizing
- Returns
Window allow resizing.
- Return type
value (bool)
- FramelessWindowBase.setContentsMargins(self, int, int, int, int)[source]
- setContentsMargins(self, QMargins) None
- setResizingEnabled(value: bool)[source]
Enable window resizing
- Parameters
value (bool) – Enable or disable window resizing