Qt Widgets C++ Classes

The Qt Widgets module extends Qt GUI with C++ widget functionality. More...

API Reference

These are links to the API reference materials.

Classes

QAbstractButton

The abstract base class of button widgets, providing functionality common to buttons

QAbstractGraphicsShapeItem

Common base for all path items

QAbstractItemDelegate

Used to display and edit data items from a model

QAbstractItemView

The basic functionality for item view classes

QAbstractScrollArea

Scrolling area with on-demand scroll bars

QAbstractSlider

Integer value within a range

QAbstractSpinBox

Spinbox and a line edit to display values

QAccessibleWidget

Implements the QAccessibleInterface for QWidgets

QAction

Abstract user interface action that can be inserted into widgets

QActionGroup

Groups actions together

QApplication

Manages the GUI application's control flow and main settings

QBoxLayout

Lines up child widgets horizontally or vertically

QButtonGroup

Container to organize groups of button widgets

QCalendarWidget

Monthly based calendar widget allowing the user to select a date

QCheckBox

Checkbox with a text label

QColorDialog

Dialog widget for specifying colors

QColormap

Maps device independent QColors to device dependent pixel values

QColumnView

Model/view implementation of a column view

QComboBox

Combined button and popup list

QCommandLinkButton

Vista style command link button

QCommonStyle

Encapsulates the common Look and Feel of a GUI

QCompleter

Completions based on an item model

QDataWidgetMapper

Mapping between a section of a data model to widgets

QDateEdit

Widget for editing dates based on the QDateTimeEdit widget

QDateTimeEdit

Widget for editing dates and times

QDesktopWidget

Access to screen information on multi-head systems

QDial

Rounded range control (like a speedometer or potentiometer)

QDialog

The base class of dialog windows

QDialogButtonBox

Widget that presents buttons in a layout that is appropriate to the current widget style

QDockWidget

Widget that can be docked inside a QMainWindow or floated as a top-level window on the desktop

QDoubleSpinBox

Spin box widget that takes doubles

QErrorMessage

Error message display dialog

QFileDialog

Dialog that allow users to select files or directories

QFileIconProvider

File icons for the QDirModel and the QFileSystemModel classes

QFileSystemModel

Data model for the local filesystem

QFocusFrame

Focus frame which can be outside of a widget's normal paintable area

QFontComboBox

Combobox that lets the user select a font family

QFontDialog

Dialog widget for selecting a font

QFormLayout

Manages forms of input widgets and their associated labels

QFrame

The base class of widgets that can have a frame

QGesture

Represents a gesture, containing properties that describe the corresponding user input

QGestureEvent

The description of triggered gestures

QGestureRecognizer

The infrastructure for gesture recognition

QGraphicsAnchor

Represents an anchor between two items in a QGraphicsAnchorLayout

QGraphicsAnchorLayout

Layout where one can anchor widgets together in Graphics View

QGraphicsBlurEffect

Blur effect

QGraphicsColorizeEffect

Colorize effect

QGraphicsDropShadowEffect

Drop shadow effect

QGraphicsEffect

The base class for all graphics effects

QGraphicsEllipseItem

Ellipse item that you can add to a QGraphicsScene

QGraphicsGridLayout

Grid layout for managing widgets in Graphics View

QGraphicsItem

The base class for all graphical items in a QGraphicsScene

QGraphicsItemGroup

Container that treats a group of items as a single item

QGraphicsLayout

The base class for all layouts in Graphics View

QGraphicsLayoutItem

Can be inherited to allow your custom items to be managed by layouts

QGraphicsLineItem

Line item that you can add to a QGraphicsScene

QGraphicsLinearLayout

Horizontal or vertical layout for managing widgets in Graphics View

QGraphicsObject

Base class for all graphics items that require signals, slots and properties

QGraphicsOpacityEffect

Opacity effect

QGraphicsPathItem

Path item that you can add to a QGraphicsScene

QGraphicsPixmapItem

Pixmap item that you can add to a QGraphicsScene

QGraphicsPolygonItem

Polygon item that you can add to a QGraphicsScene

QGraphicsProxyWidget

Proxy layer for embedding a QWidget in a QGraphicsScene

QGraphicsRectItem

Rectangle item that you can add to a QGraphicsScene

QGraphicsRotation

Rotation transformation around a given axis

QGraphicsScale

