Skip to content

Module streamdeck_ui.gui

Defines the QT powered interface for configuring Stream Decks

None

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

import os

import sys

import time

from functools import partial

from PySide2 import QtWidgets

from PySide2.QtCore import QMimeData, QSize, Qt, QTimer

from PySide2.QtGui import QDrag, QIcon

from PySide2.QtWidgets import (

    QAction,

    QApplication,

    QFileDialog,

    QMainWindow,

    QMenu,

    QMessageBox,

    QSizePolicy,

    QSystemTrayIcon,

)

from streamdeck_ui import api

from streamdeck_ui.config import LOGO

from streamdeck_ui.ui_main import Ui_MainWindow

BUTTON_STYLE = """

    QToolButton{background-color:black; color:white;}

    QToolButton:checked{background-color:darkGray; color:black;}

    QToolButton:focus{border:none; }

"""

BUTTON_DRAG_STYLE = """

    QToolButton{background-color:white; color:black;}

    QToolButton:checked{background-color:darkGray; color:black;}

    QToolButton:focus{border:none; }

"""

selected_button: QtWidgets.QToolButton

text_timer = None

class DraggableButton(QtWidgets.QToolButton):

    """A QToolButton that supports drag and drop and swaps the button properties on drop """

    def __init__(self, parent, ui):

        super(DraggableButton, self).__init__(parent)

        self.setAcceptDrops(True)

        self.ui = ui

    def mouseMoveEvent(self, e):  # noqa: N802 - Part of QT signature.

        if e.buttons() != Qt.LeftButton:

            return

        mimedata = QMimeData()

        drag = QDrag(self)

        drag.setMimeData(mimedata)

        drag.exec_(Qt.MoveAction)

    def dropEvent(self, e):  # noqa: N802 - Part of QT signature.

        global selected_button

        self.setStyleSheet(BUTTON_STYLE)

        # Ignore drag and drop on yourself

        if e.source().index == self.index:

            return

        api.swap_buttons(_deck_id(self.ui), _page(self.ui), e.source().index, self.index)

        # In the case that we've dragged the currently selected button, we have to

        # check the target button instead so it appears that it followed the drag/drop

        if e.source().isChecked():

            e.source().setChecked(False)

            self.setChecked(True)

            selected_button = self

        redraw_buttons(self.ui)

    def dragEnterEvent(self, e):  # noqa: N802 - Part of QT signature.

        if type(self) is DraggableButton:

            e.setAccepted(True)

            self.setStyleSheet(BUTTON_DRAG_STYLE)

        else:

            e.setAccepted(False)

    def dragLeaveEvent(self, e):  # noqa: N802 - Part of QT signature.

        self.setStyleSheet(BUTTON_STYLE)

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:

    deck_id = _deck_id(window.ui)

    image = api.get_button_icon(deck_id, _page(window.ui), selected_button.index)

    if not image:

        image = os.path.expanduser("~")

    file_name = QFileDialog.getOpenFileName(

        window, "Open Image", image, "Image Files (*.png *.jpg *.bmp)"

    )[0]

    if file_name:

        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 remove_image(window) -> None:

    deck_id = _deck_id(window.ui)

    image = api.get_button_icon(deck_id, _page(window.ui), selected_button.index)

    if image:

        confirm = QMessageBox(window)

        confirm.setWindowTitle("Remove image")

        confirm.setText("Are you sure you want to remove the image for this button?")

        confirm.setStandardButtons(QMessageBox.Yes | QMessageBox.No)

        confirm.setIcon(QMessageBox.Question)

        button = confirm.exec_()

        if button == QMessageBox.Yes:

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

            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 = DraggableButton(base_widget, ui)

            button.setCheckable(True)

            button.index = index

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

            button.setToolButtonStyle(Qt.ToolButtonTextUnderIcon)

            button.setIconSize(QSize(100, 100))

            button.setStyleSheet(BUTTON_STYLE)

            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)

        )

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)

    # Set the active page for this device

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

    # Draw the buttons for the active page

    redraw_buttons(ui)

    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:

    show_ui = True

    if "-h" in sys.argv or "--help" in sys.argv:

        print(f"Usage: {os.path.basename(sys.argv[0])}")

        print("Flags:")

        print("  -h, --help\tShow this message")

        print("  -n, --no-ui\tRun the program without showing a UI")

        return

    elif "-n" in sys.argv or "--no-ui" in sys.argv:

        show_ui = False

    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))

    ui.removeButton.clicked.connect(partial(remove_image, main_window))

    items = api.open_decks().items()

    if len(items) == 0:

        print("Waiting for Stream Deck(s)...")

        while len(items) == 0:

            time.sleep(3)

            items = api.open_decks().items()

    for deck_id, deck in 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))

    ui.actionExit.triggered.connect(app.exit)

    timer = QTimer()

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

    timer.start(1000)

    api.render()

    tray.show()

    if show_ui:

        main_window.show()

    if _exit:

        return

    else:

        app.exec_()

        api.close_decks()

        sys.exit()

if __name__ == "__main__":

    start()

Variables

BUTTON_DRAG_STYLE
BUTTON_STYLE
LOGO
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 = DraggableButton(base_widget, ui)

            button.setCheckable(True)

            button.index = index

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

            button.setToolButtonStyle(Qt.ToolButtonTextUnderIcon)

            button.setIconSize(QSize(100, 100))

            button.setStyleSheet(BUTTON_STYLE)

            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)

        )

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)

    # Set the active page for this device

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

    # Draw the buttons for the active page

    redraw_buttons(ui)

    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)))

remove_image

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

    deck_id = _deck_id(window.ui)

    image = api.get_button_icon(deck_id, _page(window.ui), selected_button.index)

    if image:

        confirm = QMessageBox(window)

        confirm.setWindowTitle("Remove image")

        confirm.setText("Are you sure you want to remove the image for this button?")

        confirm.setStandardButtons(QMessageBox.Yes | QMessageBox.No)

        confirm.setIcon(QMessageBox.Question)

        button = confirm.exec_()

        if button == QMessageBox.Yes:

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

            redraw_buttons(window.ui)

select_image

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

    deck_id = _deck_id(window.ui)

    image = api.get_button_icon(deck_id, _page(window.ui), selected_button.index)

    if not image:

        image = os.path.expanduser("~")

    file_name = QFileDialog.getOpenFileName(

        window, "Open Image", image, "Image Files (*.png *.jpg *.bmp)"

    )[0]

    if file_name:

        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:

    show_ui = True

    if "-h" in sys.argv or "--help" in sys.argv:

        print(f"Usage: {os.path.basename(sys.argv[0])}")

        print("Flags:")

        print("  -h, --help\tShow this message")

        print("  -n, --no-ui\tRun the program without showing a UI")

        return

    elif "-n" in sys.argv or "--no-ui" in sys.argv:

        show_ui = False

    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))

    ui.removeButton.clicked.connect(partial(remove_image, main_window))

    items = api.open_decks().items()

    if len(items) == 0:

        print("Waiting for Stream Deck(s)...")

        while len(items) == 0:

            time.sleep(3)

            items = api.open_decks().items()

    for deck_id, deck in 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))

    ui.actionExit.triggered.connect(app.exit)

    timer = QTimer()

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

    timer.start(1000)

    api.render()

    tray.show()

    if show_ui:

        main_window.show()

    if _exit:

        return

    else:

        app.exec_()

        api.close_decks()

        sys.exit()

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

