Module streamdeck_ui.gui

Defines the QT powered interface for configuring Stream Decks

View Source
"""Defines the QT powered interface for configuring Stream Decks"""

import os

import sys

from functools import partial

from PySide2 import QtWidgets

from PySide2.QtCore import QSize, Qt, QTimer

from PySide2.QtGui import QIcon

from PySide2.QtUiTools import QUiLoader

from PySide2.QtWidgets import (

    QAction,

    QApplication,

    QFileDialog,

    QMainWindow,

    QMenu,

    QSizePolicy,

    QSystemTrayIcon,

)

from streamdeck_ui import api

from streamdeck_ui.config import LOGO, PROJECT_PATH

from streamdeck_ui.ui_main import Ui_MainWindow

BUTTON_SYTLE = """

    QToolButton{background-color:black;}

    QToolButton:checked{background-color:darkGray;}

    QToolButton:focus{border:none; }

"""

selected_button: QtWidgets.QToolButton

text_timer = None

def _deck_id(ui) -> str:

    return ui.device_list.itemData(ui.device_list.currentIndex())

def _page(ui) -> int:

    return ui.pages.currentIndex()

def update_button_text(ui, text: str) -> None:

    deck_id = _deck_id(ui)

    api.set_button_text(deck_id, _page(ui), selected_button.index, text)

    redraw_buttons(ui)

def update_button_command(ui, command: str) -> None:

    deck_id = _deck_id(ui)

    api.set_button_command(deck_id, _page(ui), selected_button.index, command)

def update_button_keys(ui, keys: str) -> None:

    deck_id = _deck_id(ui)

    api.set_button_keys(deck_id, _page(ui), selected_button.index, keys)

def update_button_write(ui) -> None:

    deck_id = _deck_id(ui)

    api.set_button_write(deck_id, _page(ui), selected_button.index, ui.write.toPlainText())

def update_change_brightness(ui, amount: int) -> None:

    deck_id = _deck_id(ui)

    api.set_button_change_brightness(deck_id, _page(ui), selected_button.index, amount)

def update_switch_page(ui, page: int) -> None:

    deck_id = _deck_id(ui)

    api.set_button_switch_page(deck_id, _page(ui), selected_button.index, page)

def _highlight_first_button(ui) -> None:

    button = ui.pages.currentWidget().findChildren(QtWidgets.QToolButton)[0]

    button.setChecked(False)

    button.click()

def change_page(ui, page: int) -> None:

    api.set_page(_deck_id(ui), page)

    redraw_buttons(ui)

    _highlight_first_button(ui)

def select_image(window) -> None:

    file_name = QFileDialog.getOpenFileName(

        window, "Open Image", os.path.expanduser("~"), "Image Files (*.png *.jpg *.bmp)"

    )[0]

    deck_id = _deck_id(window.ui)

    api.set_button_icon(deck_id, _page(window.ui), selected_button.index, file_name)

    redraw_buttons(window.ui)

def redraw_buttons(ui) -> None:

    deck_id = _deck_id(ui)

    current_tab = ui.pages.currentWidget()

    buttons = current_tab.findChildren(QtWidgets.QToolButton)

    for button in buttons:

        button.setText(api.get_button_text(deck_id, _page(ui), button.index))

        button.setIcon(QIcon(api.get_button_icon(deck_id, _page(ui), button.index)))

def set_brightness(ui, value: int) -> None:

    deck_id = _deck_id(ui)

    api.set_brightness(deck_id, value)

def button_clicked(ui, clicked_button, buttons) -> None:

    global selected_button

    selected_button = clicked_button

    for button in buttons:

        if button == clicked_button:

            continue

        button.setChecked(False)

    deck_id = _deck_id(ui)

    button_id = selected_button.index

    ui.text.setText(api.get_button_text(deck_id, _page(ui), button_id))

    ui.command.setText(api.get_button_command(deck_id, _page(ui), button_id))

    ui.keys.setText(api.get_button_keys(deck_id, _page(ui), button_id))

    ui.write.setPlainText(api.get_button_write(deck_id, _page(ui), button_id))

    ui.change_brightness.setValue(api.get_button_change_brightness(deck_id, _page(ui), button_id))

    ui.switch_page.setValue(api.get_button_switch_page(deck_id, _page(ui), button_id))

def build_buttons(ui, tab) -> None:

    deck_id = _deck_id(ui)

    deck = api.get_deck(deck_id)

    if hasattr(tab, "deck_buttons"):

        tab.deck_buttons.hide()

        tab.deck_buttons.deleteLater()

    base_widget = QtWidgets.QWidget(tab)

    tab.children()[0].addWidget(base_widget)

    tab.deck_buttons = base_widget

    row_layout = QtWidgets.QVBoxLayout(base_widget)

    index = 0

    buttons = []

    for _row in range(deck["layout"][0]):  # type: ignore

        column_layout = QtWidgets.QHBoxLayout()

        row_layout.addLayout(column_layout)

        for _column in range(deck["layout"][1]):  # type: ignore

            button = QtWidgets.QToolButton(base_widget)

            button.setCheckable(True)

            button.index = index

            button.setSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.MinimumExpanding)

            button.setToolButtonStyle(Qt.ToolButtonTextUnderIcon)

            button.setIconSize(QSize(100, 100))

            button.setStyleSheet(BUTTON_SYTLE)

            buttons.append(button)

            column_layout.addWidget(button)

            index += 1

    for button in buttons:

        button.clicked.connect(

            lambda button=button, buttons=buttons: button_clicked(ui, button, buttons)

        )

    redraw_buttons(ui)

    tab.hide()

    tab.show()

def export_config(window) -> None:

    file_name = QFileDialog.getSaveFileName(

        window, "Export Config", os.path.expanduser("~/streamdeck_ui_export.json"), "JSON (*.json)"

    )[0]

    if not file_name:

        return

    api.export_config(file_name)

def import_config(window) -> None:

    file_name = QFileDialog.getOpenFileName(

        window, "Import Config", os.path.expanduser("~"), "Config Files (*.json)"

    )[0]

    if not file_name:

        return

    api.import_config(file_name)

    redraw_buttons(window.ui)

def sync(ui) -> None:

    api.ensure_decks_connected()

    ui.brightness.setValue(api.get_brightness(_deck_id(ui)))

    ui.pages.setCurrentIndex(api.get_page(_deck_id(ui)))

def build_device(ui, _device_index=None) -> None:

    for page_id in range(ui.pages.count()):

        page = ui.pages.widget(page_id)

        page.setStyleSheet("background-color: black")

        build_buttons(ui, page)

    sync(ui)

    _highlight_first_button(ui)

class MainWindow(QMainWindow):

    def __init__(self):

        super(MainWindow, self).__init__()

        self.ui = Ui_MainWindow()

        self.ui.setupUi(self)

        self.window_shown: bool = True

    def closeEvent(self, event) -> None:  # noqa: N802 - Part of QT signature.

        self.window_shown = False

        self.hide()

        event.ignore()

    def systray_clicked(self, _status=None) -> None:

        self.hide()

        if self.window_shown:

            self.window_shown = False

            return

        self.show()

        self.activateWindow()

        getattr(self, "raise")()  # noqa: B009 - Can't call as self.raise() due to syntax error.

        self.window_shown = True

def queue_text_change(ui, text: str) -> None:

    global text_timer

    if text_timer:

        text_timer.stop()

    text_timer = QTimer()

    text_timer.setSingleShot(True)

    text_timer.timeout.connect(partial(update_button_text, ui, text))

    text_timer.start(500)

def start(_exit: bool = False) -> None:

    app = QApplication(sys.argv)

    logo = QIcon(LOGO)

    main_window = MainWindow()

    ui = main_window.ui

    main_window.setWindowIcon(logo)

    tray = QSystemTrayIcon(logo, app)

    tray.activated.connect(main_window.systray_clicked)

    menu = QMenu()

    action_exit = QAction("Exit")

    action_exit.triggered.connect(app.exit)

    menu.addAction(action_exit)

    tray.setContextMenu(menu)

    ui.text.textChanged.connect(partial(queue_text_change, ui))

    ui.command.textChanged.connect(partial(update_button_command, ui))

    ui.keys.textChanged.connect(partial(update_button_keys, ui))

    ui.write.textChanged.connect(partial(update_button_write, ui))

    ui.change_brightness.valueChanged.connect(partial(update_change_brightness, ui))

    ui.switch_page.valueChanged.connect(partial(update_switch_page, ui))

    ui.imageButton.clicked.connect(partial(select_image, main_window))

    ui.brightness.valueChanged.connect(partial(set_brightness, ui))

    for deck_id, deck in api.open_decks().items():

        ui.device_list.addItem(f"{deck['type']} - {deck_id}", userData=deck_id)

    build_device(ui)

    ui.device_list.currentIndexChanged.connect(partial(build_device, ui))

    ui.pages.currentChanged.connect(partial(change_page, ui))

    ui.actionExport.triggered.connect(partial(export_config, main_window))

    ui.actionImport.triggered.connect(partial(import_config, main_window))

    timer = QTimer()

    timer.timeout.connect(partial(sync, ui))

    timer.start(1000)

    api.render()

    tray.show()

    main_window.show()

    if _exit:

        return

    else:

        sys.exit(app.exec_())

if __name__ == "__main__":

    start()

Variables

BUTTON_SYTLE
LOGO
PROJECT_PATH
text_timer

Functions

build_buttons

