过时类

被弃用的 C++ 类

下列 Qt C++ 类现已过时。过时类不再维护。提供它们是为使旧源代码能继续工作,但在未来发行中会移除它们。强烈建议不要在新代码中使用这些类。

C
QCanBusFactory
D
QDesktopWidget
QDirModel
QDiffuseMapMaterial ( Qt3DExtras )
QDiffuseSpecularMapMaterial ( Qt3DExtras )
G
QGLBuffer
QGLColormap
QGLContext
QGLFormat
QGLFramebufferObject
QGLFramebufferObjectFormat
QGLFunctions
QGLPixelBuffer
QGLShader
QGLShaderProgram
QGLWidget
QGeoServiceProviderFactory
QGraphicsItemAnimation
H
QHelpSearchQuery
M
QMatrix
N
QNormalDiffuseMapAlphaMaterial ( Qt3DExtras )
QNormalDiffuseMapMaterial ( Qt3DExtras )
QNormalDiffuseSpecularMapMaterial ( Qt3DExtras )
P
QPictureFormatPlugin
QPictureIO
QPhongAlphaMaterial ( Qt3DExtras )
QPhongMaterial ( Qt3DExtras )
S
QSGSimpleRectNode
QSGSimpleTextureNode
T
QTexturedMetalRoughMaterial ( Qt3DExtras )
W
QWaylandXdgPopupV5
QWaylandXdgShellV5
QWaylandXdgSurfaceV5

包含一个或多个被弃用成员的 C++ 类

下列 Qt C++ 类包含一个或多个现已过时的成员。过时成员不再维护。提供它们是为使旧源代码能继续工作,但在未来发行中会移除它们。强烈建议不要在新代码中使用这些过时成员。点击类以查看其弃用成员。

A
QAbstractEventDispatcher
QAbstractItemDelegate
QAbstractItemModel
QAbstractItemView
QAbstractPrintDialog
QAccessible
QApplication
B
QBitmap
QBuffer ( Qt3DRender )
C
QCamera
QChar
QChart
QColor
QColorDialog
QComboBox
QCommandLineOption
QCoreApplication
QCamera ( Qt3DRender )
D
QDBusConnection
QDBusConnectionInterface
QDataStream
QDate
QDateTime
QDesignerFormWindowManagerInterface
QDesktopServices
QDialog
QDir
QDrag
E
QEasingCurve
F
QFile
QFileDialog
QFileInfo
QFont
QFontDatabase
QFontInfo
QFontMetrics
QFontMetricsF
QForwardRenderer ( Qt3DExtras )
G
QGeoShape
QGlobalStatic
QGraphicsItem
QGraphicsScene
QGraphicsSvgItem
QGraphicsView
H
QHeaderView
QHelpIndexModel
QHelpSearchEngine
QHelpSearchQueryWidget
I
QIcon
QImage
QImageIOHandler
QImageWriter
QInputDialog
QItemSelectionRange
J
QJSEngine
QJSValue
K
QKeySequence
L
QLayout
QLibraryInfo
QLineF
QListWidget
QListWidgetItem
QLocale
QLowEnergyController
M
QMatrix4x4
QMediaPlayer
QMessageBox
QMetaProperty
QMetaType
QModelIndex
QMouseEvent
N
QNativeGestureEvent
QNetworkProxyQuery
O
QObject
QOpenGLFunctions
QOpenGLTexture
P
QPagedPaintDevice
QPaintEngineState
QPainter
QPainterPath
QPalette
QPdfWriter
QPersistentModelIndex
QPicture
QPixmap
QPixmapCache
QPlainTextEdit
QPrinter
QPrinterInfo
QProcess
Q
QQuaternion
QQuickPaintedItem
QQuickWindow
R
QRect
QRectF
QRegion
QResource
QRenderCapture ( Qt3DRender )
QRenderCaptureReply ( Qt3DRender )
S
QScriptContextInfo
QScriptEngine
QScriptValue
QSerialPort
QSerialPortInfo
QSettings
QSortFilterProxyModel
QSqlError
QSslCertificate
QSslSocket
QStandardItem
QStandardPaths
QString
QStringRef
QStyle
QStyleOption
QStyleOptionGraphicsItem
QStyleOptionProgressBar
QSurfaceFormat
QSysInfo
T
QTableView
QTableWidget
QTableWidgetItem
QTabletEvent
QTemporaryFile
QTextCharFormat
QTextCodec
QTextEdit
QTextLayout
QTextList
QTextOption
QThreadPool
QTouchEvent
QTransform
QTreeView
QTreeWidget
QTreeWidgetItem
U
QUrl
V
QVariant
QVirtualKeyboardInputContext
W
QWeakPointer
QWebSocketServer
QWheelEvent
QWidget
X
QXmlReader