DraggableButton

class DraggableButton(
    parent,
    ui
)
View Source
class DraggableButton(QtWidgets.QToolButton):

    """A QToolButton that supports drag and drop and swaps the button properties on drop """

    def __init__(self, parent, ui):

        super(DraggableButton, self).__init__(parent)

        self.setAcceptDrops(True)

        self.ui = ui

    def mouseMoveEvent(self, e):  # noqa: N802 - Part of QT signature.

        if e.buttons() != Qt.LeftButton:

            return

        mimedata = QMimeData()

        drag = QDrag(self)

        drag.setMimeData(mimedata)

        drag.exec_(Qt.MoveAction)

    def dropEvent(self, e):  # noqa: N802 - Part of QT signature.

        global selected_button

        self.setStyleSheet(BUTTON_STYLE)

        # Ignore drag and drop on yourself

        if e.source().index == self.index:

            return

        api.swap_buttons(_deck_id(self.ui), _page(self.ui), e.source().index, self.index)

        # In the case that we've dragged the currently selected button, we have to

        # check the target button instead so it appears that it followed the drag/drop

        if e.source().isChecked():

            e.source().setChecked(False)

            self.setChecked(True)

            selected_button = self

        redraw_buttons(self.ui)

    def dragEnterEvent(self, e):  # noqa: N802 - Part of QT signature.

        if type(self) is DraggableButton:

            e.setAccepted(True)

            self.setStyleSheet(BUTTON_DRAG_STYLE)

        else:

            e.setAccepted(False)

    def dragLeaveEvent(self, e):  # noqa: N802 - Part of QT signature.

        self.setStyleSheet(BUTTON_STYLE)

Ancestors (in MRO)

  • PySide2.QtWidgets.QToolButton
  • PySide2.QtWidgets.QAbstractButton
  • PySide2.QtWidgets.QWidget
  • PySide2.QtCore.QObject
  • PySide2.QtGui.QPaintDevice
  • Shiboken.Object

Class variables

DelayedPopup
DrawChildren
DrawWindowBackground
IgnoreMask
InstantPopup
MenuButtonPopup
PaintDeviceMetric
PdmDepth
PdmDevicePixelRatio
PdmDevicePixelRatioScaled
PdmDpiX
PdmDpiY
PdmHeight
PdmHeightMM
PdmNumColors
PdmPhysicalDpiX
PdmPhysicalDpiY
PdmWidth
PdmWidthMM
RenderFlag
RenderFlags
ToolButtonPopupMode
painters
staticMetaObject

Static methods

connect

def connect(
    ...
)

connect(arg__1: PySide2.QtCore.QObject, arg__2: bytes, arg__3: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool

connect(self, arg__1: bytes, arg__2: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(self, arg__1: bytes, arg__2: PySide2.QtCore.QObject, arg__3: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(self, sender: PySide2.QtCore.QObject, signal: bytes, member: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection 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: bytes, receiver: PySide2.QtCore.QObject, member: bytes, 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: bytes, arg__3: typing.Callable) -> bool disconnect(self, arg__1: bytes, arg__2: typing.Callable) -> bool disconnect(self, receiver: PySide2.QtCore.QObject, member: typing.Union[bytes, NoneType] = None) -> bool disconnect(self, signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes) -> 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: bytes, receiver: PySide2.QtCore.QObject, member: bytes) -> 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
) -> None

setTabOrder(arg__1: PySide2.QtWidgets.QWidget, arg__2: PySide2.QtWidgets.QWidget) -> None

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,
    arg__1: PySide2.QtGui.QActionEvent
) -> None

actionEvent(self, arg__1: PySide2.QtGui.QActionEvent) -> None

actions

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

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

activateWindow

def activateWindow(
    self
) -> None

activateWindow(self) -> None

addAction

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

addAction(self, action: PySide2.QtWidgets.QAction) -> None

addActions

def addActions(
    self,
    actions: typing.Sequence[PySide2.QtWidgets.QAction]
) -> None

addActions(self, actions: typing.Sequence[PySide2.QtWidgets.QAction]) -> None

adjustSize

def adjustSize(
    self
) -> None

adjustSize(self) -> None

animateClick

def animateClick(
    self,
    msec: int = 100
) -> None

animateClick(self, msec: int = 100) -> None

arrowType

def arrowType(
    self
) -> PySide2.QtCore.Qt.ArrowType

arrowType(self) -> PySide2.QtCore.Qt.ArrowType

autoExclusive

def autoExclusive(
    self
) -> bool

autoExclusive(self) -> bool

autoFillBackground

def autoFillBackground(
    self
) -> bool

autoFillBackground(self) -> bool

autoRaise

def autoRaise(
    self
) -> bool

autoRaise(self) -> bool

autoRepeat

def autoRepeat(
    self
) -> bool

autoRepeat(self) -> bool

autoRepeatDelay

def autoRepeatDelay(
    self
) -> int

autoRepeatDelay(self) -> int

autoRepeatInterval

def autoRepeatInterval(
    self
) -> int

autoRepeatInterval(self) -> int

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

changeEvent

def changeEvent(
    self,
    arg__1: PySide2.QtCore.QEvent
) -> None

changeEvent(self, arg__1: PySide2.QtCore.QEvent) -> None

checkStateSet

def checkStateSet(
    self
) -> None

checkStateSet(self) -> None

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
) -> None

childEvent(self, event: PySide2.QtCore.QChildEvent) -> None

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
) -> None

clearFocus(self) -> None

clearMask

def clearMask(
    self
) -> None

clearMask(self) -> None

click

def click(
    self
) -> None

click(self) -> None

clicked

def clicked(
    ...
)

close

def close(
    self
) -> bool

close(self) -> bool

closeEvent

def closeEvent(
    self,
    event: PySide2.QtGui.QCloseEvent
) -> None

closeEvent(self, event: PySide2.QtGui.QCloseEvent) -> None

colorCount

def colorCount(
    self
) -> int

colorCount(self) -> int

connectNotify

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

connectNotify(self, signal: PySide2.QtCore.QMetaMethod) -> None

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
) -> None

contextMenuEvent(self, event: PySide2.QtGui.QContextMenuEvent) -> None

contextMenuPolicy

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

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

create

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

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

createWinId

def createWinId(
    self
) -> None

createWinId(self) -> None

cursor

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

cursor(self) -> PySide2.QtGui.QCursor

customContextMenuRequested

def customContextMenuRequested(
    ...
)

customEvent

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

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

defaultAction

def defaultAction(
    self
) -> PySide2.QtWidgets.QAction

defaultAction(self) -> PySide2.QtWidgets.QAction

deleteLater

def deleteLater(
    self
) -> None

deleteLater(self) -> None

depth

def depth(
    self
) -> int

depth(self) -> int

destroy

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

destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True) -> None

destroyed

def destroyed(
    ...
)

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
) -> None

disconnectNotify(self, signal: PySide2.QtCore.QMetaMethod) -> None

dragEnterEvent

def dragEnterEvent(
    self,
    e
)

