PySide6.QtWidgets#
- Functions
ExtraSelection
ExtraSelection.PySide6.QtWidgets.QTextEdit.ExtraSelection.cursor
ExtraSelection.PySide6.QtWidgets.QTextEdit.ExtraSelection.format
QAbstractButton
QAbstractGraphicsShapeItem
QAbstractItemDelegate
QAbstractItemView
QAbstractScrollArea
QAbstractSlider
QAbstractSpinBox
QAccessibleWidget
QApplication
QBoxLayout
QButtonGroup
QCalendarWidget
QCheckBox
QColorDialog
QColormap
QColumnView
QComboBox
QCommandLinkButton
QCommonStyle
QCompleter
QDataWidgetMapper
QDateEdit
QDateTimeEdit
QDial
QDialog
QDialogButtonBox
QDockWidget
QDoubleSpinBox
QErrorMessage
QFileDialog
QFileIconProvider
QFileSystemModel
QFocusFrame
QFontComboBox
QFontDialog
QFormLayout
QFrame
QGesture
QGestureEvent
QGestureRecognizer
QGraphicsAnchor
QGraphicsAnchorLayout
QGraphicsBlurEffect
QGraphicsColorizeEffect
QGraphicsDropShadowEffect
QGraphicsEffect
QGraphicsEllipseItem
QGraphicsGridLayout
QGraphicsItem
QGraphicsItemAnimation
QGraphicsItemGroup
QGraphicsLayout
QGraphicsLayoutItem
QGraphicsLineItem
QGraphicsLinearLayout
QGraphicsObject
QGraphicsOpacityEffect
QGraphicsPathItem
QGraphicsPixmapItem
QGraphicsPolygonItem
QGraphicsProxyWidget
QGraphicsRectItem
QGraphicsRotation
QGraphicsScale
QGraphicsScene
QGraphicsSceneContextMenuEvent
QGraphicsSceneDragDropEvent
QGraphicsSceneEvent
QGraphicsSceneHelpEvent
QGraphicsSceneHoverEvent
QGraphicsSceneMouseEvent
QGraphicsSceneMoveEvent
QGraphicsSceneResizeEvent
QGraphicsSceneWheelEvent
QGraphicsSimpleTextItem
QGraphicsTextItem
QGraphicsTransform
QGraphicsView
QGraphicsWidget
QGridLayout
QGroupBox
QHBoxLayout
QHeaderView
QInputDialog
QItemDelegate
QItemEditorCreatorBase
QItemEditorFactory
QKeySequenceEdit
QLCDNumber
QLabel
QLayout
QLayoutItem
QLayoutItem.PySide6.QtWidgets.QLayoutItem.align
QLineEdit
QListView
QListWidget
QListWidgetItem
QMainWindow
QMdiArea
QMdiSubWindow
QMenu
QMenuBar
QMessageBox
QPanGesture
QPinchGesture
QPlainTextDocumentLayout
QPlainTextEdit
QProgressBar
QProgressDialog
QProxyStyle
QPushButton
QRadioButton
QRhiWidget
QRubberBand
QScrollArea
QScrollBar
QScroller
QScrollerProperties
QSizeGrip
QSizePolicy
QSlider
QSpacerItem
QSpinBox
QSplashScreen
QSplitter
QSplitterHandle
QStackedLayout
QStackedWidget
QStatusBar
QStyle
QStyleFactory
QStyleHintReturn
QStyleHintReturn.PySide6.QtWidgets.QStyleHintReturn.version
QStyleHintReturn.PySide6.QtWidgets.QStyleHintReturn.type
QStyleHintReturnMask
QStyleHintReturnMask.PySide6.QtWidgets.QStyleHintReturnMask.region
QStyleHintReturnVariant
QStyleHintReturnVariant.PySide6.QtWidgets.QStyleHintReturnVariant.variant
QStyleOption
QStyleOption.PySide6.QtWidgets.QStyleOption.version
QStyleOption.PySide6.QtWidgets.QStyleOption.type
QStyleOption.PySide6.QtWidgets.QStyleOption.state
QStyleOption.PySide6.QtWidgets.QStyleOption.direction
QStyleOption.PySide6.QtWidgets.QStyleOption.rect
QStyleOption.PySide6.QtWidgets.QStyleOption.fontMetrics
QStyleOption.PySide6.QtWidgets.QStyleOption.palette
QStyleOption.PySide6.QtWidgets.QStyleOption.styleObject
QStyleOptionButton
QStyleOptionButton.PySide6.QtWidgets.QStyleOptionButton.features
QStyleOptionButton.PySide6.QtWidgets.QStyleOptionButton.text
QStyleOptionButton.PySide6.QtWidgets.QStyleOptionButton.icon
QStyleOptionButton.PySide6.QtWidgets.QStyleOptionButton.iconSize
QStyleOptionComboBox
QStyleOptionComboBox.PySide6.QtWidgets.QStyleOptionComboBox.editable
QStyleOptionComboBox.PySide6.QtWidgets.QStyleOptionComboBox.popupRect
QStyleOptionComboBox.PySide6.QtWidgets.QStyleOptionComboBox.frame
QStyleOptionComboBox.PySide6.QtWidgets.QStyleOptionComboBox.currentText
QStyleOptionComboBox.PySide6.QtWidgets.QStyleOptionComboBox.currentIcon
QStyleOptionComboBox.PySide6.QtWidgets.QStyleOptionComboBox.iconSize
QStyleOptionComboBox.PySide6.QtWidgets.QStyleOptionComboBox.textAlignment
QStyleOptionComplex
QStyleOptionComplex.PySide6.QtWidgets.QStyleOptionComplex.subControls
QStyleOptionComplex.PySide6.QtWidgets.QStyleOptionComplex.activeSubControls
QStyleOptionDockWidget
QStyleOptionDockWidget.PySide6.QtWidgets.QStyleOptionDockWidget.title
QStyleOptionDockWidget.PySide6.QtWidgets.QStyleOptionDockWidget.closable
QStyleOptionDockWidget.PySide6.QtWidgets.QStyleOptionDockWidget.movable
QStyleOptionDockWidget.PySide6.QtWidgets.QStyleOptionDockWidget.floatable
QStyleOptionDockWidget.PySide6.QtWidgets.QStyleOptionDockWidget.verticalTitleBar
QStyleOptionFocusRect
QStyleOptionFocusRect.PySide6.QtWidgets.QStyleOptionFocusRect.backgroundColor
QStyleOptionFrame
QStyleOptionFrame.PySide6.QtWidgets.QStyleOptionFrame.lineWidth
QStyleOptionFrame.PySide6.QtWidgets.QStyleOptionFrame.midLineWidth
QStyleOptionFrame.PySide6.QtWidgets.QStyleOptionFrame.features
QStyleOptionFrame.PySide6.QtWidgets.QStyleOptionFrame.frameShape
QStyleOptionGraphicsItem
QStyleOptionGraphicsItem.PySide6.QtWidgets.QStyleOptionGraphicsItem.exposedRect
QStyleOptionGroupBox
QStyleOptionGroupBox.PySide6.QtWidgets.QStyleOptionGroupBox.features
QStyleOptionGroupBox.PySide6.QtWidgets.QStyleOptionGroupBox.text
QStyleOptionGroupBox.PySide6.QtWidgets.QStyleOptionGroupBox.textAlignment
QStyleOptionGroupBox.PySide6.QtWidgets.QStyleOptionGroupBox.textColor
QStyleOptionGroupBox.PySide6.QtWidgets.QStyleOptionGroupBox.lineWidth
QStyleOptionGroupBox.PySide6.QtWidgets.QStyleOptionGroupBox.midLineWidth
QStyleOptionHeader
QStyleOptionHeader.PySide6.QtWidgets.QStyleOptionHeader.section
QStyleOptionHeader.PySide6.QtWidgets.QStyleOptionHeader.text
QStyleOptionHeader.PySide6.QtWidgets.QStyleOptionHeader.textAlignment
QStyleOptionHeader.PySide6.QtWidgets.QStyleOptionHeader.icon
QStyleOptionHeader.PySide6.QtWidgets.QStyleOptionHeader.iconAlignment
QStyleOptionHeader.PySide6.QtWidgets.QStyleOptionHeader.position
QStyleOptionHeader.PySide6.QtWidgets.QStyleOptionHeader.selectedPosition
QStyleOptionHeader.PySide6.QtWidgets.QStyleOptionHeader.sortIndicator
QStyleOptionHeader.PySide6.QtWidgets.QStyleOptionHeader.orientation
QStyleOptionHeaderV2
QStyleOptionHeaderV2.PySide6.QtWidgets.QStyleOptionHeaderV2.textElideMode
QStyleOptionHeaderV2.PySide6.QtWidgets.QStyleOptionHeaderV2.isSectionDragTarget
QStyleOptionHeaderV2.PySide6.QtWidgets.QStyleOptionHeaderV2.unused
QStyleOptionMenuItem
QStyleOptionMenuItem.PySide6.QtWidgets.QStyleOptionMenuItem.menuItemType
QStyleOptionMenuItem.PySide6.QtWidgets.QStyleOptionMenuItem.checkType
QStyleOptionMenuItem.PySide6.QtWidgets.QStyleOptionMenuItem.checked
QStyleOptionMenuItem.PySide6.QtWidgets.QStyleOptionMenuItem.menuHasCheckableItems
QStyleOptionMenuItem.PySide6.QtWidgets.QStyleOptionMenuItem.menuRect
QStyleOptionMenuItem.PySide6.QtWidgets.QStyleOptionMenuItem.text
QStyleOptionMenuItem.PySide6.QtWidgets.QStyleOptionMenuItem.icon
QStyleOptionMenuItem.PySide6.QtWidgets.QStyleOptionMenuItem.maxIconWidth
QStyleOptionMenuItem.PySide6.QtWidgets.QStyleOptionMenuItem.reservedShortcutWidth
QStyleOptionMenuItem.PySide6.QtWidgets.QStyleOptionMenuItem.font
QStyleOptionProgressBar
QStyleOptionProgressBar.PySide6.QtWidgets.QStyleOptionProgressBar.minimum
QStyleOptionProgressBar.PySide6.QtWidgets.QStyleOptionProgressBar.maximum
QStyleOptionProgressBar.PySide6.QtWidgets.QStyleOptionProgressBar.progress
QStyleOptionProgressBar.PySide6.QtWidgets.QStyleOptionProgressBar.text
QStyleOptionProgressBar.PySide6.QtWidgets.QStyleOptionProgressBar.textAlignment
QStyleOptionProgressBar.PySide6.QtWidgets.QStyleOptionProgressBar.textVisible
QStyleOptionProgressBar.PySide6.QtWidgets.QStyleOptionProgressBar.invertedAppearance
QStyleOptionProgressBar.PySide6.QtWidgets.QStyleOptionProgressBar.bottomToTop
QStyleOptionRubberBand
QStyleOptionRubberBand.PySide6.QtWidgets.QStyleOptionRubberBand.shape
QStyleOptionRubberBand.PySide6.QtWidgets.QStyleOptionRubberBand.opaque
QStyleOptionSizeGrip
QStyleOptionSizeGrip.PySide6.QtWidgets.QStyleOptionSizeGrip.corner
QStyleOptionSlider
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.orientation
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.minimum
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.maximum
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.tickPosition
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.tickInterval
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.upsideDown
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.sliderPosition
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.sliderValue
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.singleStep
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.pageStep
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.notchTarget
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.dialWrapping
QStyleOptionSlider.PySide6.QtWidgets.QStyleOptionSlider.keyboardModifiers
QStyleOptionSpinBox
QStyleOptionSpinBox.PySide6.QtWidgets.QStyleOptionSpinBox.buttonSymbols
QStyleOptionSpinBox.PySide6.QtWidgets.QStyleOptionSpinBox.stepEnabled
QStyleOptionSpinBox.PySide6.QtWidgets.QStyleOptionSpinBox.frame
QStyleOptionTab
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.shape
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.text
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.icon
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.row
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.position
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.selectedPosition
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.cornerWidgets
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.iconSize
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.documentMode
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.leftButtonSize
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.rightButtonSize
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.features
QStyleOptionTab.PySide6.QtWidgets.QStyleOptionTab.tabIndex
QStyleOptionTabBarBase
QStyleOptionTabBarBase.PySide6.QtWidgets.QStyleOptionTabBarBase.shape
QStyleOptionTabBarBase.PySide6.QtWidgets.QStyleOptionTabBarBase.tabBarRect
QStyleOptionTabBarBase.PySide6.QtWidgets.QStyleOptionTabBarBase.selectedTabRect
QStyleOptionTabBarBase.PySide6.QtWidgets.QStyleOptionTabBarBase.documentMode
QStyleOptionTabWidgetFrame
QStyleOptionTabWidgetFrame.PySide6.QtWidgets.QStyleOptionTabWidgetFrame.lineWidth
QStyleOptionTabWidgetFrame.PySide6.QtWidgets.QStyleOptionTabWidgetFrame.midLineWidth
QStyleOptionTabWidgetFrame.PySide6.QtWidgets.QStyleOptionTabWidgetFrame.shape
QStyleOptionTabWidgetFrame.PySide6.QtWidgets.QStyleOptionTabWidgetFrame.tabBarSize
QStyleOptionTabWidgetFrame.PySide6.QtWidgets.QStyleOptionTabWidgetFrame.rightCornerWidgetSize
QStyleOptionTabWidgetFrame.PySide6.QtWidgets.QStyleOptionTabWidgetFrame.leftCornerWidgetSize
QStyleOptionTabWidgetFrame.PySide6.QtWidgets.QStyleOptionTabWidgetFrame.tabBarRect
QStyleOptionTabWidgetFrame.PySide6.QtWidgets.QStyleOptionTabWidgetFrame.selectedTabRect
QStyleOptionTitleBar
QStyleOptionTitleBar.PySide6.QtWidgets.QStyleOptionTitleBar.text
QStyleOptionTitleBar.PySide6.QtWidgets.QStyleOptionTitleBar.icon
QStyleOptionTitleBar.PySide6.QtWidgets.QStyleOptionTitleBar.titleBarState
QStyleOptionTitleBar.PySide6.QtWidgets.QStyleOptionTitleBar.titleBarFlags
QStyleOptionToolBar
QStyleOptionToolBar.PySide6.QtWidgets.QStyleOptionToolBar.positionOfLine
QStyleOptionToolBar.PySide6.QtWidgets.QStyleOptionToolBar.positionWithinLine
QStyleOptionToolBar.PySide6.QtWidgets.QStyleOptionToolBar.toolBarArea
QStyleOptionToolBar.PySide6.QtWidgets.QStyleOptionToolBar.features
QStyleOptionToolBar.PySide6.QtWidgets.QStyleOptionToolBar.lineWidth
QStyleOptionToolBar.PySide6.QtWidgets.QStyleOptionToolBar.midLineWidth
QStyleOptionToolBox
QStyleOptionToolBox.PySide6.QtWidgets.QStyleOptionToolBox.text
QStyleOptionToolBox.PySide6.QtWidgets.QStyleOptionToolBox.icon
QStyleOptionToolBox.PySide6.QtWidgets.QStyleOptionToolBox.position
QStyleOptionToolBox.PySide6.QtWidgets.QStyleOptionToolBox.selectedPosition
QStyleOptionToolButton
QStyleOptionToolButton.PySide6.QtWidgets.QStyleOptionToolButton.features
QStyleOptionToolButton.PySide6.QtWidgets.QStyleOptionToolButton.icon
QStyleOptionToolButton.PySide6.QtWidgets.QStyleOptionToolButton.iconSize
QStyleOptionToolButton.PySide6.QtWidgets.QStyleOptionToolButton.text
QStyleOptionToolButton.PySide6.QtWidgets.QStyleOptionToolButton.arrowType
QStyleOptionToolButton.PySide6.QtWidgets.QStyleOptionToolButton.toolButtonStyle
QStyleOptionToolButton.PySide6.QtWidgets.QStyleOptionToolButton.pos
QStyleOptionToolButton.PySide6.QtWidgets.QStyleOptionToolButton.font
QStyleOptionViewItem
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.displayAlignment
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.decorationAlignment
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.textElideMode
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.decorationPosition
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.decorationSize
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.font
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.showDecorationSelected
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.features
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.locale
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.widget
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.index
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.checkState
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.icon
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.text
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.viewItemPosition
QStyleOptionViewItem.PySide6.QtWidgets.QStyleOptionViewItem.backgroundBrush
QStylePainter
QStyledItemDelegate
QSwipeGesture
QSystemTrayIcon
QTabBar
QTabWidget
QTableView
QTableWidget
QTableWidgetItem
QTableWidgetSelectionRange
QTapAndHoldGesture
QTapGesture
QTextBrowser
QTextEdit
QTileRules
QTileRules.PySide6.QtWidgets.QTileRules.horizontal
QTileRules.PySide6.QtWidgets.QTileRules.vertical
QTimeEdit
QToolBar
QToolBox
QToolButton
QToolTip
QTreeView
QTreeWidget
QTreeWidgetItem
QTreeWidgetItemIterator
QUndoView
QVBoxLayout
QWhatsThis
QWidget
QWidgetAction
QWidgetItem
QWidgetItem.PySide6.QtWidgets.QWidgetItem.wid
QWizard
QWizardPage
TakeRowResult
TakeRowResult.PySide6.QtWidgets.QFormLayout.TakeRowResult.labelItem
TakeRowResult.PySide6.QtWidgets.QFormLayout.TakeRowResult.fieldItem
Detailed Description#
A module which provides a set of C++ technologies for building user interfaces
The QtWidgets module provides a set of UI elements to create classic desktop-style user interfaces.
Widgets#
Widgets are the primary elements for creating user interfaces in Qt. They can display data and status information, receive user input, and provide a container for other widgets that should be grouped together. A widget that is not embedded in a parent widget is called a window.
The QWidget
class provides the
basic capability to render to the screen, and to handle user input
events. All UI elements that Qt provides are either subclasses of
QWidget
, or are used in
connection with a QWidget
subclass. Creating custom widgets is done by subclassing
QWidget
or a suitable subclass and
reimplementing the virtual event handlers.
Styles#
Styles draw on behalf of
widgets and encapsulate the look and feel of a GUI. Qt’s built-in
widgets use the QStyle
class to
perform nearly all of their drawing, ensuring that they look exactly
like the equivalent native widgets.
Qt Style Sheets are a powerful mechanism that
allows you to customize the appearance of widgets, in addition to what
is already possible by subclassing
QStyle
.
Layouts#
Layouts are an elegant and flexible way to
automatically arrange child widgets within their container. Each
widget reports its size requirements to the layout through the
sizeHint
and
sizePolicy
properties,
and the layout distributes the available space accordingly.
Qt Widgets Designer is a powerful tool for interactively creating and arranging widgets in layouts.
Model/View Classes#
The model/view architecture provides classes that manage the way data is presented to the user. Data-driven applications which use lists and tables are structured to separate the data and view using models, views, and delegates.
Graphics View#
The Graphics View Framework is for managing and interacting with a large number of custom-made 2D graphical items, and a view widget for visualizing the items, with support for zooming and rotation.
Using the Module#
To include the definitions of modules classes, use the following directive:
import PySide6.QtWidgets
List of Classes#
A |
|||
B |
|||
C |
|||
D |
|||
E |
|||
F |
|||
G |
|||
H |
|||
I |
|||
K |
|||
L |
|||
M |
|||
P |
|||
R |
|||
S |
|||
T |
|||
U |
|||
V |
|||
W |
|||