Scale transformation

QGraphicsScene

Surface for managing a large number of 2D graphical items

QGraphicsSceneContextMenuEvent

Context menu events in the graphics view framework

QGraphicsSceneDragDropEvent

Events for drag and drop in the graphics view framework

QGraphicsSceneEvent

Base class for all graphics view related events

QGraphicsSceneHelpEvent

Events when a tooltip is requested

QGraphicsSceneHoverEvent

Hover events in the graphics view framework

QGraphicsSceneMouseEvent

Mouse events in the graphics view framework

QGraphicsSceneMoveEvent

Events for widget moving in the graphics view framework

QGraphicsSceneResizeEvent

Events for widget resizing in the graphics view framework

QGraphicsSceneWheelEvent

Wheel events in the graphics view framework

QGraphicsSimpleTextItem

Simple text path item that you can add to a QGraphicsScene

QGraphicsTextItem

Text item that you can add to a QGraphicsScene to display formatted text

QGraphicsTransform

Abstract base class for building advanced transformations on QGraphicsItems

QGraphicsView

Widget for displaying the contents of a QGraphicsScene

QGraphicsWidget

The base class for all widget items in a QGraphicsScene

QGridLayout

Lays out widgets in a grid

QGroupBox

Group box frame with a title

QHBoxLayout

Lines up widgets horizontally

QHeaderView

Header row or header column for item views

QInputDialog

Simple convenience dialog to get a single value from the user

QItemDelegate

Display and editing facilities for data items from a model

QItemEditorCreator

Makes it possible to create item editor creator bases without subclassing QItemEditorCreatorBase

QItemEditorCreatorBase

Abstract base class that must be subclassed when implementing new item editor creators

QItemEditorFactory

Widgets for editing item data in views and delegates

QKeyEventTransition

Transition for key events

QKeySequenceEdit

Allows to input a QKeySequence

QLCDNumber

Displays a number with LCD-like digits

QLabel

Text or image display

QLayout

The base class of geometry managers

QLayoutItem

Abstract item that a QLayout manipulates

QLineEdit

One-line text editor

QListView

List or icon view onto a model

QListWidget

Item-based list widget

QListWidgetItem

Item for use with the QListWidget item view class

QMacCocoaViewContainer

Widget for Mac OS X that can be used to wrap arbitrary Cocoa views (i.e., NSView subclasses) and insert them into Qt hierarchies

QMacNativeWidget

Widget for Mac OS X that provides a way to put Qt widgets into Cocoa hierarchies

QMainWindow

Main application window

QMdiArea

Area in which MDI windows are displayed

QMdiSubWindow

Subwindow class for QMdiArea

QMenu

Menu widget for use in menu bars, context menus, and other popup menus

QMenuBar

Horizontal menu bar

QMessageBox

Modal dialog for informing the user or for asking the user a question and receiving an answer

QMouseEventTransition

Transition for mouse events

QOpenGLWidget

Widget for rendering OpenGL graphics

QPanGesture

Describes a panning gesture made by the user

QPinchGesture

Describes a pinch gesture made by the user

QPlainTextDocumentLayout

Implements a plain text layout for QTextDocument

QPlainTextEdit

Widget that is used to edit and display plain text

QProgressBar

Horizontal or vertical progress bar

QProgressDialog

Feedback on the progress of a slow operation

QProxyStyle

Convenience class that simplifies dynamically overriding QStyle elements

QPushButton

Command button

QRadioButton

Radio button with a text label

QRubberBand

Rectangle or line that can indicate a selection or a boundary

QScrollArea

Scrolling view onto another widget

QScrollBar

Vertical or horizontal scroll bar

QScroller

Enables kinetic scrolling for any scrolling widget or graphics item

QScrollerProperties

Stores the settings for a QScroller

QSessionManager

Access to the session manager

QShortcut

Used to create keyboard shortcuts

QSizeGrip

Resize handle for resizing top-level windows

QSizePolicy

Layout attribute describing horizontal and vertical resizing policy

QSlider

Vertical or horizontal slider

QSpacerItem

Blank space in a layout

QSpinBox

Spin box widget

QSplashScreen

Splash screen that can be shown during application startup

QSplitter

Implements a splitter widget

QSplitterHandle

Handle functionality for the splitter

QStackedLayout

Stack of widgets where only one widget is visible at a time