dragEnterEvent(self, event: PySide2.QtGui.QDragEnterEvent) -> None

View Source
    def dragEnterEvent(self, e):  # noqa: N802 - Part of QT signature.

        if type(self) is DraggableButton:

            e.setAccepted(True)

            self.setStyleSheet(BUTTON_DRAG_STYLE)

        else:

            e.setAccepted(False)

dragLeaveEvent

def dragLeaveEvent(
    self,
    e
)

dragLeaveEvent(self, event: PySide2.QtGui.QDragLeaveEvent) -> None

View Source
    def dragLeaveEvent(self, e):  # noqa: N802 - Part of QT signature.

        self.setStyleSheet(BUTTON_STYLE)

dragMoveEvent

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

dragMoveEvent(self, event: PySide2.QtGui.QDragMoveEvent) -> None

dropEvent

def dropEvent(
    self,
    e
)

dropEvent(self, event: PySide2.QtGui.QDropEvent) -> None

View Source
    def dropEvent(self, e):  # noqa: N802 - Part of QT signature.

        global selected_button

        self.setStyleSheet(BUTTON_STYLE)

        # Ignore drag and drop on yourself

        if e.source().index == self.index:

            return

        api.swap_buttons(_deck_id(self.ui), _page(self.ui), e.source().index, self.index)

        # In the case that we've dragged the currently selected button, we have to

        # check the target button instead so it appears that it followed the drag/drop

        if e.source().isChecked():

            e.source().setChecked(False)

            self.setChecked(True)

            selected_button = self

        redraw_buttons(self.ui)

dumpObjectInfo

def dumpObjectInfo(
    self
) -> None

dumpObjectInfo(self) -> None

dumpObjectTree

def dumpObjectTree(
    self
) -> None

dumpObjectTree(self) -> None

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: bytes,
    *args: None
) -> bool

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

ensurePolished

def ensurePolished(
    self
) -> None

ensurePolished(self) -> None

enterEvent

def enterEvent(
    self,
    arg__1: PySide2.QtCore.QEvent
) -> None

enterEvent(self, arg__1: PySide2.QtCore.QEvent) -> None

event

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

event(self, e: 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: PySide2.QtCore.QRegularExpression) -> typing.Iterable findChildren(self, arg__1: type, arg__2: str = '') -> typing.Iterable

focusInEvent

def focusInEvent(
    self,
    e: PySide2.QtGui.QFocusEvent
) -> None

focusInEvent(self, e: PySide2.QtGui.QFocusEvent) -> None

focusNextChild

def focusNextChild(
    self
) -> bool

focusNextChild(self) -> bool

focusNextPrevChild

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

focusNextPrevChild(self, next: bool) -> bool

focusOutEvent

def focusOutEvent(
    self,
    e: PySide2.QtGui.QFocusEvent
) -> None

focusOutEvent(self, e: PySide2.QtGui.QFocusEvent) -> None

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
) -> typing.Tuple[int, int, int, int]

getContentsMargins(self) -> typing.Tuple[int, int, int, 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)
) -> None

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

grabKeyboard

def grabKeyboard(
    self
) -> None

grabKeyboard(self) -> None

grabMouse

def grabMouse(
    ...
)

grabMouse(self) -> None

grabMouse(self, arg__1: PySide2.QtGui.QCursor) -> None

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

group

def group(
    self
) -> PySide2.QtWidgets.QButtonGroup

group(self) -> PySide2.QtWidgets.QButtonGroup

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
) -> None

hide(self) -> None

hideEvent

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

hideEvent(self, event: PySide2.QtGui.QHideEvent) -> None

hitButton

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

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

icon

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

icon(self) -> PySide2.QtGui.QIcon

iconSize

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

iconSize(self) -> PySide2.QtCore.QSize

inherits

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

inherits(self, classname: bytes) -> bool

initPainter

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

initPainter(self, painter: PySide2.QtGui.QPainter) -> None

initStyleOption

def initStyleOption(
    self,
    option: PySide2.QtWidgets.QStyleOptionToolButton
) -> None

initStyleOption(self, option: PySide2.QtWidgets.QStyleOptionToolButton) -> None

inputMethodEvent

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

inputMethodEvent(self, event: PySide2.QtGui.QInputMethodEvent) -> None

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
) -> None

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

insertActions

def insertActions(
    self,
    before: PySide2.QtWidgets.QAction,
    actions: typing.Sequence[PySide2.QtWidgets.QAction]
) -> None

insertActions(self, before: PySide2.QtWidgets.QAction, actions: typing.Sequence[PySide2.QtWidgets.QAction]) -> None

installEventFilter

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

installEventFilter(self, filterObj: PySide2.QtCore.QObject) -> None

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

isCheckable

def isCheckable(
    self
) -> bool

isCheckable(self) -> bool

isChecked

def isChecked(
    self
) -> bool

isChecked(self) -> bool

isDown

def isDown(
    self
) -> bool

isDown(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

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,
    e: PySide2.QtGui.QKeyEvent
) -> None

keyPressEvent(self, e: PySide2.QtGui.QKeyEvent) -> None

keyReleaseEvent

def keyReleaseEvent(
    self,
    e: PySide2.QtGui.QKeyEvent
) -> None

keyReleaseEvent(self, e: PySide2.QtGui.QKeyEvent) -> None

killTimer

def killTimer(
    self,
    id: int
) -> None

killTimer(self, id: int) -> None

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,
    arg__1: PySide2.QtCore.QEvent
) -> None

leaveEvent(self, arg__1: PySide2.QtCore.QEvent) -> None

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
) -> None

lower(self) -> None

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 menu(
    self
) -> PySide2.QtWidgets.QMenu

menu(self) -> PySide2.QtWidgets.QMenu

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
) -> None

mouseDoubleClickEvent(self, event: PySide2.QtGui.QMouseEvent) -> None

mouseMoveEvent

def mouseMoveEvent(
    self,
    e
)

mouseMoveEvent(self, e: PySide2.QtGui.QMouseEvent) -> None

View Source
    def mouseMoveEvent(self, e):  # noqa: N802 - Part of QT signature.

        if e.buttons() != Qt.LeftButton:

            return

        mimedata = QMimeData()

        drag = QDrag(self)

        drag.setMimeData(mimedata)

        drag.exec_(Qt.MoveAction)

mousePressEvent

def mousePressEvent(
    self,
    arg__1: PySide2.QtGui.QMouseEvent
) -> None

mousePressEvent(self, arg__1: PySide2.QtGui.QMouseEvent) -> None

mouseReleaseEvent

def mouseReleaseEvent(
    self,
    arg__1: PySide2.QtGui.QMouseEvent
) -> None

mouseReleaseEvent(self, arg__1: PySide2.QtGui.QMouseEvent) -> None

move

def move(
    ...
)

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

move(self, x: int, y: int) -> None

moveEvent

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

moveEvent(self, event: PySide2.QtGui.QMoveEvent) -> None

moveToThread

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

moveToThread(self, thread: PySide2.QtCore.QThread) -> None

nativeEvent

def nativeEvent(
    self,
    eventType: PySide2.QtCore.QByteArray,
    message: int
) -> typing.Tuple[bool, int]