def build_buttons(
    ui,
    tab
) -> None
View Source
def build_buttons(ui, tab) -> None:

    deck_id = _deck_id(ui)

    deck = api.get_deck(deck_id)

    if hasattr(tab, "deck_buttons"):

        tab.deck_buttons.hide()

        tab.deck_buttons.deleteLater()

    base_widget = QtWidgets.QWidget(tab)

    tab.children()[0].addWidget(base_widget)

    tab.deck_buttons = base_widget

    row_layout = QtWidgets.QVBoxLayout(base_widget)

    index = 0

    buttons = []

    for _row in range(deck["layout"][0]):  # type: ignore

        column_layout = QtWidgets.QHBoxLayout()

        row_layout.addLayout(column_layout)

        for _column in range(deck["layout"][1]):  # type: ignore

            button = QtWidgets.QToolButton(base_widget)

            button.setCheckable(True)

            button.index = index

            button.setSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.MinimumExpanding)

            button.setToolButtonStyle(Qt.ToolButtonTextUnderIcon)

            button.setIconSize(QSize(100, 100))

            button.setStyleSheet(BUTTON_SYTLE)

            buttons.append(button)

            column_layout.addWidget(button)

            index += 1

    for button in buttons:

        button.clicked.connect(

            lambda button=button, buttons=buttons: button_clicked(ui, button, buttons)

        )

    redraw_buttons(ui)

    tab.hide()

    tab.show()

build_device

def build_device(
    ui,
    _device_index=None
) -> None
View Source
def build_device(ui, _device_index=None) -> None:

    for page_id in range(ui.pages.count()):

        page = ui.pages.widget(page_id)

        page.setStyleSheet("background-color: black")

        build_buttons(ui, page)

    sync(ui)

    _highlight_first_button(ui)

button_clicked

def button_clicked(
    ui,
    clicked_button,
    buttons
) -> None
View Source
def button_clicked(ui, clicked_button, buttons) -> None:

    global selected_button

    selected_button = clicked_button

    for button in buttons:

        if button == clicked_button:

            continue

        button.setChecked(False)

    deck_id = _deck_id(ui)

    button_id = selected_button.index

    ui.text.setText(api.get_button_text(deck_id, _page(ui), button_id))

    ui.command.setText(api.get_button_command(deck_id, _page(ui), button_id))

    ui.keys.setText(api.get_button_keys(deck_id, _page(ui), button_id))

    ui.write.setPlainText(api.get_button_write(deck_id, _page(ui), button_id))

    ui.change_brightness.setValue(api.get_button_change_brightness(deck_id, _page(ui), button_id))

    ui.switch_page.setValue(api.get_button_switch_page(deck_id, _page(ui), button_id))

change_page

def change_page(
    ui,
    page: int
) -> None
View Source
def change_page(ui, page: int) -> None:

    api.set_page(_deck_id(ui), page)

    redraw_buttons(ui)

    _highlight_first_button(ui)

export_config

def export_config(
    window
) -> None
View Source
def export_config(window) -> None:

    file_name = QFileDialog.getSaveFileName(

        window, "Export Config", os.path.expanduser("~/streamdeck_ui_export.json"), "JSON (*.json)"

    )[0]

    if not file_name:

        return

    api.export_config(file_name)

import_config

def import_config(
    window
) -> None
View Source
def import_config(window) -> None:

    file_name = QFileDialog.getOpenFileName(

        window, "Import Config", os.path.expanduser("~"), "Config Files (*.json)"

    )[0]

    if not file_name:

        return

    api.import_config(file_name)

    redraw_buttons(window.ui)

queue_text_change

def queue_text_change(
    ui,
    text: str
) -> None
View Source
def queue_text_change(ui, text: str) -> None:

    global text_timer

    if text_timer:

        text_timer.stop()

    text_timer = QTimer()

    text_timer.setSingleShot(True)

    text_timer.timeout.connect(partial(update_button_text, ui, text))

    text_timer.start(500)

redraw_buttons

def redraw_buttons(
    ui
) -> None
View Source
def redraw_buttons(ui) -> None:

    deck_id = _deck_id(ui)

    current_tab = ui.pages.currentWidget()

    buttons = current_tab.findChildren(QtWidgets.QToolButton)

    for button in buttons:

        button.setText(api.get_button_text(deck_id, _page(ui), button.index))

        button.setIcon(QIcon(api.get_button_icon(deck_id, _page(ui), button.index)))

select_image

def select_image(
    window
) -> None
View Source
def select_image(window) -> None:

    file_name = QFileDialog.getOpenFileName(

        window, "Open Image", os.path.expanduser("~"), "Image Files (*.png *.jpg *.bmp)"

    )[0]

    deck_id = _deck_id(window.ui)

    api.set_button_icon(deck_id, _page(window.ui), selected_button.index, file_name)

    redraw_buttons(window.ui)

set_brightness

def set_brightness(
    ui,
    value: int
) -> None
View Source
def set_brightness(ui, value: int) -> None:

    deck_id = _deck_id(ui)

    api.set_brightness(deck_id, value)

start

def start(
    _exit: bool = False
) -> None
View Source
def start(_exit: bool = False) -> None:

    app = QApplication(sys.argv)

    logo = QIcon(LOGO)

    main_window = MainWindow()

    ui = main_window.ui

    main_window.setWindowIcon(logo)

    tray = QSystemTrayIcon(logo, app)

    tray.activated.connect(main_window.systray_clicked)

    menu = QMenu()

    action_exit = QAction("Exit")

    action_exit.triggered.connect(app.exit)

    menu.addAction(action_exit)

    tray.setContextMenu(menu)

    ui.text.textChanged.connect(partial(queue_text_change, ui))

    ui.command.textChanged.connect(partial(update_button_command, ui))

    ui.keys.textChanged.connect(partial(update_button_keys, ui))

    ui.write.textChanged.connect(partial(update_button_write, ui))

    ui.change_brightness.valueChanged.connect(partial(update_change_brightness, ui))

    ui.switch_page.valueChanged.connect(partial(update_switch_page, ui))

    ui.imageButton.clicked.connect(partial(select_image, main_window))

    ui.brightness.valueChanged.connect(partial(set_brightness, ui))

    for deck_id, deck in api.open_decks().items():

        ui.device_list.addItem(f"{deck['type']} - {deck_id}", userData=deck_id)

    build_device(ui)

    ui.device_list.currentIndexChanged.connect(partial(build_device, ui))

    ui.pages.currentChanged.connect(partial(change_page, ui))

    ui.actionExport.triggered.connect(partial(export_config, main_window))

    ui.actionImport.triggered.connect(partial(import_config, main_window))

    timer = QTimer()

    timer.timeout.connect(partial(sync, ui))

    timer.start(1000)

    api.render()

    tray.show()

    main_window.show()

    if _exit:

        return

    else:

        sys.exit(app.exec_())

sync

def sync(
    ui
) -> None
View Source
def sync(ui) -> None:

    api.ensure_decks_connected()

    ui.brightness.setValue(api.get_brightness(_deck_id(ui)))

    ui.pages.setCurrentIndex(api.get_page(_deck_id(ui)))

update_button_command

def update_button_command(
    ui,
    command: str
) -> None
View Source
def update_button_command(ui, command: str) -> None:

    deck_id = _deck_id(ui)

    api.set_button_command(deck_id, _page(ui), selected_button.index, command)

update_button_keys

def update_button_keys(
    ui,
    keys: str
) -> None
View Source
def update_button_keys(ui, keys: str) -> None:

    deck_id = _deck_id(ui)

    api.set_button_keys(deck_id, _page(ui), selected_button.index, keys)

update_button_text

def update_button_text(
    ui,
    text: str
) -> None
View Source
def update_button_text(ui, text: str) -> None:

    deck_id = _deck_id(ui)

    api.set_button_text(deck_id, _page(ui), selected_button.index, text)

    redraw_buttons(ui)

update_button_write

def update_button_write(
    ui
) -> None
View Source
def update_button_write(ui) -> None:

    deck_id = _deck_id(ui)

    api.set_button_write(deck_id, _page(ui), selected_button.index, ui.write.toPlainText())

update_change_brightness

def update_change_brightness(
    ui,
    amount: int
) -> None
View Source
def update_change_brightness(ui, amount: int) -> None:

    deck_id = _deck_id(ui)

    api.set_button_change_brightness(deck_id, _page(ui), selected_button.index, amount)

update_switch_page

def update_switch_page(
    ui,
    page: int
) -> None
View Source
def update_switch_page(ui, page: int) -> None:

    deck_id = _deck_id(ui)

    api.set_button_switch_page(deck_id, _page(ui), selected_button.index, page)

Classes

MainWindow

class MainWindow(

)

QMainWindow(self, parent: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = None, flags: PySide2.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags))

View Source
class MainWindow(QMainWindow):

    def __init__(self):

        super(MainWindow, self).__init__()

        self.ui = Ui_MainWindow()

        self.ui.setupUi(self)

        self.window_shown: bool = True

    def closeEvent(self, event) -> None:  # noqa: N802 - Part of QT signature.

        self.window_shown = False

        self.hide()

        event.ignore()

    def systray_clicked(self, _status=None) -> None:

        self.hide()

        if self.window_shown:

            self.window_shown = False

            return

        self.show()

        self.activateWindow()

        getattr(self, "raise")()  # noqa: B009 - Can't call as self.raise() due to syntax error.

        self.window_shown = True

Ancestors (in MRO)

  • PySide2.QtWidgets.QMainWindow
  • PySide2.QtWidgets.QWidget
  • PySide2.QtCore.QObject
  • PySide2.QtGui.QPaintDevice
  • Shiboken.Object

Class variables

AllowNestedDocks
AllowTabbedDocks
AnimatedDocks
DockOption
DockOptions
DrawChildren
DrawWindowBackground
ForceTabbedDocks
GroupedDragging
IgnoreMask
PaintDeviceMetric
PdmDepth
PdmDevicePixelRatio
PdmDevicePixelRatioScaled
PdmDpiX
PdmDpiY
PdmHeight
PdmHeightMM
PdmNumColors
PdmPhysicalDpiX
PdmPhysicalDpiY
PdmWidth
PdmWidthMM
RenderFlag
RenderFlags
VerticalTabs
customContextMenuRequested
destroyed
iconSizeChanged
objectNameChanged
painters
staticMetaObject
tabifiedDockWidgetActivated
toolButtonStyleChanged
windowIconChanged
windowIconTextChanged
windowTitleChanged