QStackedWidget

Stack of widgets where only one widget is visible at a time

QStandardItemEditorCreator

The possibility to register widgets without having to subclass QItemEditorCreatorBase

QStatusBar

Horizontal bar suitable for presenting status information

QStyle

Abstract base class that encapsulates the look and feel of a GUI

QStyleFactory

Creates QStyle objects

QStyleHintReturn

Style hints that return more than basic data types

QStyleHintReturnMask

Style hints that return a QRegion

QStyleHintReturnVariant

Style hints that return a QVariant

QStyleOption

Stores the parameters used by QStyle functions

QStyleOptionButton

Used to describe the parameters for drawing buttons

QStyleOptionComboBox

Used to describe the parameter for drawing a combobox

QStyleOptionComplex

Used to hold parameters that are common to all complex controls

QStyleOptionDockWidget

Used to describe the parameters for drawing a dock widget

QStyleOptionFocusRect

Used to describe the parameters for drawing a focus rectangle with QStyle

QStyleOptionFrame

Used to describe the parameters for drawing a frame

QStyleOptionGraphicsItem

Used to describe the parameters needed to draw a QGraphicsItem

QStyleOptionGroupBox

Describes the parameters for drawing a group box

QStyleOptionHeader

Used to describe the parameters for drawing a header

QStyleOptionMenuItem

Used to describe the parameter necessary for drawing a menu item

QStyleOptionProgressBar

Used to describe the parameters necessary for drawing a progress bar

QStyleOptionRubberBand

Used to describe the parameters needed for drawing a rubber band

QStyleOptionSizeGrip

Used to describe the parameter for drawing a size grip

QStyleOptionSlider

Used to describe the parameters needed for drawing a slider

QStyleOptionSpinBox

Used to describe the parameters necessary for drawing a spin box

QStyleOptionTab

Used to describe the parameters for drawing a tab bar

QStyleOptionTabBarBase

Used to describe the base of a tab bar, i.e. the part that the tab bar usually overlaps with

QStyleOptionTabWidgetFrame

Used to describe the parameters for drawing the frame around a tab widget

QStyleOptionTitleBar

Used to describe the parameters for drawing a title bar

QStyleOptionToolBar

Used to describe the parameters for drawing a toolbar

QStyleOptionToolBox

Used to describe the parameters needed for drawing a tool box

QStyleOptionToolButton

Used to describe the parameters for drawing a tool button

QStyleOptionViewItem

Used to describe the parameters used to draw an item in a view widget

QStylePainter

Convenience class for drawing QStyle elements inside a widget

QStylePlugin

Abstract base for custom QStyle plugins

QStyledItemDelegate

Display and editing facilities for data items from a model

QSwipeGesture

Describes a swipe gesture made by the user

QSystemTrayIcon

Icon for an application in the system tray

QTabBar

Tab bar, e.g. for use in tabbed dialogs

QTabWidget

Stack of tabbed widgets

QTableView

Default model/view implementation of a table view

QTableWidget

Item-based table view with a default model

QTableWidgetItem

Item for use with the QTableWidget class

QTableWidgetSelectionRange

Way to interact with selection in a model without using model indexes and a selection model

QTapAndHoldGesture

Describes a tap-and-hold (aka LongTap) gesture made by the user

QTapGesture

Describes a tap gesture made by the user

QTextBrowser

Rich text browser with hypertext navigation

QTextEdit

Widget that is used to edit and display both plain and rich text

QTextEdit::ExtraSelection

QTextEdit::ExtraSelection structure provides a way of specifying a character format for a given selection in a document

QTileRules

The rules used to draw a pixmap or image split into nine segments

QTimeEdit

Widget for editing times based on the QDateTimeEdit widget

QToolBar

Movable panel that contains a set of controls

QToolBox

Column of tabbed widget items

QToolButton

Quick-access button to commands or options, usually used inside a QToolBar

QToolTip

Tool tips (balloon help) for any widget

QTreeView

Default model/view implementation of a tree view

QTreeWidget

Tree view that uses a predefined tree model

QTreeWidgetItem

Item for use with the QTreeWidget convenience class

QTreeWidgetItemIterator

Way to iterate over the items in a QTreeWidget instance

QUndoCommand

The base class of all commands stored on a QUndoStack

QUndoGroup

Group of QUndoStack objects