nativeEvent(self, eventType: PySide2.QtCore.QByteArray, message: int) -> typing.Tuple[bool, int]

nativeParentWidget

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

nativeParentWidget(self) -> PySide2.QtWidgets.QWidget

nextCheckState

def nextCheckState(
    self
) -> None

nextCheckState(self) -> None

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

objectNameChanged

def objectNameChanged(
    ...
)

overrideWindowFlags

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

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

overrideWindowState

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

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

paintEngine

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

paintEngine(self) -> PySide2.QtGui.QPaintEngine

paintEvent

def paintEvent(
    self,
    arg__1: PySide2.QtGui.QPaintEvent
) -> None

paintEvent(self, arg__1: PySide2.QtGui.QPaintEvent) -> None

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

popupMode

def popupMode(
    self
) -> PySide2.QtWidgets.QToolButton.ToolButtonPopupMode

popupMode(self) -> PySide2.QtWidgets.QToolButton.ToolButtonPopupMode

pos

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

pos(self) -> PySide2.QtCore.QPoint

pressed

def pressed(
    ...
)

previousInFocusChain

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

previousInFocusChain(self) -> PySide2.QtWidgets.QWidget

property

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

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

raise_

def raise_(
    self
) -> None

raise_(self) -> None

receivers

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

receivers(self, signal: bytes) -> 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
) -> None

releaseKeyboard(self) -> None

releaseMouse

def releaseMouse(
    self
) -> None

releaseMouse(self) -> None

releaseShortcut

def releaseShortcut(
    self,
    id: int
) -> None

releaseShortcut(self, id: int) -> None

released

def released(
    ...
)

removeAction

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

removeAction(self, action: PySide2.QtWidgets.QAction) -> None

removeEventFilter

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

removeEventFilter(self, obj: PySide2.QtCore.QObject) -> None

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))) -> None

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))) -> None

repaint

def repaint(
    ...
)

repaint(self) -> None

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

resize

def resize(
    ...
)

resize(self, arg__1: PySide2.QtCore.QSize) -> None

resize(self, w: int, h: int) -> None

resizeEvent

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

resizeEvent(self, event: PySide2.QtGui.QResizeEvent) -> None

restoreGeometry

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

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

saveGeometry

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

saveGeometry(self) -> PySide2.QtCore.QByteArray

screen

def screen(
    self
) -> PySide2.QtGui.QScreen

screen(self) -> PySide2.QtGui.QScreen

scroll

def scroll(
    ...
)

scroll(self, dx: int, dy: int) -> None

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

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
) -> None

setAcceptDrops(self, on: bool) -> None

setAccessibleDescription

def setAccessibleDescription(
    self,
    description: str
) -> None

setAccessibleDescription(self, description: str) -> None

setAccessibleName

def setAccessibleName(
    self,
    name: str
) -> None

setAccessibleName(self, name: str) -> None

setArrowType

def setArrowType(
    self,
    type: PySide2.QtCore.Qt.ArrowType
) -> None

setArrowType(self, type: PySide2.QtCore.Qt.ArrowType) -> None

setAttribute

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

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

setAutoExclusive

def setAutoExclusive(
    self,
    arg__1: bool
) -> None

setAutoExclusive(self, arg__1: bool) -> None

setAutoFillBackground

def setAutoFillBackground(
    self,
    enabled: bool
) -> None

setAutoFillBackground(self, enabled: bool) -> None

setAutoRaise

def setAutoRaise(
    self,
    enable: bool
) -> None

setAutoRaise(self, enable: bool) -> None

setAutoRepeat

def setAutoRepeat(
    self,
    arg__1: bool
) -> None

setAutoRepeat(self, arg__1: bool) -> None

setAutoRepeatDelay

def setAutoRepeatDelay(
    self,
    arg__1: int
) -> None

setAutoRepeatDelay(self, arg__1: int) -> None

setAutoRepeatInterval

def setAutoRepeatInterval(
    self,
    arg__1: int
) -> None

setAutoRepeatInterval(self, arg__1: int) -> None

setBackgroundRole

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

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

setBaseSize

def setBaseSize(
    ...
)

setBaseSize(self, arg__1: PySide2.QtCore.QSize) -> None

setBaseSize(self, basew: int, baseh: int) -> None

setCheckable

def setCheckable(
    self,
    arg__1: bool
) -> None

setCheckable(self, arg__1: bool) -> None

setChecked

def setChecked(
    self,
    arg__1: bool
) -> None

setChecked(self, arg__1: bool) -> None

setContentsMargins

def setContentsMargins(
    ...
)

setContentsMargins(self, left: int, top: int, right: int, bottom: int) -> None

setContentsMargins(self, margins: PySide2.QtCore.QMargins) -> None

setContextMenuPolicy

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

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

setCursor

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

setCursor(self, arg__1: PySide2.QtGui.QCursor) -> None

setDefaultAction

def setDefaultAction(
    self,
    arg__1: PySide2.QtWidgets.QAction
) -> None

setDefaultAction(self, arg__1: PySide2.QtWidgets.QAction) -> None

setDisabled

def setDisabled(
    self,
    arg__1: bool
) -> None

setDisabled(self, arg__1: bool) -> None

setDown

def setDown(
    self,
    arg__1: bool
) -> None

setDown(self, arg__1: bool) -> None

setEnabled

def setEnabled(
    self,
    arg__1: bool
) -> None

setEnabled(self, arg__1: bool) -> None

setFixedHeight

def setFixedHeight(
    self,
    h: int
) -> None

setFixedHeight(self, h: int) -> None

setFixedSize

def setFixedSize(
    ...
)

setFixedSize(self, arg__1: PySide2.QtCore.QSize) -> None

setFixedSize(self, w: int, h: int) -> None

setFixedWidth

def setFixedWidth(
    self,
    w: int
) -> None

setFixedWidth(self, w: int) -> None

setFocus

def setFocus(
    ...
)

setFocus(self) -> None

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

setFocusPolicy

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

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

setFocusProxy

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

setFocusProxy(self, arg__1: PySide2.QtWidgets.QWidget) -> None

setFont

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

setFont(self, arg__1: PySide2.QtGui.QFont) -> None

setForegroundRole

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

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

setGeometry

def setGeometry(
    ...
)

setGeometry(self, arg__1: PySide2.QtCore.QRect) -> None

setGeometry(self, x: int, y: int, w: int, h: int) -> None

setGraphicsEffect

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

setGraphicsEffect(self, effect: PySide2.QtWidgets.QGraphicsEffect) -> None

setHidden

def setHidden(
    self,
    hidden: bool
) -> None

setHidden(self, hidden: bool) -> None

setIcon

def setIcon(
    self,
    icon: PySide2.QtGui.QIcon
) -> None

setIcon(self, icon: PySide2.QtGui.QIcon) -> None

setIconSize

def setIconSize(
    self,
    size: PySide2.QtCore.QSize
) -> None

setIconSize(self, size: PySide2.QtCore.QSize) -> None

setInputMethodHints

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

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

setLayout

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

setLayout(self, arg__1: PySide2.QtWidgets.QLayout) -> None

setLayoutDirection

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

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

setLocale

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

setLocale(self, locale: PySide2.QtCore.QLocale) -> None

