QtWidgets

The QtWidgets module contains classes that provide a set of UI elements to create classic desktop-style user interfaces.

Classes

QAbstractButton

QGraphicsGridLayout

QMacCocoaViewContainer

QStyleOptionGroupBox

QAbstractGraphicsShapeItem

QGraphicsItem

QMainWindow

QStyleOptionHeader

QAbstractItemDelegate

QGraphicsItemGroup

QMdiArea

QStyleOptionMenuItem

QAbstractItemView

QGraphicsLayout

QMdiSubWindow

QStyleOptionProgressBar

QAbstractScrollArea

QGraphicsLayoutItem

QMenu

QStyleOptionRubberBand

QAbstractSlider

QGraphicsLinearLayout

QMenuBar

QStyleOptionSizeGrip

QAbstractSpinBox

QGraphicsLineItem

QMessageBox

QStyleOptionSlider

QAction

QGraphicsObject

QMouseEventTransition

QStyleOptionSpinBox

QActionGroup

QGraphicsOpacityEffect

QOpenGLWidget

QStyleOptionTab

QApplication

QGraphicsPathItem

QPanGesture

QStyleOptionTabBarBase

QBoxLayout

QGraphicsPixmapItem

QPinchGesture

QStyleOptionTabWidgetFrame

QButtonGroup

QGraphicsPolygonItem

QPlainTextDocumentLayout

QStyleOptionTitleBar

QCalendarWidget

QGraphicsProxyWidget

QPlainTextEdit

QStyleOptionToolBar

QCheckBox

QGraphicsRectItem

QProgressBar

QStyleOptionToolBox

QColorDialog

QGraphicsRotation

QProgressDialog

QStyleOptionToolButton

QColumnView

QGraphicsScale

QProxyStyle

QStyleOptionViewItem

QComboBox

QGraphicsScene

QPushButton

QStylePainter

QCommandLinkButton

QGraphicsSceneContextMenuEvent

QRadioButton

QSwipeGesture

QCommonStyle

QGraphicsSceneDragDropEvent

QRubberBand

QSystemTrayIcon

QCompleter

QGraphicsSceneEvent

QScrollArea

QTabBar

QDataWidgetMapper

QGraphicsSceneHelpEvent

QScrollBar

QTableView

QDateEdit

QGraphicsSceneHoverEvent

QScroller

QTableWidget

QDateTimeEdit

QGraphicsSceneMouseEvent

QScrollerProperties

QTableWidgetItem

QDesktopWidget

QGraphicsSceneMoveEvent

QShortcut

QTableWidgetSelectionRange

QDial

QGraphicsSceneResizeEvent

QSizeGrip

QTabWidget

QDialog

QGraphicsSceneWheelEvent

QSizePolicy

QTapAndHoldGesture

QDialogButtonBox

QGraphicsSimpleTextItem

QSlider

QTapGesture

QDirModel

QGraphicsTextItem

QSpacerItem

QTextBrowser

QDockWidget

QGraphicsTransform

QSpinBox

QTextEdit

QDoubleSpinBox

QGraphicsView

QSplashScreen

QTimeEdit

QErrorMessage

QGraphicsWidget

QSplitter

QToolBar

QFileDialog

QGridLayout

QSplitterHandle

QToolBox

QFileIconProvider

QGroupBox

QStackedLayout

QToolButton

QFileSystemModel

QHBoxLayout

QStackedWidget

QToolTip

QFocusFrame

QHeaderView

QStatusBar

QTreeView

QFontComboBox

QInputDialog

QStyle

QTreeWidget

QFontDialog

QItemDelegate

QStyledItemDelegate

QTreeWidgetItem

QFormLayout

QItemEditorCreatorBase

QStyleFactory

QTreeWidgetItemIterator

QFrame

QItemEditorFactory

QStyleHintReturn

QUndoCommand

QGesture

QKeyEventTransition

QStyleHintReturnMask

QUndoGroup

QGestureEvent

QKeySequenceEdit

QStyleHintReturnVariant

QUndoStack

QGestureRecognizer

QLabel

QStyleOption

QUndoView

QGraphicsAnchor

QLayout

QStyleOptionButton

QVBoxLayout

QGraphicsAnchorLayout

QLayoutItem

QStyleOptionComboBox

QWhatsThis

QGraphicsBlurEffect

QLCDNumber

QStyleOptionComplex

QWidget

QGraphicsColorizeEffect

QLineEdit

QStyleOptionDockWidget

QWidgetAction

QGraphicsDropShadowEffect

QListView

QStyleOptionFocusRect

QWidgetItem

QGraphicsEffect

QListWidget

QStyleOptionFrame

QWizard

QGraphicsEllipseItem

QListWidgetItem

QStyleOptionGraphicsItem

QWizardPage

Attributes

qApp: QApplication

This is a read-only attribute.

TODO


QWIDGETSIZE_MAX: int

This is a read-only attribute.

TODO

Functions

qDrawBorderPixmap(QPainter, QRect, QMargins, QPixmap)

TODO


qDrawPlainRect(QPainter, QRect, Union[QColor, GlobalColor, QGradient], lineWidth: int = 1, fill: Union[QBrush, QColor, GlobalColor, QGradient] = None)

TODO


qDrawPlainRect(QPainter, int, int, int, int, Union[QColor, GlobalColor, QGradient], lineWidth: int = 1, fill: Union[QBrush, QColor, GlobalColor, QGradient] = None)

TODO


qDrawShadeLine(QPainter, QPoint, QPoint, QPalette, sunken: bool = True, lineWidth: int = 1, midLineWidth: int = 0)

TODO


qDrawShadeLine(QPainter, int, int, int, int, QPalette, sunken: bool = True, lineWidth: int = 1, midLineWidth: int = 0)

TODO


qDrawShadePanel(QPainter, QRect, QPalette, sunken: bool = False, lineWidth: int = 1, fill: Union[QBrush, QColor, GlobalColor, QGradient] = None)

TODO


qDrawShadePanel(QPainter, int, int, int, int, QPalette, sunken: bool = False, lineWidth: int = 1, fill: Union[QBrush, QColor, GlobalColor, QGradient] = None)

TODO


qDrawShadeRect(QPainter, QRect, QPalette, sunken: bool = False, lineWidth: int = 1, midLineWidth: int = 0, fill: Union[QBrush, QColor, GlobalColor, QGradient] = None)

TODO


qDrawShadeRect(QPainter, int, int, int, int, QPalette, sunken: bool = False, lineWidth: int = 1, midLineWidth: int = 0, fill: Union[QBrush, QColor, GlobalColor, QGradient] = None)

TODO


qDrawWinButton(QPainter, QRect, QPalette, sunken: bool = False, fill: Union[QBrush, QColor, GlobalColor, QGradient] = None)

TODO


qDrawWinButton(QPainter, int, int, int, int, QPalette, sunken: bool = False, fill: Union[QBrush, QColor, GlobalColor, QGradient] = None)

TODO


qDrawWinPanel(QPainter, QRect, QPalette, sunken: bool = False, fill: Union[QBrush, QColor, GlobalColor, QGradient] = None)

TODO


qDrawWinPanel(QPainter, int, int, int, int, QPalette, sunken: bool = False, fill: Union[QBrush, QColor, GlobalColor, QGradient] = None)

TODO