QUndoStack

Stack of QUndoCommand objects

QUndoView

Displays the contents of a QUndoStack

QVBoxLayout

Lines up widgets vertically

QWhatsThis

Simple description of any widget, i.e. answering the question "What's This?"

QWidget

The base class of all user interface objects

QWidgetAction

Extends QAction by an interface for inserting custom widgets into action based containers, such as toolbars

QWidgetItem

Layout item that represents a widget

QWizard

Framework for wizards

QWizardPage

The base class for wizard pages

QtWidgets Module's Classes的更多相关文章

  1. QtGUI Module's Classes

    Qt GUI C++ Classes The Qt GUI module provides the basic enablers for graphical applications written ...

  2. QtCore Module's Classes

    Qt Core C++ Classes Provides core non-GUI functionality. More... Reference These are links to the AP ...

  3. PyQt5 模块modules

    The QtCore module contains the core non-GUI functionality. This module is used for working with time ...

  4. niagara Workbench module import IntelliJ

    1. 在整个网络布线中使用一种布线方式,但是两端都有RJ-45 plug  的网络连线,无论是采用方式A还是方式B 端接的方式都是试用的.网络都是通用的,双绞线的顺序与RJ-45偶的引脚序号一一对应, ...

  5. qt5.9模块

    QAxContainer Module is a Windows-only extension for accessing ActiveX controls and COM objects 模块仅适用 ...

  6. Python的单元测试(二)

    title: Python的单元测试(二) date: 2015-03-04 19:08:20 categories: Python tags: [Python,单元测试] --- 在Python的单 ...

  7. Aspect Oriented Programming using Interceptors within Castle Windsor and ABP Framework AOP

    http://www.codeproject.com/Articles/1080517/Aspect-Oriented-Programming-using-Interceptors-wit Downl ...

  8. VB.NET vs. C#

    VB.NET Program Structure C# Imports System Namespace Hello    Class HelloWorld        Overloads Shar ...

  9. Brief Tour of the Standard Library

    10.1. Operating System Interface The os module provides dozens of functions for interacting with the ...

随机推荐

  1. 如何在定制化组件中实现并使用v-model

    https://alligator.io/vuejs/add-v-model-support/

  2. VUE入门准备------>ES6

    声明变量的方式:  var  let   const let  和 var的区别 var定义的变量是全局的会覆盖全局的定义 ; ;i<;i++){ console.log(i) } undefi ...

  3. [沫沫金]JavaWeb企业信息系统,增加操作记录、数据库记录

    背景 系统出现数据莫名丢失,业务人员的反馈无法复现问题.纠结了很久,最终老板发话要记录操作,通过日志进行分析重现 环境 SSH框架 目标 1.记录访问了那个方法,使用的参数及返回的内容 2.记录新增. ...

  4. TreeSet 比较器排序 自定义对象

    package cn.itcast.day21.treeset2; import java.util.Comparator; import java.util.TreeSet; /* * TreeSe ...

  5. MVC中使用EF的技巧集(一)

    一.建好数据库后,向项目中添加数据模型. 1.右键点击“Models” 文件夹,选择“添加”,再选择“添加新项”. 2.在“添加新项”窗口,选择左边的“数据”,然后再在右边选择“ADO.NET 实体数 ...

  6. QT导入libcurl支持HTTPS

    对于我这种不会编译的人来说,必须找到已经编译好的DLL文件,以及头文件才能使用. 幸运的在这个网站https://stackoverflow.com/questions/28137379/libcur ...

  7. postGresql关键字字段重名

    在postGresql中如果关键字和自定义的字段重名 即使使用[  ](中括号)或者 ' '(单引号)都没有用,经本人实验. 如果使用" "(双引号),则可以.

  8. jquery validation验证身份证号、护照、电话号码、email

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...

  9. JavaScript的DOM操作获取元素的大小

    通过 style 内联获取元素的大小 需要注意的是style 获取只能获取到行内 style 属性的 CSS 样式中的宽和高,如果有获取:如果没有则返回空. <!DOCTYPE html> ...

  10. SICP 习题 (1.34)解题总结

    SICP 习题 1.34的题目比較特别一点.对于没有接触过高阶函数的同学们来说是个非常好的学习机会. 题目是这种,假设我们定义以下的过程: (define (f g)   (g 2)) 那么就有: ( ...