setMask

def setMask(
    ...
)

setMask(self, arg__1: PySide2.QtGui.QBitmap) -> None

setMask(self, arg__1: PySide2.QtGui.QRegion) -> None

setMaximumHeight

def setMaximumHeight(
    self,
    maxh: int
) -> None

setMaximumHeight(self, maxh: int) -> None

setMaximumSize

def setMaximumSize(
    ...
)

setMaximumSize(self, arg__1: PySide2.QtCore.QSize) -> None

setMaximumSize(self, maxw: int, maxh: int) -> None

setMaximumWidth

def setMaximumWidth(
    self,
    maxw: int
) -> None

setMaximumWidth(self, maxw: int) -> None

setMenu

def setMenu(
    self,
    menu: PySide2.QtWidgets.QMenu
) -> None

setMenu(self, menu: PySide2.QtWidgets.QMenu) -> None

setMinimumHeight

def setMinimumHeight(
    self,
    minh: int
) -> None

setMinimumHeight(self, minh: int) -> None

setMinimumSize

def setMinimumSize(
    ...
)

setMinimumSize(self, arg__1: PySide2.QtCore.QSize) -> None

setMinimumSize(self, minw: int, minh: int) -> None

setMinimumWidth

def setMinimumWidth(
    self,
    minw: int
) -> None

setMinimumWidth(self, minw: int) -> None

setMouseTracking

def setMouseTracking(
    self,
    enable: bool
) -> None

setMouseTracking(self, enable: bool) -> None

setObjectName

def setObjectName(
    self,
    name: str
) -> None

setObjectName(self, name: str) -> None

setPalette

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

setPalette(self, arg__1: PySide2.QtGui.QPalette) -> None

setParent

def setParent(
    ...
)

setParent(self, parent: PySide2.QtCore.QObject) -> None

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

setPopupMode

def setPopupMode(
    self,
    mode: PySide2.QtWidgets.QToolButton.ToolButtonPopupMode
) -> None

setPopupMode(self, mode: PySide2.QtWidgets.QToolButton.ToolButtonPopupMode) -> None

setProperty

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

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

setShortcut

def setShortcut(
    self,
    key: PySide2.QtGui.QKeySequence
) -> None

setShortcut(self, key: PySide2.QtGui.QKeySequence) -> None

setShortcutAutoRepeat

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

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

setShortcutEnabled

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

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

setSizeIncrement

def setSizeIncrement(
    ...
)

setSizeIncrement(self, arg__1: PySide2.QtCore.QSize) -> None

setSizeIncrement(self, w: int, h: int) -> None

setSizePolicy

def setSizePolicy(
    ...
)

setSizePolicy(self, arg__1: PySide2.QtWidgets.QSizePolicy) -> None

setSizePolicy(self, horizontal: PySide2.QtWidgets.QSizePolicy.Policy, vertical: PySide2.QtWidgets.QSizePolicy.Policy) -> None

setStatusTip

def setStatusTip(
    self,
    arg__1: str
) -> None

setStatusTip(self, arg__1: str) -> None

setStyle

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

setStyle(self, arg__1: PySide2.QtWidgets.QStyle) -> None

setStyleSheet

def setStyleSheet(
    self,
    styleSheet: str
) -> None

setStyleSheet(self, styleSheet: str) -> None

setTabletTracking

def setTabletTracking(
    self,
    enable: bool
) -> None

setTabletTracking(self, enable: bool) -> None

setText

def setText(
    self,
    text: str
) -> None

setText(self, text: str) -> None

setToolButtonStyle

def setToolButtonStyle(
    self,
    style: PySide2.QtCore.Qt.ToolButtonStyle
) -> None

setToolButtonStyle(self, style: PySide2.QtCore.Qt.ToolButtonStyle) -> None

setToolTip

def setToolTip(
    self,
    arg__1: str
) -> None

setToolTip(self, arg__1: str) -> None

setToolTipDuration

def setToolTipDuration(
    self,
    msec: int
) -> None

setToolTipDuration(self, msec: int) -> None

setUpdatesEnabled

def setUpdatesEnabled(
    self,
    enable: bool
) -> None

setUpdatesEnabled(self, enable: bool) -> None

setVisible

def setVisible(
    self,
    visible: bool
) -> None

setVisible(self, visible: bool) -> None

setWhatsThis

def setWhatsThis(
    self,
    arg__1: str
) -> None

setWhatsThis(self, arg__1: str) -> None

setWindowFilePath

def setWindowFilePath(
    self,
    filePath: str
) -> None

setWindowFilePath(self, filePath: str) -> None

setWindowFlag

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

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

setWindowFlags

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

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

setWindowIcon

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

setWindowIcon(self, icon: PySide2.QtGui.QIcon) -> None

setWindowIconText

def setWindowIconText(
    self,
    arg__1: str
) -> None

setWindowIconText(self, arg__1: str) -> None

setWindowModality

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

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

setWindowModified

def setWindowModified(
    self,
    arg__1: bool
) -> None

setWindowModified(self, arg__1: bool) -> None

setWindowOpacity

def setWindowOpacity(
    self,
    level: float
) -> None

setWindowOpacity(self, level: float) -> None

setWindowRole

def setWindowRole(
    self,
    arg__1: str
) -> None

setWindowRole(self, arg__1: str) -> None

setWindowState

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

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

setWindowTitle

def setWindowTitle(
    self,
    arg__1: str
) -> None

setWindowTitle(self, arg__1: str) -> None

sharedPainter

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

sharedPainter(self) -> PySide2.QtGui.QPainter

shortcut

def shortcut(
    self
) -> PySide2.QtGui.QKeySequence

shortcut(self) -> PySide2.QtGui.QKeySequence

show

def show(
    self
) -> None

show(self) -> None

showEvent

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

showEvent(self, event: PySide2.QtGui.QShowEvent) -> None

showFullScreen

def showFullScreen(
    self
) -> None

showFullScreen(self) -> None

showMaximized

def showMaximized(
    self
) -> None

showMaximized(self) -> None

showMenu

def showMenu(
    self
) -> None

showMenu(self) -> None

showMinimized

def showMinimized(
    self
) -> None

showMinimized(self) -> None

showNormal

def showNormal(
    self
) -> None

showNormal(self) -> None

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

stackUnder

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

stackUnder(self, arg__1: PySide2.QtWidgets.QWidget) -> None

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

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

tabletEvent

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

tabletEvent(self, event: PySide2.QtGui.QTabletEvent) -> None

testAttribute

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

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

text

def text(
    self
) -> str

text(self) -> str

thread

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

thread(self) -> PySide2.QtCore.QThread

timerEvent

def timerEvent(
    self,
    arg__1: PySide2.QtCore.QTimerEvent
) -> None

timerEvent(self, arg__1: PySide2.QtCore.QTimerEvent) -> None

toggle

def toggle(
    self
) -> None

toggle(self) -> None

toggled

def toggled(
    ...
)

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: bytes,
    arg__2: bytes = b'',
    arg__3: int = -1
) -> str

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

triggered

def triggered(
    ...
)

underMouse

def underMouse(
    self
) -> bool

underMouse(self) -> bool

ungrabGesture

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

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

unsetCursor

def unsetCursor(
    self
) -> None

