- Qt参考文档
- Qt的类
- Qt的主要类
- Annotated Class Index
- 分组的类
- Member Function Index
- 关于Qt
- Qt的版本
- FAQs
- Window System-specific Notes
- 安装
- 如何学习Qt
- Qt教程一 —— 共十四步
- Qt教程二
- Examples
- Step-by-step Examples
- Key Features in Qt 3.0
- Porting to Qt 3.x
- 简体中文汉化日志
- Class Inheritance Hierarchy
- Qt Class Chart
- Header File Index
- 关于模块
- 画布模块
- 图标视图模块
- Network Module
- Qt OpenGL 三维绘图
- SQL模块
- 表格模块
- 工作区模块
- XML Module
- 概述与HOWTO
- Qt对象模型
- 信号和槽
- 窗口几何结构
- 事件和事件过滤器
- 以Qt国际化
- 调试技术
- Qt中的线程支持
- Qt插件HOWTO
- Pictures of Most Qt Widgets
- Company Information
- 如何报告bug
- Mailing Lists
- Qt的工具
- Qt翻译工具指南
- Qt助手和Qt参考文档
- qmake用户手册
- Standard Accelerator Keys
- Qt Free Edition License Agreement
- GNU General Public License
- Licenses for Code Used in Qt
- 抽象窗口部件类
- Analog Clock
- Walkthrough: A Tiny Editor Illustrating QActionGroup
- A Tiny Example Featuring QActionGroup
- Simple Addressbook
- Advanced Widgets
- Widget Appearance and Style
- Setting the Application Icon
- Main Window and Related Classes
- 介绍
- Qt参考文档介绍
- The 1 Minute Guide to using Qt Assistant
- Qt Assistant in More Detail
- Basic Widgets
- Biff (UNIX only)
- 如何生成大的稀疏QTable
- Buttons and Groupboxes
- A Complete Canvas Application
- Canvas Example
- Listviews with Checkable Items
- A small client-server example
- Collection Classes
- 坐标系统
- Cursors
- 写你自己的布局管理器
- Customized Layoutmanager
- Style overview
- Database Classes
- Format of the QDataStream Operators
- Digital Clock
- Qt Demo
- Qt 设计器
- Reference: Menu Options
- Reference: Toolbar Buttons
- Reference: Dialogs
- Reference: Wizards
- Reference: Windows
- Reference: The .ui File Format
- Creating a Qt Application
- Creating Main Windows with Actions, Toolbars and Menus
- The Designer Approach
- Subclassing and Dynamic Dialogs
- Creating Custom Widgets
- Creating Database Applications
- Customizing and Integrating Qt Designer
- Reference: Key Bindings
- Painting on the Desktop
- Dialog Classes
- A Directory Browser
- 拖放
- Drag And Drop Classes
- Drag and Drop
- Draw Demo
- Connect the Points
- Adding an accelerated graphics driver to Qt/Embedded
- Qt/Embedded Case Study - Cassiopeia E-100
- Character input in Qt/Embedded
- The Qt/Embedded-specific classes
- Qt/Embedded environment variables
- The Feature Definition File
- Fonts in Qt/Embedded
- Enabling the Linux Framebuffer
- Installing Qt/Embedded
- Qt/Embedded Performance Tuning
- Qt/Embedded Pointer Handling
- Porting your applications to Qt/Embedded
- Qt/嵌入式的虚拟帧缓冲
- Running Qt/Embedded applications
- Qt/Embedded as a VNC Server
- Environment Classes
- Event Classes
- Simple Filemanager
- 键盘焦点概述
- A Rectangle Draw "Benchmark"
- An FTP client
- Layout Management
- Grapher Plugin
- Graphics Classes
- Books about GUI
- Hello, World
- Help System
- Simple HTML Help Browser
- Internationalization
- Iconview
- iconview/simple_dd/main.cpp Example File
- iconview/simple_dd/main.h Example File
- Image Processing Classes
- Qt参考文档
- 安装Qt/Windows
- 安装Qt/X11
- Input/Output and Networking
- 布局类
- Layout Managers
- Conway's Game of Life
- Line Edits
- 介绍
- 发布管理器
- Translators
- Programmers
- Listboxes and Comboboxes
- Listbox Example
- Listviews
- A simple mail client
- Editors in a Motif form
- Editors in a Qt main window
- Editors in an Xt form
- makeqpf
- A MDI Application
- Using menus
- 元对象系统
- Miscellaneous Classes
- 使用元对象编译器
- Movies or the Story of the Animated GIF file
- Multimedia Classes
- Network Examples
- A simple NNTP implementation
- Qt-based LiveConnect Plugins
- LiveConnect Examples
- Object Model
- 对象树和对象所有权
- OpenGL Examples
- How to use X11 overlays with the Qt OpenGL extension
- Organizers
- Outliner to show use of DOM
- Picture
- Plugins
- Popup Widgets
- Table of Prime Numbers 2-9999
- Starting processes with IO redirection
- Progress Bar
- Progress Bar and Dialog Example
- 属性
- QAccel类
- qaccel.h包含文件
- QAccel成员列表
- QAccessible Class
- qaccessible.h Include File
- QAccessibleInterface Class
- QAccessibleInterface Member List
- QAccessible Member List
- QAccessibleObject Class
- QAccessibleObject Member List
- QAction类
- A Complete Application Window with Actions
- QAction Examples
- QActionGroup类
- QActionGroup成员列表
- qaction.h包含文件
- QAction成员列表
- QApplication类
- qapplication.h包含文件
- QApplication成员列表
- QAsciiCache Class
- qasciicache.h Include File
- QAsciiCacheIterator Class
- QAsciiCacheIterator Member List
- QAsciiCache Member List
- QAsciiDict Class
- qasciidict.h Include File
- QAsciiDictIterator Class
- QAsciiDictIterator Member List
- QAsciiDict Member List
- qasyncimageio.h Include File
- QAsyncIO Class
- qasyncio.h Include File
- QBitArray类
- qbitarray.h包含文件
- QBitArray成员列表
- QBitmap Class
- qbitmap.h Include File
- QBitmap Member List
- QBitVal Class
- QBitVal Member List
- QBoxLayout Class
- QBoxLayout Member List
- QBrush Class
- qbrush.h Include File
- QBrush Member List
- QBuffer类
- qbuffer.h包含文件
- QBuffer成员列表
- QButton类
- QButtonGroup类
- qbuttongroup.h包含文件
- QButtonGroup成员列表
- qbutton.h包含文件
- QButton成员列表
- QByteArray类
- QByteArray成员列表
- QCache Class
- qcache.h Include File
- QCacheIterator Class
- QCacheIterator Member List
- QCache Member List
- QCanvas Class
- QCanvasEllipse Class
- QCanvasEllipse Member List
- qcanvas.h Include File
- QCanvasItem Class
- QCanvasItemList Class
- QCanvasItemList Member List
- QCanvasItem Member List
- QCanvasLine Class
- QCanvasLine Member List
- QCanvas Member List
- QCanvasPixmap Class
- QCanvasPixmapArray Class
- QCanvasPixmapArray Member List
- QCanvasPixmap Member List
- QCanvasPolygon Class
- QCanvasPolygonalItem Class
- QCanvasPolygonalItem Member List
- QCanvasPolygon Member List
- QCanvasRectangle Class
- QCanvasRectangle Member List
- QCanvasSpline Class
- QCanvasSpline Member List
- QCanvasSprite Class
- QCanvasSprite Member List
- QCanvasText Class
- QCanvasText Member List
- QCanvasView Class
- QCanvasView Member List
- QCDEStyle Class
- qcdestyle.h Include File
- QCDEStyle Member List
- QChar Class
- QChar Member List
- QCharRef Class
- QCharRef Member List
- QCheckBox类
- qcheckbox.h包含文件
- QCheckBox成员列表
- QCheckListItem Class
- QCheckListItem Member List
- QCheckTableItem类
- QCheckTableItem成员列表
- QChildEvent Class
- QChildEvent Member List
- QClipboard类
- qclipboard.h包含文件
- QClipboard成员列表
- QCloseEvent Class
- QCloseEvent Member List
- QColor Class
- QColorDialog类
- qcolordialog.h包含文件
- QColorDialog成员列表
- QColorDrag Class
- QColorDrag Member List
- QColorGroup Class
- QColorGroup Member List
- qcolor.h Include File
- QColor Member List
- QComboBox Class
- qcombobox.h Include File
- QComboBox Member List
- QComboTableItem类
- QComboTableItem成员列表
- QCommonStyle Class
- qcommonstyle.h Include File
- QCommonStyle Member List
- QConstString Class
- QConstString Member List
- QContextMenuEvent Class
- QContextMenuEvent Member List
- QCopChannel Class
- qcopchannel_qws.h Include File
- QCopChannel Member List
- QCString类
- qcstring.h包含文件
- QCString成员列表
- QCursor Class
- qcursor.h Include File
- QCursor Member List
- QCustomEvent Class
- QCustomEvent Member List
- QCustomMenuItem Class
- QCustomMenuItem Member List
- QDataBrowser Class
- qdatabrowser.h Include File
- QDataBrowser Member List
- QDataPump Class
- QDataPump Member List
- QDataSink Class
- QDataSource Class
- QDataSource Member List
- QDataStream类
- qdatastream.h包含文件
- QDataStream成员列表
- QDataTable Class
- qdatatable.h Include File
- QDataTable Member List
- QDataView Class
- qdataview.h Include File
- QDataView Member List
- QDate类
- QDateEdit Class
- QDateEdit Member List
- QDate成员列表
- QDateTime类
- QDateTimeEdit Class
- qdatetimeedit.h Include File
- QDateTimeEdit Member List
- qdatetime.h包含文件
- QDateTime成员列表
- QDesktopWidget Class
- qdesktopwidget.h Include File
- QDesktopWidget Member List
- QDial Class
- qdial.h Include File
- QDial Member List
- QDialog类
- qdialog.h包含文件
- QDialog成员列表
- QDict Class
- qdict.h Include File
- QDictIterator Class
- QDictIterator Member List
- QDict Member List
- QDir类
- QDirectPainter Class
- qdirectpainter_qws.h Include File
- QDirectPainter Member List
- QDir
- qdir.h包含文件
- QDir成员列表
- QDns Class
- qdns.h Include File
- QDns Member List
- QDockArea类
- qdockarea.h包含文件
- QDockArea成员列表
- QDockWindow类
- qdockwindow.h包含文件
- QDockWindow成员列表
- QDomAttr Class
- QDomAttr Member List
- QDomCDATASection Class
- QDomCDATASection Member List
- QDomCharacterData Class
- QDomCharacterData Member List
- QDomComment Class
- QDomComment Member List
- QDomDocument Class
- QDomDocumentFragment Class
- QDomDocumentFragment Member List
- QDomDocument Member List
- QDomDocumentType Class
- QDomDocumentType Member List
- QDomElement Class
- QDomElement Member List
- QDomEntity Class
- QDomEntity Member List
- QDomEntityReference Class
- QDomEntityReference Member List
- qdom.h Include File
- QDomImplementation Class
- QDomImplementation Member List
- QDomNamedNodeMap Class
- QDomNamedNodeMap Member List
- QDomNode Class
- QDomNodeList Class
- QDomNodeList Member List
- QDomNode Member List
- QDomNotation Class
- QDomNotation Member List
- QDomProcessingInstruction Class
- QDomProcessingInstruction Member List
- QDomText Class
- QDomText Member List
- QDoubleValidator类
- QDoubleValidator成员列表
- QDragEnterEvent Class
- QDragEnterEvent Member List
- QDragLeaveEvent Class
- QDragLeaveEvent Member List
- QDragMoveEvent Class
- QDragMoveEvent Member List
- QDragObject Class
- qdragobject.h Include File
- QDragObject Member List
- qdrawutil.h Include File
- QDropEvent Class
- QDropEvent Member List
- QDropSite Class
- qdropsite.h Include File
- QEditorFactory Class
- qeditorfactory.h Include File
- QEditorFactory Member List
- QEmbed - File and Image Embedder
- QErrorMessage类
- qerrormessage.h包含文件
- QErrorMessage成员列表
- QEucJpCodec Class
- qeucjpcodec.h Include File
- QEucJpCodec Member List
- QEucKrCodec Class
- qeuckrcodec.h Include File
- QEucKrCodec Member List
- QEvent类
- qevent.h包含文件
- QEvent成员列表
- Font Displayer
- QFile类
- QFileDialog类
- qfiledialog.h包含文件
- QFileDialog成员列表
- qfile.h包含文件
- QFileIconProvider Class
- QFileIconProvider Member List
- QFileInfo Class
- qfileinfo.h Include File
- QFileInfo Member List
- QFile成员列表
- QFilePreview Class
- QFilePreview Member List
- QFocusData Class
- qfocusdata.h Include File
- QFocusData Member List
- QFocusEvent Class
- QFocusEvent Member List
- QFont Class
- QFontDatabase Class
- qfontdatabase.h Include File
- QFontDatabase Member List
- QFontDialog类
- qfontdialog.h包含文件
- QFontDialog成员列表
- QFont Examples
- qfont.h Include File
- QFontInfo Class
- qfontinfo.h Include File
- QFontInfo Member List
- QFontManager Class
- qfontmanager_qws.h Include File
- QFontManager Member List
- QFont Member List
- QFontMetrics Class
- qfontmetrics.h Include File
- QFontMetrics Member List
- QFrame类
- qframe.h包含文件
- QFrame成员列表
- QFtp类
- qftp.h包含文件
- QFtp成员列表
- QGb18030Codec Class
- qgb18030codec.h Include File
- QGb18030Codec Member List
- QGbkCodec Class
- QGbkCodec Member List
- qgfx_qws.h Include File
- QGL Class
- QGLayoutIterator Class
- QGLayoutIterator Member List
- QGLColormap Class
- qglcolormap.h Include File
- QGLColormap Member List
- QGLContext Class
- QGLContext Member List
- QGLFormat Class
- QGLFormat Member List
- qgl.h Include File
- QGL Member List
- qglobal.h Include File
- QGLWidget Class
- QGLWidget Member List
- QGrid类
- qgrid.h包含文件
- QGridLayout Class
- QGridLayout Member List
- QGrid成员列表
- QGridView Class
- qgridview.h Include File
- QGridView Member List
- QGroupBox类
- qgroupbox.h包含文件
- QGroupBox成员列表
- QGuardedPtr类
- qguardedptr.h包含文件
- QGuardedPtr成员列表
- QHBox Class
- qhbox.h Include File
- QHBoxLayout Class
- QHBoxLayout Member List
- QHBox Member List
- QHButtonGroup类
- qhbuttongroup.h包含文件
- QHButtonGroup成员列表
- QHeader类
- qheader.h包含文件
- QHeader成员列表
- QHebrewCodec Class
- QHebrewCodec Member List
- QHGroupBox类
- qhgroupbox.h包含文件
- QHGroupBox成员列表
- QHideEvent Class
- QHideEvent Member List
- QHostAddress Class
- qhostaddress.h Include File
- QHostAddress Member List
- QHttp Class
- qhttp.h Include File
- QHttp Member List
- QIconDrag Class
- QIconDragItem Class
- QIconDragItem Member List
- QIconDrag Member List
- QIconSet Class
- qiconset.h Include File
- QIconSet Member List
- QIconView Class
- qiconview.h Include File
- QIconViewItem Class
- QIconViewItem Member List
- QIconView Member List
- QImage Class
- QImageConsumer Class
- QImageConsumer Member List
- QImageDecoder Class
- QImageDecoder Member List
- QImageDrag Class
- QImageDrag Member List
- QImageFormat Class
- QImageFormat Member List
- QImageFormatPlugin Class
- qimageformatplugin.h Include File
- QImageFormatPlugin Member List
- QImageFormatType Class
- QImageFormatType Member List
- qimage.h Include File
- QImageIO Class
- QImageIO Member List
- QImage Member List
- QIMEvent Class
- QIMEvent Member List
- QInputDialog类
- qinputdialog.h包含文件
- QInputDialog成员列表
- QIntCache Class
- qintcache.h Include File
- QIntCacheIterator Class
- QIntCacheIterator Member List
- QIntCache Member List
- QIntDict Class
- qintdict.h Include File
- QIntDictIterator Class
- QIntDictIterator Member List
- QIntDict Member List
- QIntValidator类
- QIntValidator成员列表
- QIODevice类
- qiodevice.h包含文件
- QIODevice成员列表
- QIODeviceSource Class
- QJisCodec Class
- qjiscodec.h Include File
- QJisCodec Member List
- qkeyboard_qws.h Include File
- QKeyEvent Class
- QKeyEvent Member List
- QKeySequence Class
- qkeysequence.h Include File
- QKeySequence Member List
- QLabel Class
- qlabel.h Include File
- QLabel Member List
- QLayout Class
- qlayout.h Include File
- QLayoutItem Class
- QLayoutItem Member List
- QLayoutIterator Class
- QLayoutIterator Member List
- QLayout Member List
- QLCDNumber Class
- qlcdnumber.h Include File
- QLCDNumber Member List
- QLibrary Class
- qlibrary.h Include File
- QLibrary Member List
- QLineEdit Class
- qlineedit.h Include File
- QLineEdit Member List
- QListBox Class
- qlistbox.h Include File
- QListBoxItem Class
- QListBoxItem Member List
- QListBox Member List
- QListBoxPixmap Class
- QListBoxPixmap Member List
- QListBoxText Class
- QListBoxText Member List
- QListView Class
- qlistview.h Include File
- QListViewItem Class
- QListViewItemIterator Class
- QListViewItemIterator Member List
- QListViewItem Member List
- QListView Member List
- QLocalFs Class
- qlocalfs.h Include File
- QLocalFs Member List
- QLock Class
- qlock_qws.h Include File
- QLock Member List
- QMag
- QMainWindow类
- qmainwindow.h包含文件
- QMainWindow成员列表
- qmake的介绍
- 安装qmake
- 10分钟学会使用qmake
- qmake教程
- qmake概念
- qmake高级概念
- qmake Command Reference
- QMap Class
- QMapConstIterator Class
- QMapConstIterator Member List
- qmap.h Include File
- QMapIterator Class
- QMapIterator Member List
- QMap Member List
- QMemArray类
- qmemarray.h包含文件
- QMemArray成员列表
- QMenuBar Class
- qmenubar.h Include File
- QMenuBar Member List
- QMenuData Class
- qmenudata.h Include File
- QMenuData Member List
- QMessageBox类
- qmessagebox.h包含文件
- QMessageBox成员列表
- QMetaObject Class
- qmetaobject.h Include File
- QMetaObject Member List
- QMetaProperty Class
- QMetaProperty Member List
- qmime.h Include File
- QMimeSource Class
- QMimeSourceFactory Class
- QMimeSourceFactory Member List
- QMimeSource Member List
- QMotifPlusStyle Class
- qmotifplusstyle.h Include File
- QMotifPlusStyle Member List
- QMotifStyle Class
- qmotifstyle.h Include File
- QMotifStyle Member List
- QMouseEvent Class
- QMouseEvent Member List
- QMoveEvent Class
- QMoveEvent Member List
- QMovie Class
- qmovie.h Include File
- QMovie Member List
- QMultiLineEdit Class
- qmultilineedit.h Include File
- QMultiLineEdit Member List
- QMutex类
- qmutex.h包含文件
- QMutex成员列表
- qnamespace.h Include File
- qnetwork.h Example File
- QNetworkOperation Class
- QNetworkOperation Member List
- QNetworkProtocol Class
- qnetworkprotocol.h Include File
- QNetworkProtocol Member List
- qnp.h Include File
- QNPInstance Class
- QNPInstance Member List
- QNPlugin Class
- QNPlugin Member List
- QNPStream Class
- QNPStream Member List
- QNPWidget Class
- QNPWidget Member List
- QObject类
- QObjectCleanupHandler Class
- qobjectcleanuphandler.h Include File
- QObjectCleanupHandler Member List
- qobject.h包含文件
- QObjectList类
- qobjectlist.h包含文件
- QObjectListIt类
- QObjectListIt成员列表
- QObjectList成员列表
- QObject成员列表
- QPaintDevice类
- qpaintdevice.h包含文件
- QPaintDevice成员列表
- QPaintDeviceMetrics Class
- qpaintdevicemetrics.h Include File
- QPaintDeviceMetrics Member List
- QPainter类
- qpainter.h包含文件
- QPainter成员列表
- QPaintEvent Class
- QPaintEvent Member List
- QPair Class
- qpair.h Include File
- QPair Member List
- QPalette Class
- qpalette.h Include File
- QPalette Member List
- QPen Class
- qpen.h Include File
- QPen Member List
- QPicture Class
- qpicture.h Include File
- QPicture Member List
- QPixmap Class
- QPixmapCache Class
- qpixmapcache.h Include File
- QPixmapCache Member List
- qpixmap.h Include File
- QPixmap Member List
- QPlatinumStyle Class
- qplatinumstyle.h Include File
- QPlatinumStyle Member List
- QPNGImagePacker Class
- QPNGImagePacker Member List
- qpngio.h Include File
- QPoint类
- QPointArray Class
- qpointarray.h Include File
- QPointArray Member List
- qpoint.h包含文件
- QPoint成员列表
- QPopupMenu Class
- qpopupmenu.h Include File
- QPopupMenu Member List
- QPrinter Class
- qprinter.h Include File
- QPrinter Member List
- QProcess Class
- QProcess Examples
- qprocess.h Include File
- QProcess Member List
- QProgressBar Class
- qprogressbar.h Include File
- QProgressBar Member List
- QProgressDialog类
- qprogressdialog.h包含文件
- QProgressDialog成员列表
- QPtrCollection类
- qptrcollection.h包含文件
- QPtrCollection成员列表
- QPtrDict Class
- qptrdict.h Include File
- QPtrDictIterator Class
- QPtrDictIterator Member List
- QPtrDict Member List
- QPtrList类
- qptrlist.h包含文件
- QPtrListIterator类
- QPtrListIterator成员列表
- QPtrList成员列表
- QPtrQueue类
- qptrqueue.h包含文件
- QPtrQueue成员列表
- QPtrStack类
- qptrstack.h包含文件
- QPtrStack成员列表
- QPtrVector类
- qptrvector.h包含文件
- QPtrVector成员列表
- QPushButton类
- qpushbutton.h包含文件
- QPushButton成员列表
- QRadioButton Class
- qradiobutton.h Include File
- QRadioButton Member List
- QRangeControl类
- qrangecontrol.h包含文件
- QRangeControld成员列表
- QRect类
- qrect.h包含文件
- QRect成员列表
- QRegExp Class
- qregexp.h Include File
- QRegExp Member List
- QRegExpValidator Class
- QRegExpValidator Member List
- QRegion Class
- qregion.h Include File
- QRegion Member List
- QResizeEvent Class
- QResizeEvent Member List
- qrtlcodec.h Include File
- QScreen Class
- QScreen Member List
- QScrollBar类
- qscrollbar.h包含文件
- QScrollBar成员列表
- QScrollView类
- qscrollview.h包含文件
- QScrollView成员列表
- QSemaphore类
- qsemaphore.h包含文件
- QSemaphore成员列表
- QServerSocket Class
- qserversocket.h Include File
- QServerSocket Member List
- QSessionManager Class
- qsessionmanager.h Include File
- QSessionManager Member List
- QSettings Class
- qsettings.h Include File
- QSettings Member List
- QSGIStyle Class
- qsgistyle.h Include File
- QSGIStyle Member List
- QShowEvent Class
- QShowEvent Member List
- QSignal Class
- qsignal.h Include File
- QSignalMapper Class
- qsignalmapper.h Include File
- QSignalMapper Member List
- QSignal Member List
- QSimpleRichText Class
- qsimplerichtext.h Include File
- QSimpleRichText Member List
- QSize类
- QSizeGrip Class
- qsizegrip.h Include File
- QSizeGrip Member List
- qsize.h包含文件
- QSize成员列表
- QSizePolicy Class
- qsizepolicy.h Include File
- QSizePolicy Member List
- QSjisCodec Class
- qsjiscodec.h Include File
- QSjisCodec Member List
- QSlider Class
- qslider.h Include File
- QSlider Member List
- QSocket类
- QSocketDevice Class
- qsocketdevice.h Include File
- QSocketDevice Member List
- qsocket.h包含文件
- QSocket成员列表
- QSocketNotifier Class
- qsocketnotifier.h Include File
- QSocketNotifier Member List
- QSortedList Class
- qsortedlist.h Include File
- QSortedList Member List
- QSound类
- qsound.h包含文件
- QSound成员列表
- QSpacerItem Class
- QSpacerItem Member List
- QSpinBox Class
- qspinbox.h Include File
- QSpinBox Member List
- QSplitter Class
- qsplitter.h Include File
- QSplitter Member List
- QSql类
- QSqlCursor Class
- qsqlcursor.h Include File
- QSqlCursor Member List
- QSqlDatabase Class
- qsqldatabase.h Include File
- QSqlDatabase Member List
- QSqlDriver Class
- qsqldriver.h Include File
- QSqlDriver Member List
- QSqlDriverPlugin Class
- qsqldriverplugin.h Include File
- QSqlDriverPlugin Member List
- QSqlEditorFactory Class
- qsqleditorfactory.h Include File
- QSqlEditorFactory Member List
- QSqlError Class
- qsqlerror.h Include File
- QSqlError Member List
- QSqlField Class
- qsqlfield.h Include File
- QSqlFieldInfo Class
- QSqlFieldInfo Member List
- QSqlField Member List
- QSqlForm Class
- qsqlform.h Include File
- QSqlForm Member List
- qsql.h包含文件
- QSqlIndex Class
- qsqlindex.h Include File
- QSqlIndex Member List
- QSql成员列表
- QSqlPropertyMap Class
- qsqlpropertymap.h Include File
- QSqlPropertyMap Member List
- QSqlQuery类
- qsqlquery.h 包含文件
- QSqlQuery成员列表
- QSqlRecord Class
- qsqlrecord.h Include File
- QSqlRecordInfo Class
- QSqlRecordInfo Member List
- QSqlRecord Member List
- QSqlResult Class
- qsqlresult.h Include File
- QSqlResult Member List
- QStatusBar类
- qstatusbar.h包含文件
- QStatusBar成员列表
- QStoredDrag Class
- QStoredDrag Member List
- QStrIList Class
- QStrIList Member List
- QString类
- qstring.h包含文件
- QStringList Class
- qstringlist.h Include File
- QStringList Member List
- QString成员列表
- QStrList Class
- qstrlist.h Include File
- QStrListIterator Class
- QStrListIterator Member List
- QStrList Member List
- QStyle Class
- QStyleFactory Class
- qstylefactory.h Include File
- QStyleFactory Member List
- qstyle.h Include File
- QStyle Member List
- QStyleOption Class
- QStyleOption Member List
- QStylePlugin Class
- qstyleplugin.h Include File
- QStylePlugin Member List
- QStyleSheet Class
- qstylesheet.h Include File
- QStyleSheetItem Class
- QStyleSheetItem Member List
- QStyleSheet Member List
- Qt类
- QTab Class
- QTabBar Class
- qtabbar.h Include File
- QTabBar Member List
- QTabDialog类
- qtabdialog.h包含文件
- QTabDialog成员列表
- QTable类
- qtable.h包含文件
- QTableItem类
- QTableItem成员列表
- QTable成员列表
- QTableSelection类
- QTableSelection成员列表
- QTabletEvent Class
- QTabletEvent Member List
- QTab Member List
- QTabWidget Class
- qtabwidget.h Include File
- QTabWidget Member List
- QTextBrowser Class
- qtextbrowser.h Include File
- QTextBrowser Member List
- QTextCodec Class
- qtextcodec.h Include File
- QTextCodec Member List
- QTextCodecPlugin Class
- qtextcodecplugin.h Include File
- QTextCodecPlugin Member List
- QTextDecoder Class
- QTextDecoder Member List
- QTextDrag Class
- QTextDrag Member List
- QTextEdit类
- qtextedit.h包含文件
- QTextEdit成员列表
- QTextEncoder Class
- QTextEncoder Member List
- QTextIStream类
- QTextIStream成员列表
- QTextOStream类
- QTextOStream成员列表
- QTextStream类
- qtextstream.h包含文件
- QTextStream成员列表
- QTextView Class
- qtextview.h Include File
- QTextView Member List
- QThread类
- qthread.h包含文件
- QThread成员列表
- Display Images in Qt-supported Formats
- QTime类
- QTimeEdit Class
- QTimeEdit Member List
- QTime成员列表
- QTimer类
- QTimerEvent类
- QTimerEvent成员列表
- qtimer.h包含文件
- QTimer成员列表
- Qt模板库类
- Qt Member List
- QtMultiLineEdit Class
- qtmultilineedit.h Include File
- QtMultiLineEdit Member List
- QToolBar类
- qtoolbar.h包含文件
- QToolBar成员列表
- QToolButton类
- qtoolbutton.h包含文件
- QToolButton成员列表
- QToolTip Class
- QToolTipGroup Class
- QToolTipGroup Member List
- qtooltip.h Include File
- QToolTip Member List
- QTranslator Class
- qtranslator.h Include File
- QTranslator Member List
- QTranslatorMessage Class
- QTranslatorMessage Member List
- QTsciiCodec Class
- qtsciicodec.h Include File
- QTsciiCodec Member List
- QtTableView Class
- qttableview.h Include File
- QtTableView Member List
- Qt模板库
- QUriDrag Class
- QUriDrag Member List
- QUrl Class
- qurl.h Include File
- QUrlInfo Class
- qurlinfo.h Include File
- QUrlInfo Member List
- QUrl Member List
- QUrlOperator Class
- qurloperator.h Include File
- QUrlOperator Member List
- QValidator类
- qvalidator.h包含文件
- QValidator成员列表
- QVariant Class
- qvariant.h Include File
- QVariant Member List
- QVBox Class
- qvbox.h Include File
- QVBoxLayout Class
- QVBoxLayout Member List
- QVBox Member List
- QVButtonGroup类
- qvbuttongroup.h包含文件
- QVButtonGroup成员列表
- QVGroupBox类
- qvgroupbox.h包含文件
- QVGroupBox成员列表
- QWaitCondition类
- qwaitcondition.h包含文件
- QWaitCondition成员列表
- Simple HTML Browser
- QWhatsThis类
- qwhatsthis.h包含文件
- QWhatsThis成员列表
- QWheelEvent Class
- QWheelEvent Member List
- QWidget类
- QWidgetFactory Class
- qwidgetfactory.h Include File
- QWidgetFactory Member List
- qwidget.h包含文件
- QWidgetItem Class
- QWidgetItem Member List
- QWidget成员列表
- QWidgetPlugin Class
- qwidgetplugin.h Include File
- QWidgetPlugin Member List
- QWidgetStack类
- qwidgetstack.h包含文件
- QWidgetStack成员列表
- qwindowdefs.h Include File
- QWindowsMime Class
- QWindowsMime Member List
- QWindowsStyle Class
- qwindowsstyle.h Include File
- QWindowsStyle Member List
- qwindowsystem_qws.h Include File
- QWizard类
- qwizard.h包含文件
- QWizard成员列表
- QWMatrix Class
- qwmatrix.h Include File
- QWMatrix Member List
- QWorkspace类
- qworkspace.h包含文件
- QWorkspace成员列表
- Qt/Embedded
- QWSDecoration Class
- qwsdecoration_qws.h Include File
- QWSDecoration Member List
- QWSKeyboardHandler Class
- QWSKeyboardHandler Member List
- qwsmouse_qws.h Include File
- QWSMouseHandler Class
- QWSMouseHandler Member List
- QWSServer Class
- QWSServer Member List
- QWSWindow Class
- QWSWindow Member List
- QXmlAttributes Class
- QXmlAttributes Member List
- QXmlContentHandler Class
- QXmlContentHandler Member List
- QXmlDeclHandler Class
- QXmlDeclHandler Member List
- QXmlDefaultHandler Class
- QXmlDefaultHandler Member List
- QXmlDTDHandler Class
- QXmlDTDHandler Member List
- QXmlEntityResolver Class
- QXmlEntityResolver Member List
- QXmlErrorHandler Class
- QXmlErrorHandler Member List
- qxml.h Include File
- QXmlInputSource Class
- QXmlInputSource Member List
- QXmlLexicalHandler Class
- QXmlLexicalHandler Member List
- QXmlLocator Class
- QXmlLocator Member List
- QXmlNamespaceSupport Class
- QXmlNamespaceSupport Member List
- QXmlParseException Class
- QXmlParseException Member List
- QXmlReader Class
- QXmlSimpleReader Class
- QXmlSimpleReader Member List
- QXtApplication Class
- QXtApplication Member List
- qxt.h Include File
- QXtWidget Class
- QXtWidget Member List
- Range controls
- Richtext
- Rot13
- Simple Painting Application
- Qt的文本引擎
- Scrollview
- Session Management
- Implicitly and Explicitly Shared Classes
- Shared Classes
- Show Image
- Drag and Drop (Simple)
- Walkthrough: A Simple Application
- Walkthrough: A Simple Application with Actions
- A Complete Application Window
- A simple demonstration of QFont member functions
- Walkthrough: A simple QFont demonstration
- 小表格样例
- Sound Example
- Splitter
- SQL Module - Drivers
- Qt SQL Examples
- sql/overview/basicbrowsing2/main.cpp Example File
- sql/overview/basicbrowsing/main.cpp Example File
- sql/overview/basicdatamanip/main.cpp Example File
- sql/overview/connect1/main.cpp Example File
- sql/overview/create_connections/main.cpp Example File
- sql/overview/custom1/main.cpp Example File
- sql/overview/custom1/main.h Example File
- sql/overview/del/main.cpp Example File
- sql/overview/extract/main.cpp Example File
- sql/overview/form1/main.cpp Example File
- sql/overview/form2/main.h Example File
- sql/overview/insert/main.cpp Example File
- sql/overview/navigating/main.cpp Example File
- sql/overview/order1/main.cpp Example File
- sql/overview/order2/main.cpp Example File
- sql/overview/retrieve1/main.cpp Example File
- sql/overview/retrieve2/main.cpp Example File
- sql/overview/subclass1/main.cpp Example File
- sql/overview/subclass2/main.cpp Example File
- sql/overview/subclass2/main.h Example File
- sql/overview/subclass3/main.cpp Example File
- sql/overview/subclass3/main.h Example File
- sql/overview/subclass4/main.cpp Example File
- sql/overview/subclass4/main.h Example File
- sql/overview/subclass5/main.cpp Example File
- sql/overview/subclass5/main.h Example File
- sql/overview/table1/main.cpp Example File
- sql/overview/table2/main.cpp Example File
- sql/overview/table3/main.cpp Example File
- sql/overview/table3/main.h Example File
- sql/overview/table4/main.cpp Example File
- sql/overview/table4/main.h Example File
- sql/overview/update/main.cpp Example File
- SQL Table
- 表格样例
- t10/cannon.cpp Example File
- t10/cannon.h Example File
- t10/lcdrange.cpp Example File
- t10/lcdrange.h Example File
- t10/main.cpp Example File
- t11/cannon.cpp Example File
- t11/cannon.h Example File
- t11/lcdrange.cpp Example File
- t11/lcdrange.h Example File
- t11/main.cpp Example File
- t12/cannon.cpp Example File
- t12/cannon.h Example File
- t12/lcdrange.cpp Example File
- t12/lcdrange.h Example File
- t12/main.cpp Example File
- t13/cannon.cpp Example File
- t13/cannon.h Example File
- t13/gamebrd.cpp Example File
- t13/gamebrd.h Example File
- t13/lcdrange.cpp Example File
- t13/lcdrange.h Example File
- t13/main.cpp Example File
- t14/cannon.cpp Example File
- t14/cannon.h Example File
- t14/gamebrd.cpp Example File
- t14/gamebrd.h Example File
- t14/lcdrange.cpp Example File
- t14/lcdrange.h Example File
- t14/main.cpp Example File
- t7/lcdrange.cpp Example File
- t7/lcdrange.h Example File
- t7/main.cpp Example File
- t8/cannon.cpp Example File
- t8/cannon.h Example File
- t8/lcdrange.cpp Example File
- t8/lcdrange.h Example File
- t8/main.cpp Example File
- t9/cannon.cpp Example File
- t9/cannon.h Example File
- t9/lcdrange.cpp Example File
- t9/lcdrange.h Example File
- t9/main.cpp Example File
- Tabdialog
- table/bigtable/main.cpp Example File
- 表格例程
- Tablet Example
- A tiny SAX2 parser
- Demonstration of SAX2 features
- 为什么Qt不用模板来实现信号和槽?
- Tetrix
- Text Related Classes
- Text Edit Example
- Themes (Styles)
- 线程
- Tic Tac Toe
- 时间和日期
- 定时器
- A Tiny Example Featuring a Toggle Action
- Non-GUI Classes
- Advanced use of tool tips
- Trivial Example
- Qt教程一 —— 第一章:Hello, World!
- Qt教程一 —— 第二章:调用退出
- Qt教程一 —— 第三章:家庭价值
- Qt教程一 —— 第四章:使用窗口部件
- Qt教程一 —— 第五章:组装积木
- Qt教程一 —— 第六章:组装丰富的积木!
- Qt教程一 —— 第七章:一个事物领导另一个
- Qt教程一 —— 第八章:准备战斗
- Qt教程一 —— 第九章:你可以使用加农炮了
- Qt教程一 —— 第十章:像丝一样滑
- Qt教程一 —— 第十一章:给它一个炮弹
- Qt教程一 —— 第十一章:悬在空中的砖
- Qt教程一 —— 第十三章:游戏结束
- Qt教程一 —— 第十四章:面对墙壁
- 介绍
- 大图片
- 数据元素
- 主体很容易
- 实现图形用户界面
- 画布控制
- 文件处理
- 获得数据
- 设置选项
- 项目文件
- 完成
- User Interface Compiler (uic)
- 关于Unicode
- Widgets Example
- Wizard
- wizard/wizard.cpp Example File
- wizard/wizard.h Example File
- Transformed Graphics Demo
- Qt XML Examples
- Walkthrough: Using SAX2 features with the Qt XML classes
- Walkthrough: How to use the Qt SAX2 classes
- XML
- Qt Xt/Motif Support Extension
- 适应2000年问题声明
Qt类
Qt类是一个提供所需的像全局变量一样的大量不同的标识符的命名空间。
详情请见……
#include <qnamespace.h>
被QObject、QPixmap、QBrush、QCanvasItem、QCursor、QPainter、QEvent、QIconViewItem、QKeySequence、QListViewItem、QCustomMenuItem、QPen、QStyleSheetItem、QTab、QTableItem、QThread、QToolTip和QWhatsThis继承。
所有成员函数列表。
公有成员
- enum ButtonState { NoButton = 0x0000, LeftButton = 0x0001, RightButton = 0x0002, MidButton = 0x0004, MouseButtonMask = 0x00ff, ShiftButton = 0x0100, ControlButton = 0x0200, AltButton = 0x0400, MetaButton = 0x0800, KeyButtonMask = 0x0fff, Keypad = 0x4000 }
- enum Orientation { Horizontal = 0, Vertical }
- enum AlignmentFlags { AlignAuto = 0x0000, AlignLeft = 0x0001, AlignRight = 0x0002, AlignHCenter = 0x0004, AlignJustify = 0x0008, AlignHorizontal_Mask = AlignLeft | AlignRight | AlignHCenter | AlignJustify, AlignTop = 0x0010, AlignBottom = 0x0020, AlignVCenter = 0x0040, AlignVertical_Mask = AlignTop | AlignBottom | AlignVCenter, AlignCenter = AlignVCenter | AlignHCenter }
- enum TextFlags { SingleLine = 0x0080, DontClip = 0x0100, ExpandTabs = 0x0200, ShowPrefix = 0x0400, WordBreak = 0x0800, BreakAnywhere = 0x1000, DontPrint = 0x2000, NoAccel = 0x4000 }
- enum WidgetState { WState_Created = 0x00000001, WState_Disabled = 0x00000002, WState_Visible = 0x00000004, WState_ForceHide = 0x00000008, WState_OwnCursor = 0x00000010, WState_MouseTracking = 0x00000020, WState_CompressKeys = 0x00000040, WState_BlockUpdates = 0x00000080, WState_InPaintEvent = 0x00000100, WState_Reparented = 0x00000200, WState_ConfigPending = 0x00000400, WState_Resized = 0x00000800, WState_AutoMask = 0x00001000, WState_Polished = 0x00002000, WState_DND = 0x00004000, WState_Reserved0 = 0x00008000, WState_Reserved1 = 0x00010000, WState_Reserved2 = 0x00020000, WState_Reserved3 = 0x00040000, WState_Maximized = 0x00080000, WState_Minimized = 0x00100000, WState_ForceDisabled = 0x00200000, WState_Exposed = 0x00400000, WState_HasMouse = 0x00800000 }
- enum WidgetFlags { WType_TopLevel = 0x00000001, WType_Dialog = 0x00000002, WType_Popup = 0x00000004, WType_Desktop = 0x00000008, WType_Mask = 0x0000000f, WStyle_Customize = 0x00000010, WStyle_NormalBorder = 0x00000020, WStyle_DialogBorder = 0x00000040, WStyle_NoBorder = 0x00002000, WStyle_Title = 0x00000080, WStyle_SysMenu = 0x00000100, WStyle_Minimize = 0x00000200, WStyle_Maximize = 0x00000400, WStyle_MinMax = WStyle_Minimize | WStyle_Maximize, WStyle_Tool = 0x00000800, WStyle_StaysOnTop = 0x00001000, WStyle_ContextHelp = 0x00004000, WStyle_Reserved = 0x00008000, WStyle_Mask = 0x0000fff0, WDestructiveClose = 0x00010000, WPaintDesktop = 0x00020000, WPaintUnclipped = 0x00040000, WPaintClever = 0x00080000, WResizeNoErase = 0x00100000, WMouseNoMask = 0x00200000, WStaticContents = 0x00400000, WRepaintNoErase = 0x00800000, WX11BypassWM = 0x01000000, WWinOwnDC = 0x00000000, WGroupLeader = 0x02000000, WShowModal = 0x04000000, WNoMousePropagation = 0x08000000, WSubWindow = 0x10000000, WNorthWestGravity = WStaticContents, WType_Modal = WType_Dialog | WShowModal, WStyle_Dialog = WType_Dialog, WStyle_NoBorderEx = WStyle_NoBorder }
- enum ImageConversionFlags { ColorMode_Mask = 0x00000003, AutoColor = 0x00000000, ColorOnly = 0x00000003, MonoOnly = 0x00000002, AlphaDither_Mask = 0x0000000c, ThresholdAlphaDither = 0x00000000, OrderedAlphaDither = 0x00000004, DiffuseAlphaDither = 0x00000008, NoAlpha = 0x0000000c, Dither_Mask = 0x00000030, DiffuseDither = 0x00000000, OrderedDither = 0x00000010, ThresholdDither = 0x00000020, DitherMode_Mask = 0x000000c0, AutoDither = 0x00000000, PreferDither = 0x00000040, AvoidDither = 0x00000080 }
- enum BGMode { TransparentMode, OpaqueMode }
- enum PaintUnit { PixelUnit, LoMetricUnit, HiMetricUnit, LoEnglishUnit, HiEnglishUnit, TwipsUnit }
- enum GUIStyle { MacStyle, WindowsStyle, Win3Style, PMStyle, MotifStyle } (obsolete)
- enum Modifier { SHIFT = 0x00200000, CTRL = 0x00400000, ALT = 0x00800000, MODIFIER_MASK = 0x00e00000, UNICODE_ACCEL = 0x10000000, ASCII_ACCEL = UNICODE_ACCEL }
- enum Key { Key_Escape = 0x1000, Key_Tab = 0x1001, Key_Backtab = 0x1002, Key_BackTab = Key_Backtab, Key_Backspace = 0x1003, Key_BackSpace = Key_Backspace, Key_Return = 0x1004, Key_Enter = 0x1005, Key_Insert = 0x1006, Key_Delete = 0x1007, Key_Pause = 0x1008, Key_Print = 0x1009, Key_SysReq = 0x100a, Key_Home = 0x1010, Key_End = 0x1011, Key_Left = 0x1012, Key_Up = 0x1013, Key_Right = 0x1014, Key_Down = 0x1015, Key_Prior = 0x1016, Key_PageUp = Key_Prior, Key_Next = 0x1017, Key_PageDown = Key_Next, Key_Shift = 0x1020, Key_Control = 0x1021, Key_Meta = 0x1022, Key_Alt = 0x1023, Key_CapsLock = 0x1024, Key_NumLock = 0x1025, Key_ScrollLock = 0x1026, Key_F1 = 0x1030, Key_F2 = 0x1031, Key_F3 = 0x1032, Key_F4 = 0x1033, Key_F5 = 0x1034, Key_F6 = 0x1035, Key_F7 = 0x1036, Key_F8 = 0x1037, Key_F9 = 0x1038, Key_F10 = 0x1039, Key_F11 = 0x103a, Key_F12 = 0x103b, Key_F13 = 0x103c, Key_F14 = 0x103d, Key_F15 = 0x103e, Key_F16 = 0x103f, Key_F17 = 0x1040, Key_F18 = 0x1041, Key_F19 = 0x1042, Key_F20 = 0x1043, Key_F21 = 0x1044, Key_F22 = 0x1045, Key_F23 = 0x1046, Key_F24 = 0x1047, Key_F25 = 0x1048, Key_F26 = 0x1049, Key_F27 = 0x104a, Key_F28 = 0x104b, Key_F29 = 0x104c, Key_F30 = 0x104d, Key_F31 = 0x104e, Key_F32 = 0x104f, Key_F33 = 0x1050, Key_F34 = 0x1051, Key_F35 = 0x1052, Key_Super_L = 0x1053, Key_Super_R = 0x1054, Key_Menu = 0x1055, Key_Hyper_L = 0x1056, Key_Hyper_R = 0x1057, Key_Help = 0x1058, Key_Direction_L = 0x1059, Key_Direction_R = 0x1060, Key_Space = 0x20, Key_Any = Key_Space, Key_Exclam = 0x21, Key_QuoteDbl = 0x22, Key_NumberSign = 0x23, Key_Dollar = 0x24, Key_Percent = 0x25, Key_Ampersand = 0x26, Key_Apostrophe = 0x27, Key_ParenLeft = 0x28, Key_ParenRight = 0x29, Key_Asterisk = 0x2a, Key_Plus = 0x2b, Key_Comma = 0x2c, Key_Minus = 0x2d, Key_Period = 0x2e, Key_Slash = 0x2f, Key_0 = 0x30, Key_1 = 0x31, Key_2 = 0x32, Key_3 = 0x33, Key_4 = 0x34, Key_5 = 0x35, Key_6 = 0x36, Key_7 = 0x37, Key_8 = 0x38, Key_9 = 0x39, Key_Colon = 0x3a, Key_Semicolon = 0x3b, Key_Less = 0x3c, Key_Equal = 0x3d, Key_Greater = 0x3e, Key_Question = 0x3f, Key_At = 0x40, Key_A = 0x41, Key_B = 0x42, Key_C = 0x43, Key_D = 0x44, Key_E = 0x45, Key_F = 0x46, Key_G = 0x47, Key_H = 0x48, Key_I = 0x49, Key_J = 0x4a, Key_K = 0x4b, Key_L = 0x4c, Key_M = 0x4d, Key_N = 0x4e, Key_O = 0x4f, Key_P = 0x50, Key_Q = 0x51, Key_R = 0x52, Key_S = 0x53, Key_T = 0x54, Key_U = 0x55, Key_V = 0x56, Key_W = 0x57, Key_X = 0x58, Key_Y = 0x59, Key_Z = 0x5a, Key_BracketLeft = 0x5b, Key_Backslash = 0x5c, Key_BracketRight = 0x5d, Key_AsciiCircum = 0x5e, Key_Underscore = 0x5f, Key_QuoteLeft = 0x60, Key_BraceLeft = 0x7b, Key_Bar = 0x7c, Key_BraceRight = 0x7d, Key_AsciiTilde = 0x7e, Key_nobreakspace = 0x0a0, Key_exclamdown = 0x0a1, Key_cent = 0x0a2, Key_sterling = 0x0a3, Key_currency = 0x0a4, Key_yen = 0x0a5, Key_brokenbar = 0x0a6, Key_section = 0x0a7, Key_diaeresis = 0x0a8, Key_copyright = 0x0a9, Key_ordfeminine = 0x0aa, Key_guillemotleft = 0x0ab, Key_notsign = 0x0ac, Key_hyphen = 0x0ad, Key_registered = 0x0ae, Key_macron = 0x0af, Key_degree = 0x0b0, Key_plusminus = 0x0b1, Key_twosuperior = 0x0b2, Key_threesuperior = 0x0b3, Key_acute = 0x0b4, Key_mu = 0x0b5, Key_paragraph = 0x0b6, Key_periodcentered = 0x0b7, Key_cedilla = 0x0b8, Key_onesuperior = 0x0b9, Key_masculine = 0x0ba, Key_guillemotright = 0x0bb, Key_onequarter = 0x0bc, Key_onehalf = 0x0bd, Key_threequarters = 0x0be, Key_questiondown = 0x0bf, Key_Agrave = 0x0c0, Key_Aacute = 0x0c1, Key_Acircumflex = 0x0c2, Key_Atilde = 0x0c3, Key_Adiaeresis = 0x0c4, Key_Aring = 0x0c5, Key_AE = 0x0c6, Key_Ccedilla = 0x0c7, Key_Egrave = 0x0c8, Key_Eacute = 0x0c9, Key_Ecircumflex = 0x0ca, Key_Ediaeresis = 0x0cb, Key_Igrave = 0x0cc, Key_Iacute = 0x0cd, Key_Icircumflex = 0x0ce, Key_Idiaeresis = 0x0cf, Key_ETH = 0x0d0, Key_Ntilde = 0x0d1, Key_Ograve = 0x0d2, Key_Oacute = 0x0d3, Key_Ocircumflex = 0x0d4, Key_Otilde = 0x0d5, Key_Odiaeresis = 0x0d6, Key_multiply = 0x0d7, Key_Ooblique = 0x0d8, Key_Ugrave = 0x0d9, Key_Uacute = 0x0da, Key_Ucircumflex = 0x0db, Key_Udiaeresis = 0x0dc, Key_Yacute = 0x0dd, Key_THORN = 0x0de, Key_ssharp = 0x0df, Key_agrave = 0x0e0, Key_aacute = 0x0e1, Key_acircumflex = 0x0e2, Key_atilde = 0x0e3, Key_adiaeresis = 0x0e4, Key_aring = 0x0e5, Key_ae = 0x0e6, Key_ccedilla = 0x0e7, Key_egrave = 0x0e8, Key_eacute = 0x0e9, Key_ecircumflex = 0x0ea, Key_ediaeresis = 0x0eb, Key_igrave = 0x0ec, Key_iacute = 0x0ed, Key_icircumflex = 0x0ee, Key_idiaeresis = 0x0ef, Key_eth = 0x0f0, Key_ntilde = 0x0f1, Key_ograve = 0x0f2, Key_oacute = 0x0f3, Key_ocircumflex = 0x0f4, Key_otilde = 0x0f5, Key_odiaeresis = 0x0f6, Key_division = 0x0f7, Key_oslash = 0x0f8, Key_ugrave = 0x0f9, Key_uacute = 0x0fa, Key_ucircumflex = 0x0fb, Key_udiaeresis = 0x0fc, Key_yacute = 0x0fd, Key_thorn = 0x0fe, Key_ydiaeresis = 0x0ff, Key_unknown = 0xffff }
- enum ArrowType { UpArrow, DownArrow, LeftArrow, RightArrow }
- enum RasterOp { CopyROP, OrROP, XorROP, NotAndROP, EraseROP = NotAndROP, NotCopyROP, NotOrROP, NotXorROP, AndROP, NotEraseROP = AndROP, NotROP, ClearROP, SetROP, NopROP, AndNotROP, OrNotROP, NandROP, NorROP, LastROP = NorROP }
- enum PenStyle { NoPen, SolidLine, DashLine, DotLine, DashDotLine, DashDotDotLine, MPenStyle = 0x0f }
- enum PenCapStyle { FlatCap = 0x00, SquareCap = 0x10, RoundCap = 0x20, MPenCapStyle = 0x30 }
- enum PenJoinStyle { MiterJoin = 0x00, BevelJoin = 0x40, RoundJoin = 0x80, MPenJoinStyle = 0xc0 }
- enum BrushStyle { NoBrush, SolidPattern, Dense1Pattern, Dense2Pattern, Dense3Pattern, Dense4Pattern, Dense5Pattern, Dense6Pattern, Dense7Pattern, HorPattern, VerPattern, CrossPattern, BDiagPattern, FDiagPattern, DiagCrossPattern, CustomPattern = 24 }
- enum WindowsVersion { WV_32s = 0x0001, WV_95 = 0x0002, WV_98 = 0x0003, WV_Me = 0x0004, WV_DOS_based = 0x000f, WV_NT = 0x0010, WV_2000 = 0x0020, WV_XP = 0x0030, WV_NT_based = 0x00f0 }
- enum UIEffect { UI_General, UI_AnimateMenu, UI_FadeMenu, UI_AnimateCombo, UI_AnimateTooltip, UI_FadeTooltip }
- enum CursorShape { ArrowCursor, UpArrowCursor, CrossCursor, WaitCursor, IbeamCursor, SizeVerCursor, SizeHorCursor, SizeBDiagCursor, SizeFDiagCursor, SizeAllCursor, BlankCursor, SplitVCursor, SplitHCursor, PointingHandCursor, ForbiddenCursor, WhatsThisCursor, LastCursor = WhatsThisCursor, BitmapCursor = 24 }
- enum TextFormat { PlainText, RichText, AutoText }
- enum Dock { DockUnmanaged, DockTornOff, DockTop, DockBottom, DockRight, DockLeft, DockMinimized, Unmanaged = DockUnmanaged, TornOff = DockTornOff, Top = DockTop, Bottom = DockBottom, Right = DockRight, Left = DockLeft, Minimized = DockMinimized }
- enum DateFormat { TextDate, ISODate, LocalDate }
- enum BackgroundMode { FixedColor, FixedPixmap, NoBackground, PaletteForeground, PaletteButton, PaletteLight, PaletteMidlight, PaletteDark, PaletteMid, PaletteText, PaletteBrightText, PaletteBase, PaletteBackground, PaletteShadow, PaletteHighlight, PaletteHighlightedText, PaletteButtonText, PaletteLink, PaletteLinkVisited, X11ParentRelative }
- enum StringComparisonMode { CaseSensitive = 0x00001, BeginsWith = 0x00002, EndsWith = 0x00004, Contains = 0x00008, ExactMatch = 0x00010 }
- typedef void*HANDLE
详细描述
Qt类是一个提供所需的像全局变量一样的大量不同的标识符的命名空间。
通常情况下,你可以忽略这个类。QObject和一些其它类继承了它,所以在这个Qt命名空间中定义的所有标识符通常情况下都可以无限制的使用。
然而,有时你也许需要说Qt::black,而不仅仅是black,特别是在静态功能函数中(比如一些类工厂)。
参见杂项类。
成员类型文档
Qt::AlignmentFlags
这个枚举类型是用来描述对齐方式的。它包含水平和垂直标记。
水平标记有:
- Qt::AlignAuto - 根据语言对齐。对于绝大多数是左对齐,对于阿拉伯语和希伯莱语是右对齐。
- Qt::AlignLeft - 左对齐。
- Qt::AlignRight - 右对齐。
- Qt::AlignHCenter - 在可用空间中水平方向中间对齐。
- Qt::AlignJustify - 在可用空间中调整文本。
并不是在所有情况下都可以工作,并且在一些情况下会被解释成AlignAuto。
垂直标记有:
- Qt::AlignTop - 上对齐。
- Qt::AlignBottom - 下对齐。
- Qt::AlignVCenter - 在可用空间中垂直方向中间对齐。
你一次只能使用一次水平标记。这里有一个二维的标记:
- Qt::AlignCenter - 水平和垂直都中间对齐。
你每次最多使用一个水平标记和一个垂直标记。AlignCenter既是水平也是垂直。
掩码:
- Qt::AlignHorizontal_Mask
- Qt::AlignVertical_Mask
冲突的标记组合有未定义的意义。
Qt::ArrowType
- Qt::UpArrow
- Qt::DownArrow
- Qt::LeftArrow
- Qt::RightArrow
Qt::BGMode
背景模式
- Qt::TransparentMode
- Qt::OpaqueMode
Qt::BackgroundMode
这个枚举类型描述了窗口部件的背景是如何变化的,就像窗口部件的调色板变化一样。
这里的背景就是当paintEvent()被调用的时候窗口部件所包含的东西。为了使闪烁最小化,在窗口部件它应是最普通的颜色或者像素映射。对于PaletteBackground,使用colorGroup().brush(QColorGroup::Background)等等。这里也有三个特殊的值,列在了最后:
- Qt::PaletteForeground
- Qt::PaletteBackground
- Qt::PaletteButton
- Qt::PaletteLight
- Qt::PaletteMidlight
- Qt::PaletteDark
- Qt::PaletteMid
- Qt::PaletteText
- Qt::PaletteBrightText
- Qt::PaletteButtonText
- Qt::PaletteBase
- Qt::PaletteShadow
- Qt::PaletteHighlight
- Qt::PaletteHighlightedText
- Qt::NoBackground - 窗口部件在paintEvent()之前不被清空。如果窗口部件的绘画事件一直在所有的像素上绘画,使用这个模式既会很快也会没有闪烁。
- Qt::FixedColor - 窗口部件被一个固定的颜色清空,通常情况下不同于paletter()中的那些。使用setPaletteBackgroundColor()来设置。
- Qt::FixedPixmap - 窗口部件被一个固定的像素映射清空,通常情况下不同于paletter()中的那些。使用setPaletteBackgroundPixmap()来设置。
- Qt::PaletteLink
- Qt::PaletteLinkVisited
- Qt::X11ParentRelative - (仅供内部使用)
尽管FixedColor和FixedPixmap有时是正确的,如果你使用它们,当桌面颜色方案发生变化时,请测试一下你的应用程序。(在X11上,一个快速的测试方法是“./myapp -bg paleblue”。在Windows上,你必须使用控制面板。)
See also QWidget::backgroundMode, QWidget::backgroundMode, QWidget::setBackgroundPixmap() and QWidget::paletteBackgroundColor.
Qt::BrushStyle
- Qt::NoBrush
- Qt::SolidPattern
- Qt::Dense1Pattern
- Qt::Dense2Pattern
- Qt::Dense3Pattern
- Qt::Dense4Pattern
- Qt::Dense5Pattern
- Qt::Dense6Pattern
- Qt::Dense7Pattern
- Qt::HorPattern
- Qt::VerPattern
- Qt::CrossPattern
- Qt::BDiagPattern
- Qt::FDiagPattern
- Qt::DiagCrossPattern
- Qt::CustomPattern
Qt::ButtonState
这个枚举类型描述了鼠标和组合键的状态。
- Qt::NoButton - 当按键状态不指向任何按键时使用(参加QMouseEvent::button())。
- Qt::LeftButton - 如果左键被按,或者事件指向左键时被设置。(左键也许是左手用鼠标的右键。)
- Qt::RightButton - 右键。
- Qt::MidButton - 中键。
- Qt::ShiftButton - 键盘上的Shift键也被按下了。
- Qt::ControlButton - 键盘上的Ctrl键也被按下了。
- Qt::AltButton - 键盘上的Alt(或者Meta)键也被按下了。
- Qt::MetaButton - 键盘上的Meta键也被按下了。
- Qt::Keypad - 小键盘区的按键被按下了。
- Qt::KeyButtonMask - Shift键、Control键和Alt键的一个掩码。
- Qt::MouseButtonMask - 左键、右键和中键的一个掩码。
Qt::CursorShape
这个枚举类型定义了可以使用的大量光标。
- Qt::ArrowCursor - 标准箭头光标
- Qt::UpArrowCursor - 向上的箭头
- Qt::CrossCursor - 十字
- Qt::WaitCursor - 沙漏/观察
- Qt::IbeamCursor - 文本条目
- Qt::SizeVerCursor - 垂直重定义大小
- Qt::SizeHorCursor - 水平重定义大小
- Qt::SizeBDiagCursor - 斜线重定义大小 (/)
- Qt::SizeFDiagCursor - 斜线重定义大小 (\)
- Qt::SizeAllCursor - 所有方向重定义大小
- Qt::BlankCursor - 空白/不可见光标
- Qt::SplitVCursor - 垂直分隔
- Qt::SplitHCursor - 水平分隔
- Qt::PointingHandCursor - 一个指示手
- Qt::ForbiddenCursor - 一个带有斜线的圆圈
- Qt::WhatsThisCursor - 一个带有问好的箭头
- Qt::BitmapCursor
ArrowCursor是普通状态下窗口部件的默认值。
Qt::DateFormat
- Qt::TextDate - (默认的)Qt格式
- Qt::ISODate - ISO 8601扩展格式(YYYY-MM-DD,或者带有时间,YYYY-MM-DDTHH:MM:SS)
- Qt::LocalDate - 由本地决定的格式
Qt::Dock
每一个锚接窗口的位置可能是如下之一:
- Qt::DockTop - 在中心窗口部件之上,在菜单条之下。
- Qt::DockBottom - 在中心窗口部件之下,在状态条之上。
- Qt::DockLeft - 在中心窗口部件的左面。
- Qt::DockRight - 在中心窗口部件的右面。
- Qt::DockMinimized - 锚接窗口没有被显示(这是一个有效的“隐藏”锚接区域);所有被最小化的锚接窗口的处理被画在菜单条下面的一行里面。
- Qt::DockTornOff - 锚接窗口作为它自己的顶层窗口浮动着,通常在主窗口之上。
- Qt::DockUnmanaged - 不被QMainWindow管理。
Qt::GUIStyle
这个类型是废弃的。它被提供是为了让旧的代码能继续工作。我们强烈建议在新的代码中不要使用它了。
- Qt::WindowsStyle
- Qt::MotifStyle
- Qt::MacStyle
- Qt::Win3Style
- Qt::PMStyle
Qt::ImageConversionFlags
变换标记是下列这些值的位的或运算。被标记为“(默认)”的选项将在没有其它值被设置的时候使用(因为默认值是零):
Color/Mono preference (ignored for QBitmap)
- Qt::AutoColor - (默认)- 如果图片的深度为1并且仅包含黑色和白色像素,那么像素映射就是黑白的。
- Qt::ColorOnly - 像素映射被抖动/转换为本地显示深度。
- Qt::MonoOnly - 像素映射变为黑白的。如果需要,会使用所选择的抖动算法抖动它。
RGB通道的抖动模式选择
- Qt::DiffuseDither - (默认)- 一个高质量的抖动。
- Qt::OrderedDither - 一个更快的,更加规则的抖动。
- Qt::ThresholdDither - 没有抖动;最靠近的颜色将被使用。
Alpha通道的抖动模式选择
- Qt::ThresholdAlphaDither - (默认)- 没有抖动。
- Qt::OrderedAlphaDither - 一个更快的,更加规则的抖动。
- Qt::DiffuseAlphaDither - 一个高质量的抖动。
- Qt::NoAlpha - 不支持的。
颜色匹配与抖动选择
- Qt::PreferDither - (当转化为像素映射时的默认项)- 当图像被转化为8位时,总是抖动为32为图像。
- Qt::AvoidDither - (当打算保存为文件而转化时的默认项) - 只有在图像超过256色并且它将被转化为8位时,抖动32位图像。
- Qt::AutoDither - 不支持的。
下面这些不是可以直接使用的值,只是为上述类提供的掩码:
- Qt::ColorMode_Mask - 颜色模式的掩码。
- Qt::Dither_Mask - RGB通道的抖动模式的掩码。
- Qt::AlphaDither_Mask - Alpha通道的抖动模式的掩码。
- Qt::DitherMode_Mask - 在抖动中决定颜色匹配的选择的模式的掩码。
使用0就会把变化标记全部设置为默认选项。
Qt::Key
Qt中使用的键的名称。
- Qt::Key_Escape
- Qt::Key_Tab
- Qt::Key_Backtab
- Qt::Key_Backspace
- Qt::Key_Return
- Qt::Key_Enter
- Qt::Key_Insert
- Qt::Key_Delete
- Qt::Key_Pause
- Qt::Key_Print
- Qt::Key_SysReq
- Qt::Key_Home
- Qt::Key_End
- Qt::Key_Left
- Qt::Key_Up
- Qt::Key_Right
- Qt::Key_Down
- Qt::Key_Prior
- Qt::Key_Next
- Qt::Key_Shift
- Qt::Key_Control
- Qt::Key_Meta
- Qt::Key_Alt
- Qt::Key_CapsLock
- Qt::Key_NumLock
- Qt::Key_ScrollLock
- Qt::Key_F1
- Qt::Key_F2
- Qt::Key_F3
- Qt::Key_F4
- Qt::Key_F5
- Qt::Key_F6
- Qt::Key_F7
- Qt::Key_F8
- Qt::Key_F9
- Qt::Key_F10
- Qt::Key_F11
- Qt::Key_F12
- Qt::Key_F13
- Qt::Key_F14
- Qt::Key_F15
- Qt::Key_F16
- Qt::Key_F17
- Qt::Key_F18
- Qt::Key_F19
- Qt::Key_F20
- Qt::Key_F21
- Qt::Key_F22
- Qt::Key_F23
- Qt::Key_F24
- Qt::Key_F25
- Qt::Key_F26
- Qt::Key_F27
- Qt::Key_F28
- Qt::Key_F29
- Qt::Key_F30
- Qt::Key_F31
- Qt::Key_F32
- Qt::Key_F33
- Qt::Key_F34
- Qt::Key_F35
- Qt::Key_Super_L
- Qt::Key_Super_R
- Qt::Key_Menu
- Qt::Key_Hyper_L
- Qt::Key_Hyper_R
- Qt::Key_Help
- Qt::Key_Space
- Qt::Key_Any
- Qt::Key_Exclam
- Qt::Key_QuoteDbl
- Qt::Key_NumberSign
- Qt::Key_Dollar
- Qt::Key_Percent
- Qt::Key_Ampersand
- Qt::Key_Apostrophe
- Qt::Key_ParenLeft
- Qt::Key_ParenRight
- Qt::Key_Asterisk
- Qt::Key_Plus
- Qt::Key_Comma
- Qt::Key_Minus
- Qt::Key_Period
- Qt::Key_Slash
- Qt::Key_0
- Qt::Key_1
- Qt::Key_2
- Qt::Key_3
- Qt::Key_4
- Qt::Key_5
- Qt::Key_6
- Qt::Key_7
- Qt::Key_8
- Qt::Key_9
- Qt::Key_Colon
- Qt::Key_Semicolon
- Qt::Key_Less
- Qt::Key_Equal
- Qt::Key_Greater
- Qt::Key_Question
- Qt::Key_At
- Qt::Key_A
- Qt::Key_B
- Qt::Key_C
- Qt::Key_D
- Qt::Key_E
- Qt::Key_F
- Qt::Key_G
- Qt::Key_H
- Qt::Key_I
- Qt::Key_J
- Qt::Key_K
- Qt::Key_L
- Qt::Key_M
- Qt::Key_N
- Qt::Key_O
- Qt::Key_P
- Qt::Key_Q
- Qt::Key_R
- Qt::Key_S
- Qt::Key_T
- Qt::Key_U
- Qt::Key_V
- Qt::Key_W
- Qt::Key_X
- Qt::Key_Y
- Qt::Key_Z
- Qt::Key_BracketLeft
- Qt::Key_Backslash
- Qt::Key_BracketRight
- Qt::Key_AsciiCircum
- Qt::Key_Underscore
- Qt::Key_QuoteLeft
- Qt::Key_BraceLeft
- Qt::Key_Bar
- Qt::Key_BraceRight
- Qt::Key_AsciiTilde
- Qt::Key_nobreakspace
- Qt::Key_exclamdown
- Qt::Key_cent
- Qt::Key_sterling
- Qt::Key_currency
- Qt::Key_yen
- Qt::Key_brokenbar
- Qt::Key_section
- Qt::Key_diaeresis
- Qt::Key_copyright
- Qt::Key_ordfeminine
- Qt::Key_guillemotleft
- Qt::Key_notsign
- Qt::Key_hyphen
- Qt::Key_registered
- Qt::Key_macron
- Qt::Key_degree
- Qt::Key_plusminus
- Qt::Key_twosuperior
- Qt::Key_threesuperior
- Qt::Key_acute
- Qt::Key_mu
- Qt::Key_paragraph
- Qt::Key_periodcentered
- Qt::Key_cedilla
- Qt::Key_onesuperior
- Qt::Key_masculine
- Qt::Key_guillemotright
- Qt::Key_onequarter
- Qt::Key_onehalf
- Qt::Key_threequarters
- Qt::Key_questiondown
- Qt::Key_Agrave
- Qt::Key_Aacute
- Qt::Key_Acircumflex
- Qt::Key_Atilde
- Qt::Key_Adiaeresis
- Qt::Key_Aring
- Qt::Key_AE
- Qt::Key_Ccedilla
- Qt::Key_Egrave
- Qt::Key_Eacute
- Qt::Key_Ecircumflex
- Qt::Key_Ediaeresis
- Qt::Key_Igrave
- Qt::Key_Iacute
- Qt::Key_Icircumflex
- Qt::Key_Idiaeresis
- Qt::Key_ETH
- Qt::Key_Ntilde
- Qt::Key_Ograve
- Qt::Key_Oacute
- Qt::Key_Ocircumflex
- Qt::Key_Otilde
- Qt::Key_Odiaeresis
- Qt::Key_multiply
- Qt::Key_Ooblique
- Qt::Key_Ugrave
- Qt::Key_Uacute
- Qt::Key_Ucircumflex
- Qt::Key_Udiaeresis
- Qt::Key_Yacute
- Qt::Key_THORN
- Qt::Key_ssharp
- Qt::Key_agrave
- Qt::Key_aacute
- Qt::Key_acircumflex
- Qt::Key_atilde
- Qt::Key_adiaeresis
- Qt::Key_aring
- Qt::Key_ae
- Qt::Key_ccedilla
- Qt::Key_egrave
- Qt::Key_eacute
- Qt::Key_ecircumflex
- Qt::Key_ediaeresis
- Qt::Key_igrave
- Qt::Key_iacute
- Qt::Key_icircumflex
- Qt::Key_idiaeresis
- Qt::Key_eth
- Qt::Key_ntilde
- Qt::Key_ograve
- Qt::Key_oacute
- Qt::Key_ocircumflex
- Qt::Key_otilde
- Qt::Key_odiaeresis
- Qt::Key_division
- Qt::Key_oslash
- Qt::Key_ugrave
- Qt::Key_uacute
- Qt::Key_ucircumflex
- Qt::Key_udiaeresis
- Qt::Key_yacute
- Qt::Key_thorn
- Qt::Key_ydiaeresis
- Qt::Key_unknown
- Qt::Key_Direction_L - 仅供内部使用
- Qt::Key_Direction_R - 仅供内部使用
Qt::Modifier
这个枚举类型描述了Qt支持的键盘组合键。
- Qt::SHIFT - 所有标准键盘都提供了Shift键。
- Qt::CTRL - Ctrl键。
- Qt::ALT - 通常情况下是Alt键,但不是AltGr。
- Qt::MODIFIER_MASK - 是Shift、Ctrl和Alt的一个掩码。
- Qt::UNICODE_ACCEL - 加速键被指定作为一个Unicode代码值,不是作为一个Qt键。
Qt::Orientation
这个类型被用来使用表示一个对象的方位。
- Qt::Horizontal
- Qt::Vertical
举例来说,方位在QScrollBar中被使用。
Qt::PaintUnit
- Qt::PixelUnit
- Qt::LoMetricUnit - obsolete
- Qt::HiMetricUnit - obsolete
- Qt::LoEnglishUnit - obsolete
- Qt::HiEnglishUnit - obsolete
- Qt::TwipsUnit - obsolete
Qt::PenCapStyle
这个枚举类型定义了被Qt支持的画笔顶端风格,比如,线段顶端可以使用QPainter画出来。
- Qt::FlatCap - 一个方形的线段顶端,但不覆盖线段的终点。
- Qt::SquareCap - 一个方形的线段顶端,覆盖线段的终点并且超过它线段宽度的一半。
- Qt::RoundCap - 一个圆形的线段顶端。
- Qt::MPenCapStyle - 画笔顶端风格掩码。
Qt::PenJoinStyle
这个枚举类型定义了Qt支持的画笔连接风格,比如,两个相连的线段可以使用QPainter画出来。
- Qt::MiterJoin - 线的外边界线被延伸并形成一个角度,并且这个区域将被填充。
- Qt::BevelJoin - 在两个线之间的三角形缺口被填充。
- Qt::RoundJoin - 在两个线间的圆弧被填充。
- Qt::MPenJoinStyle - 画笔连接风格掩码。
Qt::PenStyle
这个枚举类型定义了画笔风格,可以由QPainter画出。这些风格有
- Qt::NoPen - 根本就没有线。比如,QPainter::drawRect()填充但没有绘制任何边界线。
- Qt::SolidLine - 一个简单的线。
- Qt::DashLine - 由一些像素分隔的短线。
- Qt::DotLine - 由一些像素分隔的点。
- Qt::DashDotLine - 轮流交替的点和短线。
- Qt::DashDotDotLine - 一个短线,两个点,一个短线,两个点。
- Qt::MPenStyle - 画笔风格的掩码。
Qt::RasterOp
这个枚举类型被用来描述把东西写到绘画设备上的方式。源(src)(你要写的)的每一个位和对应位的目标(dst)像素的相互作用。
- Qt::CopyROP - dst = src
- Qt::OrROP - dst = src OR dst
- Qt::XorROP - dst = src XOR dst
- Qt::NotAndROP - dst = (NOT src) AND dst
- Qt::EraseROP - NotAndROP的一个别名
- Qt::NotCopyROP - dst = NOT src
- Qt::NotOrROP - dst = (NOT src) OR dst
- Qt::NotXorROP - dst = (NOT src) XOR dst
- Qt::AndROP - dst = src AND dst
- Qt::NotEraseROP - AndROP的一个别名
- Qt::NotROP - dst = NOT dst
- Qt::ClearROP - dst = 0
- Qt::SetROP - dst = 1
- Qt::NopROP - dst = dst
- Qt::AndNotROP - dst = src AND (NOT dst)
- Qt::OrNotROP - dst = src OR (NOT dst)
- Qt::NandROP - dst = NOT (src AND dst)
- Qt::NorROP - dst = NOT (src OR dst)
到目前为止,最有用的是CopyROP和XorROP。
在Qt/Mac上,只有CopyROP、OrROP、XorROP、NotAndROP、NotCopyROP、NotOrROP、NotXorROP和AndROP被支持。
Qt::StringComparisonMode
这个枚举类型是当搜索一个条目时被用来设置字符串比较模式的。例如,这是在QListBox、QListView和QIconView中实现的。我们将用“目标”字符串来指代正在被搜索的字符串。
- Qt::CaseSensitive - 字符串必须区分大小写。
- Qt::ExactMatch - 目标字符串和搜索字符串必须正确地匹配。
- Qt::BeginsWith - 目标字符串必须是由搜索字符串开始的。
- Qt::EndsWith - 目标字符串必须是由搜索字符串结束的。
- Qt::Contains - 目标字符串包含搜索字符串。
如果你用这些标记的或来搜索(不包括CaseSensitive),搜索标准必须按下列顺序:ExactMatch、BeginsWith、EndsWith、Contains。
除非CaseSensitive被设置,匹配将是大小写不敏感的。CaseSensitive可以和其它任何标记使用或来组合。
Qt::TextFlags
这个枚举类型是用来定义一些修饰标记。这些标记中的一些只能在文章打印时有意义。
- Qt::SingleLine - 把所有的控制字符作为空格处理并且都打印在一行之内。
- Qt::DontClip - 如果不能在给定边界内存在,就打印到外面。
- Qt::ExpandTabs - 把U+0009字符(ASCII的制表符)字符移动到下一个制表符处。
- Qt::ShowPrefix - 显示字符“&P”作为P(作为实例,请看QButton)。如果要用“与”符号(“&”),请使用“&&”。
- Qt::WordBreak - 在适当的点换行,比如在字的分界处。
- Qt::BreakAnywhere - 在任何地方换行,甚至是字的当中。
- Qt::NoAccel - ShowPrefix的同义词。
- Qt::DontPrint - (内部的)
你可以按你所想用的数量来使用修饰标记,除了SingleLine和WordBreak不能在一起使用。
一个不适当的给定使用的标记(比如,在QGridLayout::addWidget()中使用ShowPrefix)一般被忽略。
Qt::TextFormat
这个枚举类型用在可以显示纯文本和多信息文本的窗口部件中,比如QLabel。它用于决定一个文本字符串是否应该解释为它自己或者其它。通过向setTextFormat()函数传递一个这样的枚举值就可以很简单的做到这一点。
- Qt::PlainText - 文本字符串被解释为纯文本字符串。
- Qt::RichText - 文本字符串通过使用当前的QStyleSheet::defaultSheet()被解释为多信息文本字符串。
- Qt::AutoText - 如果QStyleSheet::mightBeRichText()返回真,文本字符串被解释为RichText,否则为PlainText。
Qt::UIEffect
- Qt::UI_General
- Qt::UI_AnimateMenu
- Qt::UI_FadeMenu
- Qt::UI_AnimateCombo
- Qt::UI_AnimateTooltip
- Qt::UI_FadeTooltip
Qt::WidgetFlags
这个枚举类型是用来指定窗口部件的窗口系统属性的。它们通常情况下没用,但是在一些场合是必需的。这些标记中的一些依赖于窗口管理器是否支持它们。
主要类型有
- Qt::WType_TopLevel - 表明这个窗口部件是顶级的,通常有一个窗口系统框架和其它的。
- Qt::WType_Dialog - 表明这个窗口部件是顶级的,并且应该被修饰为一个对话框(比如,作为特色,在标题栏中没有最大化和最小化按钮)。如果你想使用它作为一个模式对话框,它应该从另一个窗口中被运行,或者有一个父窗口并且这个标记必须和WShowModal一起使用。如果你使用了模式对话框,这个对话框将会防止应用程序的其它顶级窗口获得任何输入。WType_Dialog隐含了WType_TopLevel。我们指的是作为一个二级窗口作为顶级窗口需要有父窗口。(请参考WGroupLeader。)
- Qt::WType_Popup - 表明这个窗口部件是一个弹出式的顶级窗口部件,比如它是模式的,但是供弹出菜单使用的窗口系统框架。WType_Popup隐含了WType_TopLevel。
- Qt::WType_Desktop - 表明这个窗口部件是着明。请参考下面的WPaintDesktop。WType_Desktop隐含了WType_TopLevel。
这里还有大量的标记可以用来自定义顶级窗口的外观。这些对于其它窗口没有任何效果的:
- Qt::WStyle_Customize - 表明WStyle_*标记应该被用来替换默认标记来构建窗口。
- Qt::WStyle_NormalBorder - 给窗口一个普通边界。这个不能和WStyle_DialogBorder或WStyle_NoBorder一起使用。
- Qt::WStyle_DialogBorder - 给窗口一个窄的对话框边界。这个不能和WStyle_NormalBorder或WStyle_NoBorder。
- Qt::WStyle_NoBorder - 产生一个没有边界的窗口。注意:用户不可以通过窗口系统来移动或者重新定义无边界窗口的大小。这个标记不可以和WStyle_NormalBorder或WStyle_DialogBorder一起使用。在Windows中,这个标记正常工作。在X11中,这个标记的结果取决于窗口管理器和它们对于MOTIF和/或NETWM提示的理解的能力:现在存在的现代窗口管理器中的绝大部分都可以处理这些。通过WX11BypassWM,你可以完全地绕过窗口管理器。这样的结果就是无边界窗口根本无法被管理了(比如,除非你手工地调用setActiveWindow()就无法获得键盘输入)。
- Qt::WStyle_NoBorderEx - 这个值是废弃的。它的效果和使用WStyle_NoBorder是一样的。
- Qt::WStyle_Title - 给窗口一个标题栏。
- Qt::WStyle_SysMenu - 添加一个窗口系统菜单。
- Qt::WStyle_Minimize - 添加一个最小化按钮。注意:在Windows下,为了使它能够正常工作,它必须和WStyle_SysMenu一起组合使用。
- Qt::WStyle_Maximize - 添加一个最大化按钮。注意:在Windows下,为了使它能够正常工作,它必须和WStyle_SysMenu一起组合使用。
- Qt::WStyle_MinMax - 和WStyle_Minimize|WStyle_Maximize是一样的。注意:在Windows下,为了使它能够正常工作,它必须和WStyle_SysMenu一起组合使用。
- Qt::WStyle_ContextHelp - 添加一个上下文帮助按钮到对话框上。
- Qt::WStyle_Tool - 使这个窗口变为一个工具窗口。一个工具窗口经常是一个比含有正常标题栏和休息的窗口更小的窗口,很典型的用于工具按钮的集合。如果它有一个父窗口,工具窗口将总被放在它的上面。如果它没有父窗口,你需要考虑同时传递一个WStyle_StaysOnTop。如果窗口系统支持它,一个工具窗口将会被使用更亮的框架来修饰。它也可以和WStyle_NoBorder一起组合使用。
- Qt::WStyle_StaysOnTop - 通知窗口系统这个窗口应该放在所有其它窗口的上面。
- Qt::WStyle_Dialog - 表明这个窗口是它的父窗口(比如,一个对话框)的逻辑子窗口。这个窗口将没有自己的任务栏条目并且通过窗口系统它将被保持在它的父窗口上面。通常当它的父窗口最小化时,它也最小化。如果没有自定义,这个窗口将会被一个稍微简单一些的标题栏修饰。这个标记被QDialog使用。
修饰标记:
- Qt::WDestructiveClose - 当窗口部件已经接收到closeEvent(),或者当窗口部件试图忽略closeEvent()但不能的时候,使Qt删除这个窗口部件。
- Qt::WPaintDesktop - 把桌面的绘制事件给这个窗口部件。
- Qt::WPaintUnclipped - 使在这个窗口部件上的所有的绘制操作都不能被省略。在它前面的这个窗口部件的子窗口部件或者其它窗口部件不能把它上面的绘制区域省略掉。
- Qt::WPaintClever - 表明Qt不应该试图优化重绘这个窗口部件,但是相反,在窗口系统上直接传递重绘事件。(这样往往会产生更多的事件和更小的重绘区域。)
- Qt::WResizeNoErase - 表明重新定义窗口部件的大小不应该删除它。这样允许比较聪明的重绘来避免闪烁。
- Qt::WMouseNoMask - 表明即使这个窗口部件有一个障板,它想获得它的整个矩形区域内的鼠标时间。
- Qt::WStaticContents - 表明这个窗口部件的内容是向西北方向对齐的并且是静态度。当重新定义大小的时候,这个窗口部件将只接收它自己之内的新的可见的部分的绘制事件。
- Qt::WRepaintNoErase - 表明这个窗口绘制所有的象素。更新、滚动和焦点改变都不会因此删除这个窗口部件。这样允许比较聪明的重绘来避免闪烁。
- Qt::WGroupLeader - 使这个窗口为一个组领导。一个组领导不应该有父窗口(比如,它应该是一个顶级窗口)。组领导的任何子孙窗口(直接的或见解的)都在它这个组里,其它窗口不在。如果你从一个组中显示一个次要的窗口(比如,显示一个最上端父窗口为组领导的窗口),对于组内其它窗口它是模式的,但对于组外的它是非模式的。
其它标记。
- Qt::WShowModal - 参看WType_Dialog
内部标记。
- Qt::WNoMousePropagation
- Qt::WStaticContents
- Qt::WStyle_Reserved
- Qt::WSubWindow
- Qt::WType_Modal
- Qt::WWinOwnDC
- Qt::WX11BypassWM
- Qt::WStyle_Mask
- Qt::WType_Mask
Qt::WidgetState
内部标记。
- Qt::WState_Created
- Qt::WState_Disabled
- Qt::WState_Visible
- Qt::WState_ForceHide
- Qt::WState_OwnCursor
- Qt::WState_MouseTracking
- Qt::WState_CompressKeys
- Qt::WState_BlockUpdates
- Qt::WState_InPaintEvent
- Qt::WState_Reparented
- Qt::WState_ConfigPending
- Qt::WState_Resized
- Qt::WState_AutoMask
- Qt::WState_Polished
- Qt::WState_DND
- Qt::WState_Reserved0
- Qt::WState_Reserved1
- Qt::WState_Reserved2
- Qt::WState_Reserved3
- Qt::WState_Maximized
- Qt::WState_Minimized
- Qt::WState_ForceDisabled
- Qt::WState_Exposed
- Qt::WState_HasMouse
Qt::WindowsVersion
- Qt::WV_32s
- Qt::WV_95
- Qt::WV_98
- Qt::WV_Me
- Qt::WV_DOS_based
- Qt::WV_NT
- Qt::WV_2000
- Qt::WV_XP
- Qt::WV_NT_based
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论