Static methods

connect
def connect(
    ...
)

connect(arg__1: PySide2.QtCore.QObject, arg__2: str, arg__3: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(arg__1: str, arg__2: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(arg__1: str, arg__2: PySide2.QtCore.QObject, arg__3: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, method: PySide2.QtCore.QMetaMethod, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection connect(sender: PySide2.QtCore.QObject, signal: str, member: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection connect(sender: PySide2.QtCore.QObject, signal: str, receiver: PySide2.QtCore.QObject, member: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection

createWindowContainer
def createWindowContainer(
    window: PySide2.QtGui.QWindow,
    parent: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = None,
    flags: PySide2.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)
) -> PySide2.QtWidgets.QWidget

createWindowContainer(window: PySide2.QtGui.QWindow, parent: typing.Union[PySide2.QtWidgets.QWidget, NoneType] = None, flags: PySide2.QtCore.Qt.WindowFlags = Default(Qt.WindowFlags)) -> PySide2.QtWidgets.QWidget

devicePixelRatioFScale
def devicePixelRatioFScale(

) -> float

devicePixelRatioFScale() -> float

disconnect
def disconnect(
    ...
)

disconnect(arg__1: PySide2.QtCore.QMetaObject.Connection) -> bool disconnect(arg__1: PySide2.QtCore.QObject, arg__2: str, arg__3: typing.Callable) -> bool disconnect(arg__1: str, arg__2: typing.Callable) -> bool disconnect(receiver: PySide2.QtCore.QObject, member: typing.Union[str, NoneType] = None) -> bool disconnect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, member: PySide2.QtCore.QMetaMethod) -> bool disconnect(sender: PySide2.QtCore.QObject, signal: str, receiver: PySide2.QtCore.QObject, member: str) -> bool disconnect(signal: str, receiver: PySide2.QtCore.QObject, member: str) -> bool

find
def find(
    arg__1: int
) -> PySide2.QtWidgets.QWidget

find(arg__1: int) -> PySide2.QtWidgets.QWidget

keyboardGrabber
def keyboardGrabber(

) -> PySide2.QtWidgets.QWidget

keyboardGrabber() -> PySide2.QtWidgets.QWidget

mouseGrabber
def mouseGrabber(

) -> PySide2.QtWidgets.QWidget

mouseGrabber() -> PySide2.QtWidgets.QWidget

registerUserData
def registerUserData(

) -> int

registerUserData() -> int

setTabOrder
def setTabOrder(
    arg__1: PySide2.QtWidgets.QWidget,
    arg__2: PySide2.QtWidgets.QWidget
)

setTabOrder(arg__1: PySide2.QtWidgets.QWidget, arg__2: PySide2.QtWidgets.QWidget)

Methods

acceptDrops
def acceptDrops(
    self
) -> bool

acceptDrops(self) -> bool

accessibleDescription
def accessibleDescription(
    self
) -> str

accessibleDescription(self) -> str

accessibleName
def accessibleName(
    self
) -> str

accessibleName(self) -> str

actionEvent
def actionEvent(
    self,
    event: PySide2.QtGui.QActionEvent
)

actionEvent(self, event: PySide2.QtGui.QActionEvent)

actions
def actions(
    self
) -> typing.List[PySide2.QtWidgets.QAction]

actions(self) -> typing.List[PySide2.QtWidgets.QAction]

activateWindow
def activateWindow(
    self
)

activateWindow(self)

addAction
def addAction(
    self,
    action: PySide2.QtWidgets.QAction
)

addAction(self, action: PySide2.QtWidgets.QAction)

addActions
def addActions(
    self,
    actions: typing.List[PySide2.QtWidgets.QAction]
)

addActions(self, actions: typing.List[PySide2.QtWidgets.QAction])

addDockWidget
def addDockWidget(
    ...
)

addDockWidget(self, area: PySide2.QtCore.Qt.DockWidgetArea, dockwidget: PySide2.QtWidgets.QDockWidget) addDockWidget(self, area: PySide2.QtCore.Qt.DockWidgetArea, dockwidget: PySide2.QtWidgets.QDockWidget, orientation: PySide2.QtCore.Qt.Orientation)

addToolBar
def addToolBar(
    ...
)

addToolBar(self, area: PySide2.QtCore.Qt.ToolBarArea, toolbar: PySide2.QtWidgets.QToolBar) addToolBar(self, title: str) -> PySide2.QtWidgets.QToolBar addToolBar(self, toolbar: PySide2.QtWidgets.QToolBar)

addToolBarBreak
def addToolBarBreak(
    self,
    area: PySide2.QtCore.Qt.ToolBarArea = PySide2.QtCore.Qt.ToolBarArea.TopToolBarArea
)

addToolBarBreak(self, area: PySide2.QtCore.Qt.ToolBarArea = PySide2.QtCore.Qt.ToolBarArea.TopToolBarArea)

adjustSize
def adjustSize(
    self
)

adjustSize(self)

autoFillBackground
def autoFillBackground(
    self
) -> bool

autoFillBackground(self) -> bool

backgroundRole
def backgroundRole(
    self
) -> PySide2.QtGui.QPalette.ColorRole

backgroundRole(self) -> PySide2.QtGui.QPalette.ColorRole

backingStore
def backingStore(
    self
) -> PySide2.QtGui.QBackingStore

backingStore(self) -> PySide2.QtGui.QBackingStore

baseSize
def baseSize(
    self
) -> PySide2.QtCore.QSize

baseSize(self) -> PySide2.QtCore.QSize

blockSignals
def blockSignals(
    self,
    b: bool
) -> bool

blockSignals(self, b: bool) -> bool

centralWidget
def centralWidget(
    self
) -> PySide2.QtWidgets.QWidget

centralWidget(self) -> PySide2.QtWidgets.QWidget

changeEvent
def changeEvent(
    self,
    event: PySide2.QtCore.QEvent
)

changeEvent(self, event: PySide2.QtCore.QEvent)

childAt
def childAt(
    ...
)

childAt(self, p: PySide2.QtCore.QPoint) -> PySide2.QtWidgets.QWidget childAt(self, x: int, y: int) -> PySide2.QtWidgets.QWidget

childEvent
def childEvent(
    self,
    event: PySide2.QtCore.QChildEvent
)

childEvent(self, event: PySide2.QtCore.QChildEvent)

children
def children(
    self
) -> typing.List[PySide2.QtCore.QObject]

children(self) -> typing.List[PySide2.QtCore.QObject]

childrenRect
def childrenRect(
    self
) -> PySide2.QtCore.QRect

childrenRect(self) -> PySide2.QtCore.QRect

childrenRegion
def childrenRegion(
    self
) -> PySide2.QtGui.QRegion

childrenRegion(self) -> PySide2.QtGui.QRegion

clearFocus
def clearFocus(
    self
)

clearFocus(self)

clearMask
def clearMask(
    self
)

clearMask(self)

close
def close(
    self
) -> bool

close(self) -> bool

closeEvent
def closeEvent(
    self,
    event
) -> None

closeEvent(self, event: PySide2.QtGui.QCloseEvent)

View Source
    def closeEvent(self, event) -> None:  # noqa: N802 - Part of QT signature.

        self.window_shown = False

        self.hide()

        event.ignore()
colorCount
def colorCount(
    self
) -> int

colorCount(self) -> int

connectNotify
def connectNotify(
    self,
    signal: PySide2.QtCore.QMetaMethod
)

connectNotify(self, signal: PySide2.QtCore.QMetaMethod)

contentsMargins
def contentsMargins(
    self
) -> PySide2.QtCore.QMargins

contentsMargins(self) -> PySide2.QtCore.QMargins

contentsRect
def contentsRect(
    self
) -> PySide2.QtCore.QRect

contentsRect(self) -> PySide2.QtCore.QRect

contextMenuEvent
def contextMenuEvent(
    self,
    event: PySide2.QtGui.QContextMenuEvent
)

contextMenuEvent(self, event: PySide2.QtGui.QContextMenuEvent)

contextMenuPolicy
def contextMenuPolicy(
    self
) -> PySide2.QtCore.Qt.ContextMenuPolicy

contextMenuPolicy(self) -> PySide2.QtCore.Qt.ContextMenuPolicy

corner
def corner(
    self,
    corner: PySide2.QtCore.Qt.Corner
) -> PySide2.QtCore.Qt.DockWidgetArea

corner(self, corner: PySide2.QtCore.Qt.Corner) -> PySide2.QtCore.Qt.DockWidgetArea

create
def create(
    self,
    arg__1: int = 0,
    initializeWindow: bool = True,
    destroyOldWindow: bool = True
)

create(self, arg__1: int = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)

createPopupMenu
def createPopupMenu(
    self
) -> PySide2.QtWidgets.QMenu

createPopupMenu(self) -> PySide2.QtWidgets.QMenu

createWinId
def createWinId(
    self
)

createWinId(self)

cursor
def cursor(
    self
) -> PySide2.QtGui.QCursor

cursor(self) -> PySide2.QtGui.QCursor

customEvent
def customEvent(
    self,
    event: PySide2.QtCore.QEvent
)

customEvent(self, event: PySide2.QtCore.QEvent)

deleteLater
def deleteLater(
    self
)

deleteLater(self)

depth
def depth(
    self
) -> int

depth(self) -> int

destroy
def destroy(
    self,
    destroyWindow: bool = True,
    destroySubWindows: bool = True
)

destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)

devType
def devType(
    self
) -> int

devType(self) -> int

devicePixelRatio
def devicePixelRatio(
    self
) -> int

devicePixelRatio(self) -> int

devicePixelRatioF
def devicePixelRatioF(
    self
) -> float

devicePixelRatioF(self) -> float

disconnectNotify
def disconnectNotify(
    self,
    signal: PySide2.QtCore.QMetaMethod
)

disconnectNotify(self, signal: PySide2.QtCore.QMetaMethod)

dockOptions
def dockOptions(
    self
) -> PySide2.QtWidgets.QMainWindow.DockOptions

dockOptions(self) -> PySide2.QtWidgets.QMainWindow.DockOptions

dockWidgetArea
def dockWidgetArea(
    self,
    dockwidget: PySide2.QtWidgets.QDockWidget
) -> PySide2.QtCore.Qt.DockWidgetArea

dockWidgetArea(self, dockwidget: PySide2.QtWidgets.QDockWidget) -> PySide2.QtCore.Qt.DockWidgetArea

documentMode
def documentMode(
    self
) -> bool

documentMode(self) -> bool

dragEnterEvent
def dragEnterEvent(
    self,
    event: PySide2.QtGui.QDragEnterEvent
)

dragEnterEvent(self, event: PySide2.QtGui.QDragEnterEvent)

dragLeaveEvent
def dragLeaveEvent(
    self,
    event: PySide2.QtGui.QDragLeaveEvent
)

dragLeaveEvent(self, event: PySide2.QtGui.QDragLeaveEvent)

dragMoveEvent
def dragMoveEvent(
    self,
    event: PySide2.QtGui.QDragMoveEvent
)

dragMoveEvent(self, event: PySide2.QtGui.QDragMoveEvent)

dropEvent
def dropEvent(
    self,
    event: PySide2.QtGui.QDropEvent
)

dropEvent(self, event: PySide2.QtGui.QDropEvent)

dumpObjectInfo
def dumpObjectInfo(
    self
)

dumpObjectInfo(self)

dumpObjectTree
def dumpObjectTree(
    self
)

dumpObjectTree(self)

dynamicPropertyNames
def dynamicPropertyNames(
    self
) -> typing.List[PySide2.QtCore.QByteArray]

dynamicPropertyNames(self) -> typing.List[PySide2.QtCore.QByteArray]

effectiveWinId
def effectiveWinId(
    self
) -> int

effectiveWinId(self) -> int

emit
def emit(
    self,
    arg__1: str,
    *args: None
) -> bool

emit(self, arg__1: str, *args: None) -> bool

ensurePolished
def ensurePolished(
    self
)

ensurePolished(self)

enterEvent
def enterEvent(
    self,
    event: PySide2.QtCore.QEvent
)

enterEvent(self, event: PySide2.QtCore.QEvent)

event
def event(
    self,
    event: PySide2.QtCore.QEvent
) -> bool

event(self, event: PySide2.QtCore.QEvent) -> bool

eventFilter
def eventFilter(
    self,
    watched: PySide2.QtCore.QObject,
    event: PySide2.QtCore.QEvent
) -> bool

eventFilter(self, watched: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool

findChild
def findChild(
    self,
    arg__1: type,
    arg__2: str = ''
) -> object

findChild(self, arg__1: type, arg__2: str = '') -> object

findChildren
def findChildren(
    ...
)

findChildren(self, arg__1: type, arg__2: PySide2.QtCore.QRegExp) -> typing.Iterable findChildren(self, arg__1: type, arg__2: str = '') -> typing.Iterable

focusInEvent
def focusInEvent(
    self,
    event: PySide2.QtGui.QFocusEvent
)

focusInEvent(self, event: PySide2.QtGui.QFocusEvent)

focusNextChild
def focusNextChild(
    self
) -> bool

focusNextChild(self) -> bool

focusNextPrevChild
def focusNextPrevChild(
    self,
    next: bool
) -> bool

focusNextPrevChild(self, next: bool) -> bool

focusOutEvent
def focusOutEvent(
    self,
    event: PySide2.QtGui.QFocusEvent
)

focusOutEvent(self, event: PySide2.QtGui.QFocusEvent)

focusPolicy
def focusPolicy(
    self
) -> PySide2.QtCore.Qt.FocusPolicy

focusPolicy(self) -> PySide2.QtCore.Qt.FocusPolicy

focusPreviousChild
def focusPreviousChild(
    self
) -> bool

focusPreviousChild(self) -> bool

focusProxy
def focusProxy(
    self
) -> PySide2.QtWidgets.QWidget

focusProxy(self) -> PySide2.QtWidgets.QWidget

focusWidget
def focusWidget(
    self
) -> PySide2.QtWidgets.QWidget

focusWidget(self) -> PySide2.QtWidgets.QWidget

font
def font(
    self
) -> PySide2.QtGui.QFont

font(self) -> PySide2.QtGui.QFont

fontInfo
def fontInfo(
    self
) -> PySide2.QtGui.QFontInfo

fontInfo(self) -> PySide2.QtGui.QFontInfo

fontMetrics
def fontMetrics(
    self
) -> PySide2.QtGui.QFontMetrics

fontMetrics(self) -> PySide2.QtGui.QFontMetrics

foregroundRole
def foregroundRole(
    self
) -> PySide2.QtGui.QPalette.ColorRole

foregroundRole(self) -> PySide2.QtGui.QPalette.ColorRole

frameGeometry
def frameGeometry(
    self
) -> PySide2.QtCore.QRect

frameGeometry(self) -> PySide2.QtCore.QRect

frameSize
def frameSize(
    self
) -> PySide2.QtCore.QSize

frameSize(self) -> PySide2.QtCore.QSize

geometry
def geometry(
    self
) -> PySide2.QtCore.QRect

geometry(self) -> PySide2.QtCore.QRect

getContentsMargins
def getContentsMargins(
    self,
    left: int,
    top: int,
    right: int,
    bottom: int
)

getContentsMargins(self, left: int, top: int, right: int, bottom: int)

grab
def grab(
    self,
    rectangle: PySide2.QtCore.QRect = PySide2.QtCore.QRect(0, 0, -1, -1)
) -> PySide2.QtGui.QPixmap

grab(self, rectangle: PySide2.QtCore.QRect = PySide2.QtCore.QRect(0, 0, -1, -1)) -> PySide2.QtGui.QPixmap

grabGesture
def grabGesture(
    self,
    type: PySide2.QtCore.Qt.GestureType,
    flags: PySide2.QtCore.Qt.GestureFlags = Default(Qt.GestureFlags)
)

grabGesture(self, type: PySide2.QtCore.Qt.GestureType, flags: PySide2.QtCore.Qt.GestureFlags = Default(Qt.GestureFlags))

grabKeyboard
def grabKeyboard(
    self
)

grabKeyboard(self)

grabMouse
def grabMouse(
    ...
)

grabMouse(self) grabMouse(self, arg__1: PySide2.QtGui.QCursor)

grabShortcut
def grabShortcut(
    self,
    key: PySide2.QtGui.QKeySequence,
    context: PySide2.QtCore.Qt.ShortcutContext = PySide2.QtCore.Qt.ShortcutContext.WindowShortcut
) -> int

grabShortcut(self, key: PySide2.QtGui.QKeySequence, context: PySide2.QtCore.Qt.ShortcutContext = PySide2.QtCore.Qt.ShortcutContext.WindowShortcut) -> int

graphicsEffect
def graphicsEffect(
    self
) -> PySide2.QtWidgets.QGraphicsEffect

graphicsEffect(self) -> PySide2.QtWidgets.QGraphicsEffect

graphicsProxyWidget
def graphicsProxyWidget(
    self
) -> PySide2.QtWidgets.QGraphicsProxyWidget

graphicsProxyWidget(self) -> PySide2.QtWidgets.QGraphicsProxyWidget

hasFocus
def hasFocus(
    self
) -> bool

hasFocus(self) -> bool

hasHeightForWidth
def hasHeightForWidth(
    self
) -> bool

hasHeightForWidth(self) -> bool

hasMouseTracking
def hasMouseTracking(
    self
) -> bool

hasMouseTracking(self) -> bool

hasTabletTracking
def hasTabletTracking(
    self
) -> bool

hasTabletTracking(self) -> bool

height
def height(
    self
) -> int

height(self) -> int

heightForWidth
def heightForWidth(
    self,
    arg__1: int
) -> int

heightForWidth(self, arg__1: int) -> int

heightMM
def heightMM(
    self
) -> int

heightMM(self) -> int

hide
def hide(
    self
)

hide(self)

hideEvent
def hideEvent(
    self,
    event: PySide2.QtGui.QHideEvent
)

hideEvent(self, event: PySide2.QtGui.QHideEvent)

iconSize
def iconSize(
    self
) -> PySide2.QtCore.QSize

iconSize(self) -> PySide2.QtCore.QSize

inherits
def inherits(
    self,
    classname: str
) -> bool

inherits(self, classname: str) -> bool

initPainter
def initPainter(
    self,
    painter: PySide2.QtGui.QPainter
)

initPainter(self, painter: PySide2.QtGui.QPainter)

inputMethodEvent
def inputMethodEvent(
    self,
    event: PySide2.QtGui.QInputMethodEvent
)

inputMethodEvent(self, event: PySide2.QtGui.QInputMethodEvent)

inputMethodHints
def inputMethodHints(
    self
) -> PySide2.QtCore.Qt.InputMethodHints

inputMethodHints(self) -> PySide2.QtCore.Qt.InputMethodHints

inputMethodQuery
def inputMethodQuery(
    self,
    arg__1: PySide2.QtCore.Qt.InputMethodQuery
) -> typing.Any

inputMethodQuery(self, arg__1: PySide2.QtCore.Qt.InputMethodQuery) -> typing.Any

insertAction
def insertAction(
    self,
    before: PySide2.QtWidgets.QAction,
    action: PySide2.QtWidgets.QAction
)

insertAction(self, before: PySide2.QtWidgets.QAction, action: PySide2.QtWidgets.QAction)

insertActions
def insertActions(
    self,
    before: PySide2.QtWidgets.QAction,
    actions: typing.List[PySide2.QtWidgets.QAction]
)

insertActions(self, before: PySide2.QtWidgets.QAction, actions: typing.List[PySide2.QtWidgets.QAction])

insertToolBar
def insertToolBar(
    self,
    before: PySide2.QtWidgets.QToolBar,
    toolbar: PySide2.QtWidgets.QToolBar
)

insertToolBar(self, before: PySide2.QtWidgets.QToolBar, toolbar: PySide2.QtWidgets.QToolBar)

insertToolBarBreak
def insertToolBarBreak(
    self,
    before: PySide2.QtWidgets.QToolBar
)

insertToolBarBreak(self, before: PySide2.QtWidgets.QToolBar)

installEventFilter
def installEventFilter(
    self,
    filterObj: PySide2.QtCore.QObject
)

installEventFilter(self, filterObj: PySide2.QtCore.QObject)

internalWinId
def internalWinId(
    self
) -> int

internalWinId(self) -> int

isActiveWindow
def isActiveWindow(
    self
) -> bool

isActiveWindow(self) -> bool

isAncestorOf
def isAncestorOf(
    self,
    child: PySide2.QtWidgets.QWidget
) -> bool

isAncestorOf(self, child: PySide2.QtWidgets.QWidget) -> bool

isAnimated
def isAnimated(
    self
) -> bool

isAnimated(self) -> bool

isDockNestingEnabled
def isDockNestingEnabled(
    self
) -> bool

isDockNestingEnabled(self) -> bool

isEnabled
def isEnabled(
    self
) -> bool

isEnabled(self) -> bool

isEnabledTo
def isEnabledTo(
    self,
    arg__1: PySide2.QtWidgets.QWidget
) -> bool

isEnabledTo(self, arg__1: PySide2.QtWidgets.QWidget) -> bool

isEnabledToTLW
def isEnabledToTLW(
    self
) -> bool

isEnabledToTLW(self) -> bool

isFullScreen
def isFullScreen(
    self
) -> bool

isFullScreen(self) -> bool

isHidden
def isHidden(
    self
) -> bool

isHidden(self) -> bool

isLeftToRight
def isLeftToRight(
    self
) -> bool

isLeftToRight(self) -> bool

isMaximized
def isMaximized(
    self
) -> bool

isMaximized(self) -> bool

isMinimized
def isMinimized(
    self
) -> bool

isMinimized(self) -> bool

isModal
def isModal(
    self
) -> bool

isModal(self) -> bool

isRightToLeft
def isRightToLeft(
    self
) -> bool

isRightToLeft(self) -> bool

isSeparator
def isSeparator(
    self,
    pos: PySide2.QtCore.QPoint
) -> bool

isSeparator(self, pos: PySide2.QtCore.QPoint) -> bool

isSignalConnected
def isSignalConnected(
    self,
    signal: PySide2.QtCore.QMetaMethod
) -> bool

isSignalConnected(self, signal: PySide2.QtCore.QMetaMethod) -> bool

isTopLevel
def isTopLevel(
    self
) -> bool

isTopLevel(self) -> bool

isVisible
def isVisible(
    self
) -> bool

isVisible(self) -> bool

isVisibleTo
def isVisibleTo(
    self,
    arg__1: PySide2.QtWidgets.QWidget
) -> bool

isVisibleTo(self, arg__1: PySide2.QtWidgets.QWidget) -> bool

isWidgetType
def isWidgetType(
    self
) -> bool

isWidgetType(self) -> bool

isWindow
def isWindow(
    self
) -> bool

isWindow(self) -> bool

isWindowModified
def isWindowModified(
    self
) -> bool

isWindowModified(self) -> bool

isWindowType
def isWindowType(
    self
) -> bool

isWindowType(self) -> bool

keyPressEvent
def keyPressEvent(
    self,
    event: PySide2.QtGui.QKeyEvent
)

keyPressEvent(self, event: PySide2.QtGui.QKeyEvent)

keyReleaseEvent
def keyReleaseEvent(
    self,
    event: PySide2.QtGui.QKeyEvent
)

keyReleaseEvent(self, event: PySide2.QtGui.QKeyEvent)

killTimer
def killTimer(
    self,
    id: int
)

killTimer(self, id: int)

layout
def layout(
    self
) -> PySide2.QtWidgets.QLayout

layout(self) -> PySide2.QtWidgets.QLayout

layoutDirection
def layoutDirection(
    self
) -> PySide2.QtCore.Qt.LayoutDirection

layoutDirection(self) -> PySide2.QtCore.Qt.LayoutDirection

leaveEvent
def leaveEvent(
    self,
    event: PySide2.QtCore.QEvent
)

leaveEvent(self, event: PySide2.QtCore.QEvent)

locale
def locale(
    self
) -> PySide2.QtCore.QLocale

locale(self) -> PySide2.QtCore.QLocale

logicalDpiX
def logicalDpiX(
    self
) -> int

logicalDpiX(self) -> int

logicalDpiY
def logicalDpiY(
    self
) -> int

logicalDpiY(self) -> int

lower
def lower(
    self
)

lower(self)

mapFrom
def mapFrom(
    self,
    arg__1: PySide2.QtWidgets.QWidget,
    arg__2: PySide2.QtCore.QPoint
) -> PySide2.QtCore.QPoint

mapFrom(self, arg__1: PySide2.QtWidgets.QWidget, arg__2: PySide2.QtCore.QPoint) -> PySide2.QtCore.QPoint

mapFromGlobal
def mapFromGlobal(
    self,
    arg__1: PySide2.QtCore.QPoint
) -> PySide2.QtCore.QPoint

mapFromGlobal(self, arg__1: PySide2.QtCore.QPoint) -> PySide2.QtCore.QPoint

mapFromParent
def mapFromParent(
    self,
    arg__1: PySide2.QtCore.QPoint
) -> PySide2.QtCore.QPoint

mapFromParent(self, arg__1: PySide2.QtCore.QPoint) -> PySide2.QtCore.QPoint

mapTo
def mapTo(
    self,
    arg__1: PySide2.QtWidgets.QWidget,
    arg__2: PySide2.QtCore.QPoint
) -> PySide2.QtCore.QPoint

mapTo(self, arg__1: PySide2.QtWidgets.QWidget, arg__2: PySide2.QtCore.QPoint) -> PySide2.QtCore.QPoint

mapToGlobal
def mapToGlobal(
    self,
    arg__1: PySide2.QtCore.QPoint
) -> PySide2.QtCore.QPoint

mapToGlobal(self, arg__1: PySide2.QtCore.QPoint) -> PySide2.QtCore.QPoint

mapToParent
def mapToParent(
    self,
    arg__1: PySide2.QtCore.QPoint
) -> PySide2.QtCore.QPoint

mapToParent(self, arg__1: PySide2.QtCore.QPoint) -> PySide2.QtCore.QPoint

mask
def mask(
    self
) -> PySide2.QtGui.QRegion

mask(self) -> PySide2.QtGui.QRegion

maximumHeight
def maximumHeight(
    self
) -> int

maximumHeight(self) -> int

maximumSize
def maximumSize(
    self
) -> PySide2.QtCore.QSize

maximumSize(self) -> PySide2.QtCore.QSize

maximumWidth
def maximumWidth(
    self
) -> int

maximumWidth(self) -> int

def menuBar(
    self
) -> PySide2.QtWidgets.QMenuBar

menuBar(self) -> PySide2.QtWidgets.QMenuBar

def menuWidget(
    self
) -> PySide2.QtWidgets.QWidget

menuWidget(self) -> PySide2.QtWidgets.QWidget

metaObject
def metaObject(
    self
) -> PySide2.QtCore.QMetaObject

metaObject(self) -> PySide2.QtCore.QMetaObject

metric
def metric(
    self,
    arg__1: PySide2.QtGui.QPaintDevice.PaintDeviceMetric
) -> int

metric(self, arg__1: PySide2.QtGui.QPaintDevice.PaintDeviceMetric) -> int

minimumHeight
def minimumHeight(
    self
) -> int

minimumHeight(self) -> int

minimumSize
def minimumSize(
    self
) -> PySide2.QtCore.QSize

minimumSize(self) -> PySide2.QtCore.QSize

minimumSizeHint
def minimumSizeHint(
    self
) -> PySide2.QtCore.QSize

minimumSizeHint(self) -> PySide2.QtCore.QSize

minimumWidth
def minimumWidth(
    self
) -> int

minimumWidth(self) -> int

mouseDoubleClickEvent
def mouseDoubleClickEvent(
    self,
    event: PySide2.QtGui.QMouseEvent
)

mouseDoubleClickEvent(self, event: PySide2.QtGui.QMouseEvent)

mouseMoveEvent
def mouseMoveEvent(
    self,
    event: PySide2.QtGui.QMouseEvent
)

mouseMoveEvent(self, event: PySide2.QtGui.QMouseEvent)

mousePressEvent
def mousePressEvent(
    self,
    event: PySide2.QtGui.QMouseEvent
)

mousePressEvent(self, event: PySide2.QtGui.QMouseEvent)

mouseReleaseEvent
def mouseReleaseEvent(
    self,
    event: PySide2.QtGui.QMouseEvent
)

mouseReleaseEvent(self, event: PySide2.QtGui.QMouseEvent)

move
def move(
    ...
)

move(self, arg__1: PySide2.QtCore.QPoint) move(self, x: int, y: int)

moveEvent
def moveEvent(
    self,
    event: PySide2.QtGui.QMoveEvent
)

moveEvent(self, event: PySide2.QtGui.QMoveEvent)

moveToThread
def moveToThread(
    self,
    thread: PySide2.QtCore.QThread
)

moveToThread(self, thread: PySide2.QtCore.QThread)

nativeEvent
def nativeEvent(
    self,
    eventType: PySide2.QtCore.QByteArray,
    message: int,
    result: int
) -> bool

nativeEvent(self, eventType: PySide2.QtCore.QByteArray, message: int, result: int) -> bool

nativeParentWidget
def nativeParentWidget(
    self
) -> PySide2.QtWidgets.QWidget

nativeParentWidget(self) -> PySide2.QtWidgets.QWidget

nextInFocusChain
def nextInFocusChain(
    self
) -> PySide2.QtWidgets.QWidget

nextInFocusChain(self) -> PySide2.QtWidgets.QWidget

normalGeometry
def normalGeometry(
    self
) -> PySide2.QtCore.QRect

normalGeometry(self) -> PySide2.QtCore.QRect

objectName
def objectName(
    self
) -> str

objectName(self) -> str

overrideWindowFlags
def overrideWindowFlags(
    self,
    type: PySide2.QtCore.Qt.WindowFlags
)

overrideWindowFlags(self, type: PySide2.QtCore.Qt.WindowFlags)

overrideWindowState
def overrideWindowState(
    self,
    state: PySide2.QtCore.Qt.WindowStates
)

overrideWindowState(self, state: PySide2.QtCore.Qt.WindowStates)

paintEngine
def paintEngine(
    self
) -> PySide2.QtGui.QPaintEngine

paintEngine(self) -> PySide2.QtGui.QPaintEngine

paintEvent
def paintEvent(
    self,
    event: PySide2.QtGui.QPaintEvent
)

paintEvent(self, event: PySide2.QtGui.QPaintEvent)

paintingActive
def paintingActive(
    self
) -> bool

paintingActive(self) -> bool

palette
def palette(
    self
) -> PySide2.QtGui.QPalette

palette(self) -> PySide2.QtGui.QPalette

parent
def parent(
    self
) -> PySide2.QtCore.QObject

parent(self) -> PySide2.QtCore.QObject

parentWidget
def parentWidget(
    self
) -> PySide2.QtWidgets.QWidget

parentWidget(self) -> PySide2.QtWidgets.QWidget

physicalDpiX
def physicalDpiX(
    self
) -> int

physicalDpiX(self) -> int

physicalDpiY
def physicalDpiY(
    self
) -> int

physicalDpiY(self) -> int

pos
def pos(
    self
) -> PySide2.QtCore.QPoint

pos(self) -> PySide2.QtCore.QPoint

previousInFocusChain
def previousInFocusChain(
    self
) -> PySide2.QtWidgets.QWidget

previousInFocusChain(self) -> PySide2.QtWidgets.QWidget

property
def property(
    self,
    name: str
) -> typing.Any

property(self, name: str) -> typing.Any

raise_
def raise_(
    self
)

raise_(self)

receivers
def receivers(
    self,
    signal: str
) -> int

receivers(self, signal: str) -> int

rect
def rect(
    self
) -> PySide2.QtCore.QRect

rect(self) -> PySide2.QtCore.QRect

redirected
def redirected(
    self,
    offset: PySide2.QtCore.QPoint
) -> PySide2.QtGui.QPaintDevice

redirected(self, offset: PySide2.QtCore.QPoint) -> PySide2.QtGui.QPaintDevice

releaseKeyboard
def releaseKeyboard(
    self
)

releaseKeyboard(self)

releaseMouse
def releaseMouse(
    self
)

releaseMouse(self)

releaseShortcut
def releaseShortcut(
    self,
    id: int
)

releaseShortcut(self, id: int)

removeAction
def removeAction(
    self,
    action: PySide2.QtWidgets.QAction
)

removeAction(self, action: PySide2.QtWidgets.QAction)

removeDockWidget
def removeDockWidget(
    self,
    dockwidget: PySide2.QtWidgets.QDockWidget
)

removeDockWidget(self, dockwidget: PySide2.QtWidgets.QDockWidget)

removeEventFilter
def removeEventFilter(
    self,
    obj: PySide2.QtCore.QObject
)

removeEventFilter(self, obj: PySide2.QtCore.QObject)

removeToolBar
def removeToolBar(
    self,
    toolbar: PySide2.QtWidgets.QToolBar
)

removeToolBar(self, toolbar: PySide2.QtWidgets.QToolBar)

removeToolBarBreak
def removeToolBarBreak(
    self,
    before: PySide2.QtWidgets.QToolBar
)

removeToolBarBreak(self, before: PySide2.QtWidgets.QToolBar)

render
def render(
    ...
)

render(self, painter: PySide2.QtGui.QPainter, targetOffset: PySide2.QtCore.QPoint, sourceRegion: PySide2.QtGui.QRegion = Default(QRegion), renderFlags: PySide2.QtWidgets.QWidget.RenderFlags = Instance(QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))) render(self, target: PySide2.QtGui.QPaintDevice, targetOffset: PySide2.QtCore.QPoint = Default(QPoint), sourceRegion: PySide2.QtGui.QRegion = Default(QRegion), renderFlags: PySide2.QtWidgets.QWidget.RenderFlags = Instance(QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)))

repaint
def repaint(
    ...
)

repaint(self) repaint(self, arg__1: PySide2.QtCore.QRect) repaint(self, arg__1: PySide2.QtGui.QRegion) repaint(self, x: int, y: int, w: int, h: int)

resize
def resize(
    ...
)

resize(self, arg__1: PySide2.QtCore.QSize) resize(self, w: int, h: int)

resizeDocks
def resizeDocks(
    self,
    docks: typing.List[PySide2.QtWidgets.QDockWidget],
    sizes: typing.List[int],
    orientation: PySide2.QtCore.Qt.Orientation
)

resizeDocks(self, docks: typing.List[PySide2.QtWidgets.QDockWidget], sizes: typing.List[int], orientation: PySide2.QtCore.Qt.Orientation)

resizeEvent
def resizeEvent(
    self,
    event: PySide2.QtGui.QResizeEvent
)

resizeEvent(self, event: PySide2.QtGui.QResizeEvent)

restoreDockWidget
def restoreDockWidget(
    self,
    dockwidget: PySide2.QtWidgets.QDockWidget
) -> bool

restoreDockWidget(self, dockwidget: PySide2.QtWidgets.QDockWidget) -> bool

restoreGeometry
def restoreGeometry(
    self,
    geometry: PySide2.QtCore.QByteArray
) -> bool

restoreGeometry(self, geometry: PySide2.QtCore.QByteArray) -> bool

restoreState
def restoreState(
    self,
    state: PySide2.QtCore.QByteArray,
    version: int = 0
) -> bool

restoreState(self, state: PySide2.QtCore.QByteArray, version: int = 0) -> bool

saveGeometry
def saveGeometry(
    self
) -> PySide2.QtCore.QByteArray

saveGeometry(self) -> PySide2.QtCore.QByteArray

saveState
def saveState(
    self,
    version: int = 0
) -> PySide2.QtCore.QByteArray

saveState(self, version: int = 0) -> PySide2.QtCore.QByteArray

scroll
def scroll(
    ...
)

scroll(self, dx: int, dy: int) scroll(self, dx: int, dy: int, arg__3: PySide2.QtCore.QRect)

sender
def sender(
    self
) -> PySide2.QtCore.QObject

sender(self) -> PySide2.QtCore.QObject

senderSignalIndex
def senderSignalIndex(
    self
) -> int

senderSignalIndex(self) -> int

setAcceptDrops
def setAcceptDrops(
    self,
    on: bool
)

setAcceptDrops(self, on: bool)

setAccessibleDescription
def setAccessibleDescription(
    self,
    description: str
)

setAccessibleDescription(self, description: str)

setAccessibleName
def setAccessibleName(
    self,
    name: str
)

setAccessibleName(self, name: str)

setAnimated
def setAnimated(
    self,
    enabled: bool
)

setAnimated(self, enabled: bool)

setAttribute
def setAttribute(
    self,
    arg__1: PySide2.QtCore.Qt.WidgetAttribute,
    on: bool = True
)

setAttribute(self, arg__1: PySide2.QtCore.Qt.WidgetAttribute, on: bool = True)

setAutoFillBackground
def setAutoFillBackground(
    self,
    enabled: bool
)

setAutoFillBackground(self, enabled: bool)

setBackgroundRole
def setBackgroundRole(
    self,
    arg__1: PySide2.QtGui.QPalette.ColorRole
)

setBackgroundRole(self, arg__1: PySide2.QtGui.QPalette.ColorRole)

setBaseSize
def setBaseSize(
    ...
)

setBaseSize(self, arg__1: PySide2.QtCore.QSize) setBaseSize(self, basew: int, baseh: int)

setCentralWidget
def setCentralWidget(
    self,
    widget: PySide2.QtWidgets.QWidget
)

setCentralWidget(self, widget: PySide2.QtWidgets.QWidget)

setContentsMargins
def setContentsMargins(
    ...
)

setContentsMargins(self, left: int, top: int, right: int, bottom: int) setContentsMargins(self, margins: PySide2.QtCore.QMargins)

setContextMenuPolicy
def setContextMenuPolicy(
    self,
    policy: PySide2.QtCore.Qt.ContextMenuPolicy
)

setContextMenuPolicy(self, policy: PySide2.QtCore.Qt.ContextMenuPolicy)

setCorner
def setCorner(
    self,
    corner: PySide2.QtCore.Qt.Corner,
    area: PySide2.QtCore.Qt.DockWidgetArea
)

setCorner(self, corner: PySide2.QtCore.Qt.Corner, area: PySide2.QtCore.Qt.DockWidgetArea)

setCursor
def setCursor(
    self,
    arg__1: PySide2.QtGui.QCursor
)

setCursor(self, arg__1: PySide2.QtGui.QCursor)

setDisabled
def setDisabled(
    self,
    arg__1: bool
)

setDisabled(self, arg__1: bool)

setDockNestingEnabled
def setDockNestingEnabled(
    self,
    enabled: bool
)

setDockNestingEnabled(self, enabled: bool)

setDockOptions
def setDockOptions(
    self,
    options: PySide2.QtWidgets.QMainWindow.DockOptions
)

setDockOptions(self, options: PySide2.QtWidgets.QMainWindow.DockOptions)

setDocumentMode
def setDocumentMode(
    self,
    enabled: bool
)

setDocumentMode(self, enabled: bool)

setEnabled
def setEnabled(
    self,
    arg__1: bool
)

setEnabled(self, arg__1: bool)

setFixedHeight
def setFixedHeight(
    self,
    h: int
)

setFixedHeight(self, h: int)

setFixedSize
def setFixedSize(
    ...
)

setFixedSize(self, arg__1: PySide2.QtCore.QSize) setFixedSize(self, w: int, h: int)

setFixedWidth
def setFixedWidth(
    self,
    w: int
)

setFixedWidth(self, w: int)

setFocus
def setFocus(
    ...
)

setFocus(self) setFocus(self, reason: PySide2.QtCore.Qt.FocusReason)

setFocusPolicy
def setFocusPolicy(
    self,
    policy: PySide2.QtCore.Qt.FocusPolicy
)

setFocusPolicy(self, policy: PySide2.QtCore.Qt.FocusPolicy)

setFocusProxy
def setFocusProxy(
    self,
    arg__1: PySide2.QtWidgets.QWidget
)

setFocusProxy(self, arg__1: PySide2.QtWidgets.QWidget)

setFont
def setFont(
    self,
    arg__1: PySide2.QtGui.QFont
)

setFont(self, arg__1: PySide2.QtGui.QFont)

setForegroundRole
def setForegroundRole(
    self,
    arg__1: PySide2.QtGui.QPalette.ColorRole
)

setForegroundRole(self, arg__1: PySide2.QtGui.QPalette.ColorRole)

setGeometry
def setGeometry(
    ...
)

setGeometry(self, arg__1: PySide2.QtCore.QRect) setGeometry(self, x: int, y: int, w: int, h: int)

setGraphicsEffect
def setGraphicsEffect(
    self,
    effect: PySide2.QtWidgets.QGraphicsEffect
)

setGraphicsEffect(self, effect: PySide2.QtWidgets.QGraphicsEffect)

setHidden
def setHidden(
    self,
    hidden: bool
)

setHidden(self, hidden: bool)

setIconSize
def setIconSize(
    self,
    iconSize: PySide2.QtCore.QSize
)

setIconSize(self, iconSize: PySide2.QtCore.QSize)

setInputMethodHints
def setInputMethodHints(
    self,
    hints: PySide2.QtCore.Qt.InputMethodHints
)

setInputMethodHints(self, hints: PySide2.QtCore.Qt.InputMethodHints)

setLayout
def setLayout(
    self,
    arg__1: PySide2.QtWidgets.QLayout
)

setLayout(self, arg__1: PySide2.QtWidgets.QLayout)

setLayoutDirection
def setLayoutDirection(
    self,
    direction: PySide2.QtCore.Qt.LayoutDirection
)

setLayoutDirection(self, direction: PySide2.QtCore.Qt.LayoutDirection)

setLocale
def setLocale(
    self,
    locale: PySide2.QtCore.QLocale
)

setLocale(self, locale: PySide2.QtCore.QLocale)

setMask
def setMask(
    ...
)

setMask(self, arg__1: PySide2.QtGui.QBitmap) setMask(self, arg__1: PySide2.QtGui.QRegion)

setMaximumHeight
def setMaximumHeight(
    self,
    maxh: int
)

setMaximumHeight(self, maxh: int)

setMaximumSize
def setMaximumSize(
    ...
)

setMaximumSize(self, arg__1: PySide2.QtCore.QSize) setMaximumSize(self, maxw: int, maxh: int)

setMaximumWidth
def setMaximumWidth(
    self,
    maxw: int
)

setMaximumWidth(self, maxw: int)

setMenuBar
def setMenuBar(
    self,
    menubar: PySide2.QtWidgets.QMenuBar
)

setMenuBar(self, menubar: PySide2.QtWidgets.QMenuBar)

setMenuWidget
def setMenuWidget(
    self,
    menubar: PySide2.QtWidgets.QWidget
)

setMenuWidget(self, menubar: PySide2.QtWidgets.QWidget)

setMinimumHeight
def setMinimumHeight(
    self,
    minh: int
)

setMinimumHeight(self, minh: int)

setMinimumSize
def setMinimumSize(
    ...
)

setMinimumSize(self, arg__1: PySide2.QtCore.QSize) setMinimumSize(self, minw: int, minh: int)

setMinimumWidth
def setMinimumWidth(
    self,
    minw: int
)

setMinimumWidth(self, minw: int)

setMouseTracking
def setMouseTracking(
    self,
    enable: bool
)

setMouseTracking(self, enable: bool)

setObjectName
def setObjectName(
    self,
    name: str
)

setObjectName(self, name: str)

setPalette
def setPalette(
    self,
    arg__1: PySide2.QtGui.QPalette
)

setPalette(self, arg__1: PySide2.QtGui.QPalette)

setParent
def setParent(
    ...
)

setParent(self, parent: PySide2.QtWidgets.QWidget) setParent(self, parent: PySide2.QtWidgets.QWidget, f: PySide2.QtCore.Qt.WindowFlags)

setProperty
def setProperty(
    self,
    name: str,
    value: typing.Any
) -> bool

setProperty(self, name: str, value: typing.Any) -> bool

setShortcutAutoRepeat
def setShortcutAutoRepeat(
    self,
    id: int,
    enable: bool = True
)

setShortcutAutoRepeat(self, id: int, enable: bool = True)

setShortcutEnabled
def setShortcutEnabled(
    self,
    id: int,
    enable: bool = True
)

setShortcutEnabled(self, id: int, enable: bool = True)

setSizeIncrement
def setSizeIncrement(
    ...
)

setSizeIncrement(self, arg__1: PySide2.QtCore.QSize) setSizeIncrement(self, w: int, h: int)

setSizePolicy
def setSizePolicy(
    ...
)

setSizePolicy(self, arg__1: PySide2.QtWidgets.QSizePolicy) setSizePolicy(self, horizontal: PySide2.QtWidgets.QSizePolicy.Policy, vertical: PySide2.QtWidgets.QSizePolicy.Policy)

setStatusBar
def setStatusBar(
    self,
    statusbar: PySide2.QtWidgets.QStatusBar
)

setStatusBar(self, statusbar: PySide2.QtWidgets.QStatusBar)

setStatusTip
def setStatusTip(
    self,
    arg__1: str
)

setStatusTip(self, arg__1: str)

setStyle
def setStyle(
    self,
    arg__1: PySide2.QtWidgets.QStyle
)

setStyle(self, arg__1: PySide2.QtWidgets.QStyle)

setStyleSheet
def setStyleSheet(
    self,
    styleSheet: str
)

setStyleSheet(self, styleSheet: str)

setTabPosition
def setTabPosition(
    self,
    areas: PySide2.QtCore.Qt.DockWidgetAreas,
    tabPosition: PySide2.QtWidgets.QTabWidget.TabPosition
)

setTabPosition(self, areas: PySide2.QtCore.Qt.DockWidgetAreas, tabPosition: PySide2.QtWidgets.QTabWidget.TabPosition)

setTabShape
def setTabShape(
    self,
    tabShape: PySide2.QtWidgets.QTabWidget.TabShape
)

setTabShape(self, tabShape: PySide2.QtWidgets.QTabWidget.TabShape)

setTabletTracking
def setTabletTracking(
    self,
    enable: bool
)

setTabletTracking(self, enable: bool)

setToolButtonStyle
def setToolButtonStyle(
    self,
    toolButtonStyle: PySide2.QtCore.Qt.ToolButtonStyle
)

setToolButtonStyle(self, toolButtonStyle: PySide2.QtCore.Qt.ToolButtonStyle)

setToolTip
def setToolTip(
    self,
    arg__1: str
)

setToolTip(self, arg__1: str)

setToolTipDuration
def setToolTipDuration(
    self,
    msec: int
)

setToolTipDuration(self, msec: int)

setUnifiedTitleAndToolBarOnMac
def setUnifiedTitleAndToolBarOnMac(
    self,
    set: bool
)

setUnifiedTitleAndToolBarOnMac(self, set: bool)

setUpdatesEnabled
def setUpdatesEnabled(
    self,
    enable: bool
)

setUpdatesEnabled(self, enable: bool)

setVisible
def setVisible(
    self,
    visible: bool
)

setVisible(self, visible: bool)

setWhatsThis
def setWhatsThis(
    self,
    arg__1: str
)

setWhatsThis(self, arg__1: str)

setWindowFilePath
def setWindowFilePath(
    self,
    filePath: str
)

setWindowFilePath(self, filePath: str)

setWindowFlag
def setWindowFlag(
    self,
    arg__1: PySide2.QtCore.Qt.WindowType,
    on: bool = True
)

setWindowFlag(self, arg__1: PySide2.QtCore.Qt.WindowType, on: bool = True)

setWindowFlags
def setWindowFlags(
    self,
    type: PySide2.QtCore.Qt.WindowFlags
)

setWindowFlags(self, type: PySide2.QtCore.Qt.WindowFlags)

setWindowIcon
def setWindowIcon(
    self,
    icon: PySide2.QtGui.QIcon
)

setWindowIcon(self, icon: PySide2.QtGui.QIcon)

setWindowIconText
def setWindowIconText(
    self,
    arg__1: str
)

setWindowIconText(self, arg__1: str)

setWindowModality
def setWindowModality(
    self,
    windowModality: PySide2.QtCore.Qt.WindowModality
)

setWindowModality(self, windowModality: PySide2.QtCore.Qt.WindowModality)

setWindowModified
def setWindowModified(
    self,
    arg__1: bool
)

setWindowModified(self, arg__1: bool)

setWindowOpacity
def setWindowOpacity(
    self,
    level: float
)

setWindowOpacity(self, level: float)

setWindowRole
def setWindowRole(
    self,
    arg__1: str
)

setWindowRole(self, arg__1: str)

setWindowState
def setWindowState(
    self,
    state: PySide2.QtCore.Qt.WindowStates
)

setWindowState(self, state: PySide2.QtCore.Qt.WindowStates)

setWindowTitle
def setWindowTitle(
    self,
    arg__1: str
)

setWindowTitle(self, arg__1: str)

sharedPainter
def sharedPainter(
    self
) -> PySide2.QtGui.QPainter

sharedPainter(self) -> PySide2.QtGui.QPainter

show
def show(
    self
)

show(self)

showEvent
def showEvent(
    self,
    event: PySide2.QtGui.QShowEvent
)

showEvent(self, event: PySide2.QtGui.QShowEvent)

showFullScreen
def showFullScreen(
    self
)

showFullScreen(self)

showMaximized
def showMaximized(
    self
)

showMaximized(self)

showMinimized
def showMinimized(
    self
)

showMinimized(self)

showNormal
def showNormal(
    self
)

showNormal(self)

signalsBlocked
def signalsBlocked(
    self
) -> bool

signalsBlocked(self) -> bool

size
def size(
    self
) -> PySide2.QtCore.QSize

size(self) -> PySide2.QtCore.QSize

sizeHint
def sizeHint(
    self
) -> PySide2.QtCore.QSize

sizeHint(self) -> PySide2.QtCore.QSize

sizeIncrement
def sizeIncrement(
    self
) -> PySide2.QtCore.QSize

sizeIncrement(self) -> PySide2.QtCore.QSize

sizePolicy
def sizePolicy(
    self
) -> PySide2.QtWidgets.QSizePolicy

sizePolicy(self) -> PySide2.QtWidgets.QSizePolicy

splitDockWidget
def splitDockWidget(
    self,
    after: PySide2.QtWidgets.QDockWidget,
    dockwidget: PySide2.QtWidgets.QDockWidget,
    orientation: PySide2.QtCore.Qt.Orientation
)

splitDockWidget(self, after: PySide2.QtWidgets.QDockWidget, dockwidget: PySide2.QtWidgets.QDockWidget, orientation: PySide2.QtCore.Qt.Orientation)

stackUnder
def stackUnder(
    self,
    arg__1: PySide2.QtWidgets.QWidget
)

stackUnder(self, arg__1: PySide2.QtWidgets.QWidget)

startTimer
def startTimer(
    self,
    interval: int,
    timerType: PySide2.QtCore.Qt.TimerType = PySide2.QtCore.Qt.TimerType.CoarseTimer
) -> int

startTimer(self, interval: int, timerType: PySide2.QtCore.Qt.TimerType = PySide2.QtCore.Qt.TimerType.CoarseTimer) -> int

statusBar
def statusBar(
    self
) -> PySide2.QtWidgets.QStatusBar

statusBar(self) -> PySide2.QtWidgets.QStatusBar

statusTip
def statusTip(
    self
) -> str

statusTip(self) -> str

style
def style(
    self
) -> PySide2.QtWidgets.QStyle

style(self) -> PySide2.QtWidgets.QStyle

styleSheet
def styleSheet(
    self
) -> str

styleSheet(self) -> str

systray_clicked
def systray_clicked(
    self,
    _status=None
) -> None
View Source
    def systray_clicked(self, _status=None) -> None:

        self.hide()

        if self.window_shown:

            self.window_shown = False

            return

        self.show()

        self.activateWindow()

        getattr(self, "raise")()  # noqa: B009 - Can't call as self.raise() due to syntax error.

        self.window_shown = True
tabPosition
def tabPosition(
    self,
    area: PySide2.QtCore.Qt.DockWidgetArea
) -> PySide2.QtWidgets.QTabWidget.TabPosition

tabPosition(self, area: PySide2.QtCore.Qt.DockWidgetArea) -> PySide2.QtWidgets.QTabWidget.TabPosition

tabShape
def tabShape(
    self
) -> PySide2.QtWidgets.QTabWidget.TabShape

tabShape(self) -> PySide2.QtWidgets.QTabWidget.TabShape

tabifiedDockWidgets
def tabifiedDockWidgets(
    self,
    dockwidget: PySide2.QtWidgets.QDockWidget
) -> typing.List[PySide2.QtWidgets.QDockWidget]

tabifiedDockWidgets(self, dockwidget: PySide2.QtWidgets.QDockWidget) -> typing.List[PySide2.QtWidgets.QDockWidget]

tabifyDockWidget
def tabifyDockWidget(
    self,
    first: PySide2.QtWidgets.QDockWidget,
    second: PySide2.QtWidgets.QDockWidget
)

tabifyDockWidget(self, first: PySide2.QtWidgets.QDockWidget, second: PySide2.QtWidgets.QDockWidget)

tabletEvent
def tabletEvent(
    self,
    event: PySide2.QtGui.QTabletEvent
)

tabletEvent(self, event: PySide2.QtGui.QTabletEvent)

takeCentralWidget
def takeCentralWidget(
    self
) -> PySide2.QtWidgets.QWidget

takeCentralWidget(self) -> PySide2.QtWidgets.QWidget

testAttribute
def testAttribute(
    self,
    arg__1: PySide2.QtCore.Qt.WidgetAttribute
) -> bool

testAttribute(self, arg__1: PySide2.QtCore.Qt.WidgetAttribute) -> bool

thread
def thread(
    self
) -> PySide2.QtCore.QThread

thread(self) -> PySide2.QtCore.QThread

timerEvent
def timerEvent(
    self,
    event: PySide2.QtCore.QTimerEvent
)

timerEvent(self, event: PySide2.QtCore.QTimerEvent)

toolBarArea
def toolBarArea(
    self,
    toolbar: PySide2.QtWidgets.QToolBar
) -> PySide2.QtCore.Qt.ToolBarArea

toolBarArea(self, toolbar: PySide2.QtWidgets.QToolBar) -> PySide2.QtCore.Qt.ToolBarArea

toolBarBreak
def toolBarBreak(
    self,
    toolbar: PySide2.QtWidgets.QToolBar
) -> bool

toolBarBreak(self, toolbar: PySide2.QtWidgets.QToolBar) -> bool

toolButtonStyle
def toolButtonStyle(
    self
) -> PySide2.QtCore.Qt.ToolButtonStyle

toolButtonStyle(self) -> PySide2.QtCore.Qt.ToolButtonStyle

toolTip
def toolTip(
    self
) -> str

toolTip(self) -> str

toolTipDuration
def toolTipDuration(
    self
) -> int

toolTipDuration(self) -> int

topLevelWidget
def topLevelWidget(
    self
) -> PySide2.QtWidgets.QWidget

topLevelWidget(self) -> PySide2.QtWidgets.QWidget

tr
def tr(
    self,
    arg__1: str,
    arg__2: str = '',
    arg__3: int = -1
) -> str

tr(self, arg__1: str, arg__2: str = '', arg__3: int = -1) -> str

underMouse
def underMouse(
    self
) -> bool

underMouse(self) -> bool

ungrabGesture
def ungrabGesture(
    self,
    type: PySide2.QtCore.Qt.GestureType
)

ungrabGesture(self, type: PySide2.QtCore.Qt.GestureType)

unifiedTitleAndToolBarOnMac
def unifiedTitleAndToolBarOnMac(
    self
) -> bool

unifiedTitleAndToolBarOnMac(self) -> bool

unsetCursor
def unsetCursor(
    self
)

unsetCursor(self)

unsetLayoutDirection
def unsetLayoutDirection(
    self
)

unsetLayoutDirection(self)

unsetLocale
def unsetLocale(
    self
)

unsetLocale(self)

update
def update(
    ...
)

update(self) update(self, arg__1: PySide2.QtCore.QRect) update(self, arg__1: PySide2.QtGui.QRegion) update(self, x: int, y: int, w: int, h: int)

updateGeometry
def updateGeometry(
    self
)

updateGeometry(self)

updateMicroFocus
def updateMicroFocus(
    self
)

updateMicroFocus(self)

updatesEnabled
def updatesEnabled(
    self
) -> bool

updatesEnabled(self) -> bool

visibleRegion
def visibleRegion(
    self
) -> PySide2.QtGui.QRegion

visibleRegion(self) -> PySide2.QtGui.QRegion

whatsThis
def whatsThis(
    self
) -> str

whatsThis(self) -> str

wheelEvent
def wheelEvent(
    self,
    event: PySide2.QtGui.QWheelEvent
)

wheelEvent(self, event: PySide2.QtGui.QWheelEvent)

width
def width(
    self
) -> int

width(self) -> int

widthMM
def widthMM(
    self
) -> int

widthMM(self) -> int

winId
def winId(
    self
) -> int

winId(self) -> int

window
def window(
    self
) -> PySide2.QtWidgets.QWidget

window(self) -> PySide2.QtWidgets.QWidget

windowFilePath
def windowFilePath(
    self
) -> str

windowFilePath(self) -> str

windowFlags
def windowFlags(
    self
) -> PySide2.QtCore.Qt.WindowFlags

windowFlags(self) -> PySide2.QtCore.Qt.WindowFlags

windowHandle
def windowHandle(
    self
) -> PySide2.QtGui.QWindow

windowHandle(self) -> PySide2.QtGui.QWindow

windowIcon
def windowIcon(
    self
) -> PySide2.QtGui.QIcon

windowIcon(self) -> PySide2.QtGui.QIcon

windowIconText
def windowIconText(
    self
) -> str

windowIconText(self) -> str

windowModality
def windowModality(
    self
) -> PySide2.QtCore.Qt.WindowModality

windowModality(self) -> PySide2.QtCore.Qt.WindowModality

windowOpacity
def windowOpacity(
    self
) -> float

windowOpacity(self) -> float

windowRole
def windowRole(
    self
) -> str

windowRole(self) -> str

windowState
def windowState(
    self
) -> PySide2.QtCore.Qt.WindowStates

windowState(self) -> PySide2.QtCore.Qt.WindowStates

windowTitle
def windowTitle(
    self
) -> str

windowTitle(self) -> str

windowType
def windowType(
    self
) -> PySide2.QtCore.Qt.WindowType

windowType(self) -> PySide2.QtCore.Qt.WindowType

x
def x(
    self
) -> int

x(self) -> int

y
def y(
    self
) -> int

y(self) -> int