unsetCursor(self) -> None

unsetLayoutDirection

def unsetLayoutDirection(
    self
) -> None

unsetLayoutDirection(self) -> None

unsetLocale

def unsetLocale(
    self
) -> None

unsetLocale(self) -> None

update

def update(
    ...
)

update(self) -> None

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

updateGeometry

def updateGeometry(
    self
) -> None

updateGeometry(self) -> None

updateMicroFocus

def updateMicroFocus(
    self
) -> None

updateMicroFocus(self) -> None

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
) -> None

wheelEvent(self, event: PySide2.QtGui.QWheelEvent) -> None

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

windowIconChanged

def windowIconChanged(
    ...
)

windowIconText

def windowIconText(
    self
) -> str

windowIconText(self) -> str

windowIconTextChanged

def windowIconTextChanged(
    ...
)

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

windowTitleChanged

def windowTitleChanged(
    ...
)

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

MainWindow

class MainWindow(

)
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
painters
staticMetaObject

Static methods

connect

def connect(
    ...
)

connect(arg__1: PySide2.QtCore.QObject, arg__2: bytes, arg__3: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool

connect(self, arg__1: bytes, arg__2: typing.Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(self, arg__1: bytes, arg__2: PySide2.QtCore.QObject, arg__3: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> bool connect(self, sender: PySide2.QtCore.QObject, signal: bytes, member: bytes, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) -> PySide2.QtCore.QMetaObject.Connection 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: bytes, receiver: PySide2.QtCore.QObject, member: bytes, 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: bytes, arg__3: typing.Callable) -> bool disconnect(self, arg__1: bytes, arg__2: typing.Callable) -> bool disconnect(self, receiver: PySide2.QtCore.QObject, member: typing.Union[bytes, NoneType] = None) -> bool disconnect(self, signal: bytes, receiver: PySide2.QtCore.QObject, member: bytes) -> 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: bytes, receiver: PySide2.QtCore.QObject, member: bytes) -> 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
) -> None

setTabOrder(arg__1: PySide2.QtWidgets.QWidget, arg__2: PySide2.QtWidgets.QWidget) -> None

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
) -> None

actionEvent(self, event: PySide2.QtGui.QActionEvent) -> None

actions

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

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

activateWindow

def activateWindow(
    self
) -> None

activateWindow(self) -> None

addAction

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

addAction(self, action: PySide2.QtWidgets.QAction) -> None

addActions

def addActions(
    self,
    actions: typing.Sequence[PySide2.QtWidgets.QAction]
) -> None

addActions(self, actions: typing.Sequence[PySide2.QtWidgets.QAction]) -> None

addDockWidget

def addDockWidget(
    ...
)

addDockWidget(self, area: PySide2.QtCore.Qt.DockWidgetArea, dockwidget: PySide2.QtWidgets.QDockWidget) -> None

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

addToolBar

def addToolBar(
    ...
)

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

addToolBar(self, title: str) -> PySide2.QtWidgets.QToolBar addToolBar(self, toolbar: PySide2.QtWidgets.QToolBar) -> None

addToolBarBreak

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

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

adjustSize

def adjustSize(
    self
) -> None

adjustSize(self) -> None

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
) -> None

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

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
) -> None

childEvent(self, event: PySide2.QtCore.QChildEvent) -> None

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
) -> None

clearFocus(self) -> None

clearMask

def clearMask(
    self
) -> None

clearMask(self) -> None

close

def close(
    self
) -> bool

close(self) -> bool

closeEvent

def closeEvent(
    self,
    event
) -> None

closeEvent(self, event: PySide2.QtGui.QCloseEvent) -> None

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
) -> None

connectNotify(self, signal: PySide2.QtCore.QMetaMethod) -> None

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
) -> None

contextMenuEvent(self, event: PySide2.QtGui.QContextMenuEvent) -> None

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
) -> None

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

createPopupMenu

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

createPopupMenu(self) -> PySide2.QtWidgets.QMenu

createWinId

def createWinId(
    self
) -> None

createWinId(self) -> None

cursor

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

cursor(self) -> PySide2.QtGui.QCursor

customContextMenuRequested

def customContextMenuRequested(
    ...
)

customEvent

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

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

deleteLater

def deleteLater(
    self
) -> None

deleteLater(self) -> None

depth

def depth(
    self
) -> int

depth(self) -> int

destroy

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

destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True) -> None

destroyed

def destroyed(
    ...
)

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
) -> None

disconnectNotify(self, signal: PySide2.QtCore.QMetaMethod) -> None

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
) -> None

dragEnterEvent(self, event: PySide2.QtGui.QDragEnterEvent) -> None

dragLeaveEvent

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

dragLeaveEvent(self, event: PySide2.QtGui.QDragLeaveEvent) -> None

dragMoveEvent

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

dragMoveEvent(self, event: PySide2.QtGui.QDragMoveEvent) -> None

dropEvent

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

dropEvent(self, event: PySide2.QtGui.QDropEvent) -> None

dumpObjectInfo

def dumpObjectInfo(
    self
) -> None

dumpObjectInfo(self) -> None

dumpObjectTree

def dumpObjectTree(
    self
) -> None

dumpObjectTree(self) -> None

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: bytes,
    *args: None
) -> bool

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

ensurePolished

def ensurePolished(
    self
) -> None

ensurePolished(self) -> None

enterEvent

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

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

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: PySide2.QtCore.QRegularExpression) -> typing.Iterable findChildren(self, arg__1: type, arg__2: str = '') -> typing.Iterable

focusInEvent

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

focusInEvent(self, event: PySide2.QtGui.QFocusEvent) -> None

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
) -> None

focusOutEvent(self, event: PySide2.QtGui.QFocusEvent) -> None

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
) -> typing.Tuple[int, int, int, int]

getContentsMargins(self) -> typing.Tuple[int, int, int, 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)
) -> None

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

grabKeyboard

def grabKeyboard(
    self
) -> None

grabKeyboard(self) -> None

grabMouse

def grabMouse(
    ...
)

grabMouse(self) -> None

grabMouse(self, arg__1: PySide2.QtGui.QCursor) -> None

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
) -> None

hide(self) -> None

hideEvent

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

hideEvent(self, event: PySide2.QtGui.QHideEvent) -> None

iconSize

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

iconSize(self) -> PySide2.QtCore.QSize

iconSizeChanged

def iconSizeChanged(
    ...
)

inherits

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

inherits(self, classname: bytes) -> bool

initPainter

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

initPainter(self, painter: PySide2.QtGui.QPainter) -> None

inputMethodEvent

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

inputMethodEvent(self, event: PySide2.QtGui.QInputMethodEvent) -> None

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
) -> None

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

insertActions

def insertActions(
    self,
    before: PySide2.QtWidgets.QAction,
    actions: typing.Sequence[PySide2.QtWidgets.QAction]
) -> None

insertActions(self, before: PySide2.QtWidgets.QAction, actions: typing.Sequence[PySide2.QtWidgets.QAction]) -> None

insertToolBar

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

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

insertToolBarBreak

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

insertToolBarBreak(self, before: PySide2.QtWidgets.QToolBar) -> None

installEventFilter

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

