Qt Widgets 模块采用 C++ 小部件功能扩展 Qt GUI。 更多...
QAbstractButton
QAbstractGraphicsShapeItem
QAbstractItemDelegate
QAbstractItemView
QAbstractScrollArea
QAbstractSlider
QAbstractSpinBox
QAccessibleWidget
QAction
QActionGroup
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
QFormLayout::TakeRowResult
QFrame
QGesture
QGestureEvent
QGestureRecognizer
QGraphicsAnchor
QGraphicsAnchorLayout
QGraphicsBlurEffect
QGraphicsColorizeEffect
QGraphicsDropShadowEffect
QGraphicsEffect
QGraphicsEllipseItem
QGraphicsGridLayout
QGraphicsItem
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
QItemEditorCreator
QItemEditorCreatorBase
QItemEditorFactory
QKeyEventTransition
QKeySequenceEdit
QLCDNumber
QLabel
QLayout
QLayoutItem
QLineEdit
QListView
QListWidget
QListWidgetItem
QMainWindow
QMdiArea
QMdiSubWindow
QMenu
QMenuBar
QMessageBox
QMouseEventTransition
QOpenGLWidget
QPanGesture
QPinchGesture
QPlainTextDocumentLayout
QPlainTextEdit
QProgressBar
QProgressDialog
QProxyStyle
QPushButton
QRadioButton
QRubberBand
QScrollArea
QScrollBar
QScroller
QScrollerProperties
QShortcut
QSizeGrip
QSizePolicy
QSlider
QSpacerItem
QSpinBox
QSplashScreen
QSplitter
QSplitterHandle
QStackedLayout
QStackedWidget
QStandardItemEditorCreator
QStatusBar
QStyle
QStyleFactory
QStyleHintReturn
QStyleHintReturnMask
QStyleHintReturnVariant
QStyleOption
QStyleOptionButton
QStyleOptionComboBox
QStyleOptionComplex
QStyleOptionDockWidget
QStyleOptionFocusRect
QStyleOptionFrame
QStyleOptionGraphicsItem
QStyleOptionGroupBox
QStyleOptionHeader
QStyleOptionMenuItem
QStyleOptionProgressBar
QStyleOptionRubberBand
QStyleOptionSizeGrip
QStyleOptionSlider
QStyleOptionSpinBox
QStyleOptionTab
QStyleOptionTabBarBase
QStyleOptionTabWidgetFrame
QStyleOptionTitleBar
QStyleOptionToolBar
QStyleOptionToolBox
QStyleOptionToolButton
QStyleOptionViewItem
QStylePainter
QStylePlugin
QStyledItemDelegate
QSwipeGesture
QSystemTrayIcon
QTabBar
QTabWidget
QTableView
QTableWidget
QTableWidgetItem
QTableWidgetSelectionRange
QTapAndHoldGesture
QTapGesture
QTextBrowser
QTextEdit
QTextEdit::ExtraSelection
QTileRules
QTimeEdit
QToolBar
QToolBox
QToolButton
QToolTip
QTreeView
QTreeWidget
QTreeWidgetItem
QTreeWidgetItemIterator
QUndoCommand
QUndoGroup
QUndoStack
QUndoView
QVBoxLayout
QWhatsThis
QWidget
QWidgetAction
QWidgetItem
QWizard
QWizardPage
要包括模块类定义,使用以下指令:
#include <QtWidgets>
要链接到模块,添加此行到 qmake .pro 文件:
.pro
QT += widgets
类
详细描述