installEventFilter(self, filterObj: PySide2.QtCore.QObject) -> None

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
) -> None

keyPressEvent(self, event: PySide2.QtGui.QKeyEvent) -> None

keyReleaseEvent

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

keyReleaseEvent(self, event: PySide2.QtGui.QKeyEvent) -> None

killTimer

def killTimer(
    self,
    id: int
) -> None

killTimer(self, id: int) -> None

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
) -> None

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

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
) -> None

lower(self) -> None

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
) -> None

mouseDoubleClickEvent(self, event: PySide2.QtGui.QMouseEvent) -> None

mouseMoveEvent

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

mouseMoveEvent(self, event: PySide2.QtGui.QMouseEvent) -> None

mousePressEvent

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

mousePressEvent(self, event: PySide2.QtGui.QMouseEvent) -> None

mouseReleaseEvent

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

mouseReleaseEvent(self, event: PySide2.QtGui.QMouseEvent) -> None

move

def move(
    ...
)

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

move(self, x: int, y: int) -> None

moveEvent

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

moveEvent(self, event: PySide2.QtGui.QMoveEvent) -> None

moveToThread

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

moveToThread(self, thread: PySide2.QtCore.QThread) -> None

nativeEvent

def nativeEvent(
    self,
    eventType: PySide2.QtCore.QByteArray,
    message: int
) -> typing.Tuple[bool, int]

nativeEvent(self, eventType: PySide2.QtCore.QByteArray, message: int) -> typing.Tuple[bool, int]

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

objectNameChanged

def objectNameChanged(
    ...
)

overrideWindowFlags

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

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

overrideWindowState

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

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

paintEngine

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

paintEngine(self) -> PySide2.QtGui.QPaintEngine

paintEvent

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

paintEvent(self, event: PySide2.QtGui.QPaintEvent) -> None

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: bytes
) -> typing.Any

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

raise_

def raise_(
    self
) -> None

raise_(self) -> None

receivers

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

receivers(self, signal: bytes) -> 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
) -> None

releaseKeyboard(self) -> None

releaseMouse

def releaseMouse(
    self
) -> None

releaseMouse(self) -> None

releaseShortcut

def releaseShortcut(
    self,
    id: int
) -> None

releaseShortcut(self, id: int) -> None

removeAction

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

removeAction(self, action: PySide2.QtWidgets.QAction) -> None

removeDockWidget

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

removeDockWidget(self, dockwidget: PySide2.QtWidgets.QDockWidget) -> None

removeEventFilter

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

removeEventFilter(self, obj: PySide2.QtCore.QObject) -> None

removeToolBar

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

removeToolBar(self, toolbar: PySide2.QtWidgets.QToolBar) -> None

removeToolBarBreak

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

removeToolBarBreak(self, before: PySide2.QtWidgets.QToolBar) -> None

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))) -> None

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))) -> None

repaint

def repaint(
    ...
)

repaint(self) -> None

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

resize

def resize(
    ...
)

resize(self, arg__1: PySide2.QtCore.QSize) -> None

resize(self, w: int, h: int) -> None

resizeDocks

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

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

resizeEvent

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

resizeEvent(self, event: PySide2.QtGui.QResizeEvent) -> None

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

screen

def screen(
    self
) -> PySide2.QtGui.QScreen

screen(self) -> PySide2.QtGui.QScreen

scroll

def scroll(
    ...
)

scroll(self, dx: int, dy: int) -> None

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

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
) -> None

setAcceptDrops(self, on: bool) -> None

setAccessibleDescription

def setAccessibleDescription(
    self,
    description: str
) -> None

setAccessibleDescription(self, description: str) -> None

setAccessibleName

def setAccessibleName(
    self,
    name: str
) -> None

setAccessibleName(self, name: str) -> None

setAnimated

def setAnimated(
    self,
    enabled: bool
) -> None

setAnimated(self, enabled: bool) -> None

setAttribute

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

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

setAutoFillBackground

def setAutoFillBackground(
    self,
    enabled: bool
) -> None

setAutoFillBackground(self, enabled: bool) -> None

setBackgroundRole

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

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

setBaseSize

def setBaseSize(
    ...
)

setBaseSize(self, arg__1: PySide2.QtCore.QSize) -> None

setBaseSize(self, basew: int, baseh: int) -> None

setCentralWidget

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

setCentralWidget(self, widget: PySide2.QtWidgets.QWidget) -> None

setContentsMargins

def setContentsMargins(
    ...
)

setContentsMargins(self, left: int, top: int, right: int, bottom: int) -> None

setContentsMargins(self, margins: PySide2.QtCore.QMargins) -> None

setContextMenuPolicy

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

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

setCorner

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

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

setCursor

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

setCursor(self, arg__1: PySide2.QtGui.QCursor) -> None

setDisabled

def setDisabled(
    self,
    arg__1: bool
) -> None

setDisabled(self, arg__1: bool) -> None

setDockNestingEnabled

def setDockNestingEnabled(
    self,
    enabled: bool
) -> None

setDockNestingEnabled(self, enabled: bool) -> None

setDockOptions

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

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

setDocumentMode

def setDocumentMode(
    self,
    enabled: bool
) -> None

setDocumentMode(self, enabled: bool) -> None

setEnabled

def setEnabled(
    self,
    arg__1: bool
) -> None

setEnabled(self, arg__1: bool) -> None

setFixedHeight

def setFixedHeight(
    self,
    h: int
) -> None

setFixedHeight(self, h: int) -> None

setFixedSize

def setFixedSize(
    ...
)

setFixedSize(self, arg__1: PySide2.QtCore.QSize) -> None

setFixedSize(self, w: int, h: int) -> None

setFixedWidth

def setFixedWidth(
    self,
    w: int
) -> None

setFixedWidth(self, w: int) -> None

setFocus

def setFocus(
    ...
)

setFocus(self) -> None

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

setFocusPolicy

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

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

setFocusProxy

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

setFocusProxy(self, arg__1: PySide2.QtWidgets.QWidget) -> None

setFont

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

setFont(self, arg__1: PySide2.QtGui.QFont) -> None

setForegroundRole

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

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

setGeometry

def setGeometry(
    ...
)

setGeometry(self, arg__1: PySide2.QtCore.QRect) -> None

setGeometry(self, x: int, y: int, w: int, h: int) -> None

setGraphicsEffect

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

setGraphicsEffect(self, effect: PySide2.QtWidgets.QGraphicsEffect) -> None

setHidden

def setHidden(
    self,
    hidden: bool
) -> None

setHidden(self, hidden: bool) -> None

setIconSize

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

setIconSize(self, iconSize: PySide2.QtCore.QSize) -> None

setInputMethodHints

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

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

setLayout

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

setLayout(self, arg__1: PySide2.QtWidgets.QLayout) -> None

setLayoutDirection

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

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

setLocale

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

setLocale(self, locale: PySide2.QtCore.QLocale) -> None

setMask

def setMask(
    ...
)

setMask(self, arg__1: PySide2.QtGui.QBitmap) -> None

setMask(self, arg__1: PySide2.QtGui.QRegion) -> None

setMaximumHeight

def setMaximumHeight(
    self,
    maxh: int
) -> None

setMaximumHeight(self, maxh: int) -> None

setMaximumSize

def setMaximumSize(
    ...
)

setMaximumSize(self, arg__1: PySide2.QtCore.QSize) -> None

setMaximumSize(self, maxw: int, maxh: int) -> None

setMaximumWidth

def setMaximumWidth(
    self,
    maxw: int
) -> None

setMaximumWidth(self, maxw: int) -> None

setMenuBar

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

setMenuBar(self, menubar: PySide2.QtWidgets.QMenuBar) -> None

setMenuWidget

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

setMenuWidget(self, menubar: PySide2.QtWidgets.QWidget) -> None

setMinimumHeight

def setMinimumHeight(
    self,
    minh: int
) -> None

setMinimumHeight(self, minh: int) -> None

setMinimumSize

def setMinimumSize(
    ...
)

setMinimumSize(self, arg__1: PySide2.QtCore.QSize) -> None

setMinimumSize(self, minw: int, minh: int) -> None

setMinimumWidth

def setMinimumWidth(
    self,
    minw: int
) -> None

setMinimumWidth(self, minw: int) -> None

setMouseTracking

def setMouseTracking(
    self,
    enable: bool
) -> None

setMouseTracking(self, enable: bool) -> None

setObjectName

def setObjectName(
    self,
    name: str
) -> None

setObjectName(self, name: str) -> None

setPalette

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

setPalette(self, arg__1: PySide2.QtGui.QPalette) -> None

setParent

def setParent(
    ...
)

setParent(self, parent: PySide2.QtCore.QObject) -> None

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

setProperty

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

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

setShortcutAutoRepeat

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

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

setShortcutEnabled

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

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

setSizeIncrement

def setSizeIncrement(
    ...
)

setSizeIncrement(self, arg__1: PySide2.QtCore.QSize) -> None

setSizeIncrement(self, w: int, h: int) -> None

setSizePolicy

def setSizePolicy(
    ...
)

setSizePolicy(self, arg__1: PySide2.QtWidgets.QSizePolicy) -> None

setSizePolicy(self, horizontal: PySide2.QtWidgets.QSizePolicy.Policy, vertical: PySide2.QtWidgets.QSizePolicy.Policy) -> None

setStatusBar

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

setStatusBar(self, statusbar: PySide2.QtWidgets.QStatusBar) -> None

setStatusTip

def setStatusTip(
    self,
    arg__1: str
) -> None

setStatusTip(self, arg__1: str) -> None

setStyle

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

setStyle(self, arg__1: PySide2.QtWidgets.QStyle) -> None

setStyleSheet

def setStyleSheet(
    self,
    styleSheet: str
) -> None

setStyleSheet(self, styleSheet: str) -> None

setTabPosition

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

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

setTabShape

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

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

setTabletTracking

def setTabletTracking(
    self,
    enable: bool
) -> None

setTabletTracking(self, enable: bool) -> None

setToolButtonStyle

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

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

setToolTip

def setToolTip(
    self,
    arg__1: str
) -> None

setToolTip(self, arg__1: str) -> None

setToolTipDuration

def setToolTipDuration(
    self,
    msec: int
) -> None

setToolTipDuration(self, msec: int) -> None

setUnifiedTitleAndToolBarOnMac

def setUnifiedTitleAndToolBarOnMac(
    self,
    set: bool
) -> None

setUnifiedTitleAndToolBarOnMac(self, set: bool) -> None

setUpdatesEnabled

def setUpdatesEnabled(
    self,
    enable: bool
) -> None

setUpdatesEnabled(self, enable: bool) -> None

setVisible

def setVisible(
    self,
    visible: bool
) -> None

setVisible(self, visible: bool) -> None

setWhatsThis

def setWhatsThis(
    self,
    arg__1: str
) -> None

setWhatsThis(self, arg__1: str) -> None

setWindowFilePath

def setWindowFilePath(
    self,
    filePath: str
) -> None

setWindowFilePath(self, filePath: str) -> None

setWindowFlag

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

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

setWindowFlags

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

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

setWindowIcon

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

setWindowIcon(self, icon: PySide2.QtGui.QIcon) -> None

setWindowIconText

def setWindowIconText(
    self,
    arg__1: str
) -> None

setWindowIconText(self, arg__1: str) -> None

setWindowModality

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

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

setWindowModified

def setWindowModified(
    self,
    arg__1: bool
) -> None

setWindowModified(self, arg__1: bool) -> None

setWindowOpacity

def setWindowOpacity(
    self,
    level: float
) -> None

setWindowOpacity(self, level: float) -> None

setWindowRole

def setWindowRole(
    self,
    arg__1: str
) -> None

setWindowRole(self, arg__1: str) -> None

setWindowState

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

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

setWindowTitle

def setWindowTitle(
    self,
    arg__1: str
) -> None

setWindowTitle(self, arg__1: str) -> None

sharedPainter

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

sharedPainter(self) -> PySide2.QtGui.QPainter

show

def show(
    self
) -> None

show(self) -> None

showEvent

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

showEvent(self, event: PySide2.QtGui.QShowEvent) -> None

showFullScreen

def showFullScreen(
    self
) -> None

showFullScreen(self) -> None

showMaximized

def showMaximized(
    self
) -> None

showMaximized(self) -> None

showMinimized

def showMinimized(
    self
) -> None

showMinimized(self) -> None

showNormal

def showNormal(
    self
) -> None

showNormal(self) -> None

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
) -> None

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

stackUnder

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

stackUnder(self, arg__1: PySide2.QtWidgets.QWidget) -> None

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

tabifiedDockWidgetActivated

def tabifiedDockWidgetActivated(
    ...
)

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
) -> None

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

tabletEvent

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

tabletEvent(self, event: PySide2.QtGui.QTabletEvent) -> None

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
) -> None

timerEvent(self, event: PySide2.QtCore.QTimerEvent) -> None

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

toolButtonStyleChanged

def toolButtonStyleChanged(
    ...
)

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: bytes,
    arg__2: bytes = b'',
    arg__3: int = -1
) -> str

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

underMouse

def underMouse(
    self
) -> bool

underMouse(self) -> bool

ungrabGesture

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

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

unifiedTitleAndToolBarOnMac

def unifiedTitleAndToolBarOnMac(
    self
) -> bool

unifiedTitleAndToolBarOnMac(self) -> bool

unsetCursor

def unsetCursor(
    self
) -> None

unsetCursor(self) -> None

unsetLayoutDirection

def unsetLayoutDirection(
    self
) -> None

unsetLayoutDirection(self) -> None

unsetLocale

def unsetLocale(
    self
) -> None

unsetLocale(self) -> None

update

def update(
    ...
)

update(self) -> None

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

updateGeometry

def updateGeometry(
    self
) -> None

updateGeometry(self) -> None

updateMicroFocus

def updateMicroFocus(
    self
) -> None

updateMicroFocus(self) -> None

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
) -> None

wheelEvent(self, event: PySide2.QtGui.QWheelEvent) -> None

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

windowIconChanged

def windowIconChanged(
    ...
)

windowIconText

def windowIconText(
    self
) -> str

windowIconText(self) -> str

windowIconTextChanged

def windowIconTextChanged(
    ...
)

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

windowTitleChanged

def windowTitleChanged(
    ...
)

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