# QMatrix Class Reference
## [[QtGui](index.htm) module]
该系列QMatrix类指定坐标系的2D变换。[More...](#details)
### Methods
* `__init__ (self)`
* `__init__ (self, float m11, float m12, float m21, float m22, float dx, float dy)`
* `__init__ (self, QMatrix matrix)`
* `float det (self)`
* `float determinant (self)`
* `float dx (self)`
* `float dy (self)`
* `(QMatrix, bool invertible) inverted (self)`
* `bool isIdentity (self)`
* `bool isInvertible (self)`
* `float m11 (self)`
* `float m12 (self)`
* `float m21 (self)`
* `float m22 (self)`
* `(int tx, int ty) map (self, int x, int y)`
* `(float tx, float ty) map (self, float x, float y)`
* `QPoint map (self, QPoint p)`
* `QPointF map (self, QPointF p)`
* `QLine map (self, QLine l)`
* `QLineF map (self, QLineF l)`
* `QPolygonF map (self, QPolygonF a)`
* `QPolygon map (self, QPolygon a)`
* `QRegion map (self, QRegion r)`
* `QPainterPath map (self, QPainterPath p)`
* `QRect mapRect (self, QRect)`
* `QRectF mapRect (self, QRectF)`
* `QPolygon mapToPolygon (self, QRect r)`
* `reset (self)`
* `QMatrix rotate (self, float a)`
* `QMatrix scale (self, float sx, float sy)`
* `setMatrix (self, float m11, float m12, float m21, float m22, float dx, float dy)`
* `QMatrix shear (self, float sh, float sv)`
* `QMatrix translate (self, float dx, float dy)`
### Special Methods
* `bool __eq__ (self, QMatrix)`
* `QMatrix __imul__ (self, QMatrix)`
* `QMatrix __mul__ (self, QMatrix o)`
* `bool __ne__ (self, QMatrix)`
* * *
## Detailed Description
这个类可以醃制。
该系列QMatrix类指定坐标系的2D变换。
矩阵指定如何转换,缩放,剪切或旋转的坐标系,并绘制图形时,通常使用。的QMatrix ,在对比[QTransform](qtransform.html),不允许透视变换。[QTransform](qtransform.html)是Qt的建议转换类。
一个系列QMatrix对象可使用内置的[setMatrix](qmatrix.html#setMatrix)( )[scale](qmatrix.html#scale)( )[rotate](qmatrix.html#rotate)( )[translate](qmatrix.html#translate)()和[shear](qmatrix.html#shear)()函数。另外,它可以通过施加建[basic matrix operations](#basic-matrix-operations)。该矩阵也可以被定义时构造,并且它可以使用被重置为单位矩阵(默认值)的[reset](qmatrix.html#reset)()函数。
该系列QMatrix类支持的图形原语映射:一个给定的点,线,多边形,区域或画家路径可以映射到由坐标系定义_this_使用矩阵[map](qmatrix.html#map)()函数。在情况下的四边形的,它的坐标可以用转化的[mapRect](qmatrix.html#mapRect)()函数。矩形也可以被改造成一个_polygon_(映射到定义的坐标系_this_矩阵),使用[mapToPolygon](qmatrix.html#mapToPolygon)()函数。
系列QMatrix提供[isIdentity](qmatrix.html#isIdentity)()函数,如果矩阵是单位矩阵,并且该方法返回True,则[isInvertible](qmatrix.html#isInvertible)( )函数如果矩阵是非奇异的(即AB = BA = I ),它返回True 。该[inverted](qmatrix.html#inverted)( )函数返回一个倒置的副本_this_矩阵,如果它是可逆的(否则返回单位矩阵) 。此外,系列QMatrix提供[determinant](qmatrix.html#determinant)( )函数返回矩阵的行列式。
最后,该系列QMatrix类支持矩阵乘法,而类的对象可以被串流播放,以及比较。
### Rendering Graphics
在绘制图形时,矩阵定义转换,但实际转换是由绘图函数中执行[QPainter](qpainter.html)。
默认情况下,[QPainter](qpainter.html)操作相关联的设备自己的坐标系上。标准坐标系统[QPaintDevice](qpaintdevice.html)有其原点位于左上角的位置。该_x_值向右增大;_y_值向下增大。有关完整说明,请参阅[coordinate system](index.htm)文档。
[QPainter](qpainter.html)有功能转换,缩放,剪切和旋转坐标系不使用的QMatrix 。例如:
| ![](https://img.kancloud.cn/a9/37/a937c12f5b08aefdb93bf821a61d3e1d_115x114.png) |
```
void SimpleTransformation.paintEvent([QPaintEvent](qpaintevent.html) *)
{
[QPainter](qpainter.html) painter(this);
painter.setPen([QPen](qpen.html)([Qt](qt.html).blue, 1, [Qt](qt.html).DashLine));
painter.drawRect(0, 0, 100, 100);
painter.rotate(45);
painter.setFont([QFont](qfont.html)("Helvetica", 24));
painter.setPen([QPen](qpen.html)([Qt](qt.html).black, 1));
painter.drawText(20, 10, "QMatrix");
}
```
|
虽然这些功能都非常的方便,它可以更有效地建立的QMatrix和呼叫[QPainter.setMatrix](index.htm#setMatrix)( )如果你想执行一个以上的变换操作。例如:
| ![](https://img.kancloud.cn/75/c8/75c8ed8e46553cff471efd86952a32af_113x113.png) |
```
void CombinedTransformation.paintEvent([QPaintEvent](qpaintevent.html) *)
{
[QPainter](qpainter.html) painter(this);
painter.setPen([QPen](qpen.html)([Qt](qt.html).blue, 1, [Qt](qt.html).DashLine));
painter.drawRect(0, 0, 100, 100);
QMatrix matrix;
matrix.translate(50, 50);
matrix.rotate(45);
matrix.scale(0.5, 1.0);
painter.setMatrix(matrix);
painter.setFont([QFont](qfont.html)("Helvetica", 24));
painter.setPen([QPen](qpen.html)([Qt](qt.html).black, 1));
painter.drawText(20, 10, "QMatrix");
}
```
|
### Basic Matrix Operations
![](https://img.kancloud.cn/8c/81/8c812f40e058ca2118de621d99ccae84_210x209.png)
一个系列QMatrix对象包含一个3× 3的矩阵。该`dx`和`dy`元素指定水平和垂直平移。该`m11`和`m22`元素指定水平和垂直缩放。最后,本`m21`和`m12`元素指定水平和垂直_shearing_。
使用下列公式的QMatrix转换成在平面上的点到另一点:
```
x' = m11*x + m21*y + dx
y' = m22*y + m12*x + dy
```
点_(x, y)_是原来的点,并_(x', y')_是变换点。_(x', y')_可以转化回_(x, y)_通过执行在相同的操作[inverted](qmatrix.html#inverted)( )矩阵。
各矩阵元素可以构造矩阵时进行设置,或通过使用[setMatrix](qmatrix.html#setMatrix)( )函数以后。它们也可以通过使用操纵[translate](qmatrix.html#translate)( )[rotate](qmatrix.html#rotate)( )[scale](qmatrix.html#scale)()和[shear](qmatrix.html#shear)( )的便利功能,当前设定的值可以使用检索[m11](qmatrix.html#m11)( )[m12](qmatrix.html#m12)( )[m21](qmatrix.html#m21)( )[m22](qmatrix.html#m22)( )[dx](qmatrix.html#dx)()和[dy](qmatrix.html#dy)()函数。
翻译是最简单的改造。环境`dx`和`dy`将移动坐标系`dx`沿X轴和单位`dy`沿Y轴的单位。缩放可以通过设置来实现`m11`和`m22`。例如,设置`m11`为2,并`m22`1.5将增加一倍的高度,增加50%的宽度。该单位矩阵`m11`和`m22`设置为1(所有其他被设置为0)的点映射到其自身。剪切被控制`m12`和`m21`。这些元件设置值不同于零将扭转的坐标系。旋转通过仔细设置两个剪切因子和比例因子实现。
下面是使用基本的矩阵运算组合变换的例子:
| ![](https://img.kancloud.cn/75/c8/75c8ed8e46553cff471efd86952a32af_113x113.png) |
```
void BasicOperations.paintEvent([QPaintEvent](qpaintevent.html) *)
{
double pi = 3.14;
double a = pi/180 * 45.0;
double sina = sin(a);
double cosa = cos(a);
QMatrix translationMatrix(1, 0, 0, 1, 50.0, 50.0);
QMatrix rotationMatrix(cosa, sina, -sina, cosa, 0, 0);
QMatrix scalingMatrix(0.5, 0, 0, 1.0, 0, 0);
QMatrix matrix;
matrix = scalingMatrix * rotationMatrix * translationMatrix;
[QPainter](qpainter.html) painter(this);
painter.setPen([QPen](qpen.html)([Qt](qt.html).blue, 1, [Qt](qt.html).DashLine));
painter.drawRect(0, 0, 100, 100);
painter.setMatrix(matrix);
painter.setFont([QFont](qfont.html)("Helvetica", 24));
painter.setPen([QPen](qpen.html)([Qt](qt.html).black, 1));
painter.drawText(20, 10, "QMatrix");
}
```
|
* * *
## Method Documentation
```
QMatrix.__init__ (self)
```
构造一个单位矩阵。
所有的元素都设置为零,除了`m11`和`m22`(指定刻度),它被设置为1 。
**See also** [reset](qmatrix.html#reset)( ) 。
```
QMatrix.__init__ (self, float m11, float m12, float m21, float m22, float dx, float dy)
```
```
QMatrix.__init__ (self, QMatrix matrix)
```
构造一个矩阵的元素,_m11_,_m12_,_m21_,_m22_,_dx_和_dy_。
**See also** [setMatrix](qmatrix.html#setMatrix)( ) 。
```
float QMatrix.det (self)
```
```
float QMatrix.determinant (self)
```
返回矩阵的行列式。
此功能被引入Qt的4.6 。
```
float QMatrix.dx (self)
```
返回水平平移因子。
**See also** [translate](qmatrix.html#translate)()和[Basic Matrix Operations](qmatrix.html#basic-matrix-operations)。
```
float QMatrix.dy (self)
```
返回垂直平移因子。
**See also** [translate](qmatrix.html#translate)()和[Basic Matrix Operations](qmatrix.html#basic-matrix-operations)。
```
(QMatrix, bool invertible) QMatrix.inverted (self)
```
返回该矩阵的一个倒置的副本。
如果矩阵是奇异的(不可逆的) ,则返回的矩阵是单位矩阵。如果_invertible_是有效的(即不为0 ) ,将其值设置为True,如果矩阵是可逆的,否则设置为False 。
**See also** [isInvertible](qmatrix.html#isInvertible)( ) 。
```
bool QMatrix.isIdentity (self)
```
返回True如果矩阵为单位矩阵,否则返回False 。
**See also** [reset](qmatrix.html#reset)( ) 。
```
bool QMatrix.isInvertible (self)
```
返回True如果矩阵是可逆的,否则返回False 。
**See also** [inverted](qmatrix.html#inverted)( ) 。
```
float QMatrix.m11 (self)
```
返回水平缩放系数。
**See also** [scale](qmatrix.html#scale)()和[Basic Matrix Operations](qmatrix.html#basic-matrix-operations)。
```
float QMatrix.m12 (self)
```
返回垂直剪切因素。
**See also** [shear](qmatrix.html#shear)()和[Basic Matrix Operations](qmatrix.html#basic-matrix-operations)。
```
float QMatrix.m21 (self)
```
返回水平剪切的因素。
**See also** [shear](qmatrix.html#shear)()和[Basic Matrix Operations](qmatrix.html#basic-matrix-operations)。
```
float QMatrix.m22 (self)
```
返回垂直缩放系数。
**See also** [scale](qmatrix.html#scale)()和[Basic Matrix Operations](qmatrix.html#basic-matrix-operations)。
```
(int tx, int ty) QMatrix.map (self, int x, int y)
```
对应给定的坐标_x_和_y_成由该矩阵定义的坐标系。被放置在所得到的值*_tx_和*_ty_元。
则坐标值用下面的公式转化:
```
x' = m11*x + m21*y + dx
y' = m22*y + m12*x + dy
```
点(x ,y)是原始的点,和( X',Y ')是变换后的点。
**See also** [Basic Matrix Operations](qmatrix.html#basic-matrix-operations)。
```
(float tx, float ty) QMatrix.map (self, float x, float y)
```
```
QPoint QMatrix.map (self, QPoint p)
```
[
这是一个重载函数。
对应给定的坐标_x_和_y_成由该矩阵定义的坐标系。被放置在所得到的值*_tx_和*_ty_元。需要注意的是转换后的坐标四舍五入到最接近的整数。
](qpoint.html)
```
QPointF QMatrix.map (self, QPointF p)
```
[
这是一个重载函数。
](qpointf.html)
[创建并返回一个](qpointf.html)[QPointF](qpointf.html)对象,它是给定一个副本_point_,映射到由该矩阵定义的坐标系。
```
QLine QMatrix.map (self, QLine l)
```
[
这是一个重载函数。
](qline.html)
[创建并返回一个](qline.html)[QPoint](qpoint.html)对象,它是给定一个副本_point_,映射到由该矩阵定义的坐标系。需要注意的是转换后的坐标四舍五入到最接近的整数。
```
QLineF QMatrix.map (self, QLineF l)
```
[
这是一个重载函数。
](qlinef.html)
[创建并返回一个](qlinef.html)[QLineF](qlinef.html)对象,它是给定一个副本_line_,映射到由该矩阵定义的坐标系。
```
QPolygonF QMatrix.map (self, QPolygonF a)
```
[
这是一个重载函数。
](qpolygonf.html)
[创建并返回一个](qpolygonf.html)[QLine](qline.html)对象,它是给定一个副本_line_,映射到由该矩阵定义的坐标系。需要注意的是转换后的坐标四舍五入到最接近的整数。
```
QPolygon QMatrix.map (self, QPolygon a)
```
[
这是一个重载函数。
](qpolygon.html)
[创建并返回一个](qpolygon.html)[QPolygonF](qpolygonf.html)对象,它是给定一个副本_polygon_,映射到由该矩阵定义的坐标系。
```
QRegion QMatrix.map (self, QRegion r)
```
[
这是一个重载函数。
](qregion.html)
[创建并返回一个](qregion.html)[QPolygon](qpolygon.html)对象,它是给定一个副本_polygon_,映射到由该矩阵定义的坐标系。需要注意的是转换后的坐标四舍五入到最接近的整数。
```
QPainterPath QMatrix.map (self, QPainterPath p)
```
[
这是一个重载函数。
](qpainterpath.html)
[创建并返回一个](qpainterpath.html)[QRegion](qregion.html)对象,它是给定一个副本_region_,映射到由该矩阵定义的坐标系。
调用此方法可以是相当昂贵的,如果旋转或剪切的使用。
```
QRect QMatrix.mapRect (self, QRect)
```
[](qrect.html)
[创建并返回一个](qrect.html)[QRectF](qrectf.html)对象,它是给定一个副本_rectangle_,映射到由该矩阵定义的坐标系。
矩形的坐标是用下面的公式转化:
```
x' = m11*x + m21*y + dx
y' = m22*y + m12*x + dy
```
如果已经指定旋转或剪切,这个函数返回_bounding_矩形。要检索的精确区域定_rectangle_映射到,使用[mapToPolygon](qmatrix.html#mapToPolygon)( )函数来代替。
**See also** [mapToPolygon](qmatrix.html#mapToPolygon)()和[Basic Matrix Operations](qmatrix.html#basic-matrix-operations)。
```
QRectF QMatrix.mapRect (self, QRectF)
```
[
这是一个重载函数。
](qrectf.html)
[创建并返回一个](qrectf.html)[QRect](qrect.html)对象,它是给定一个副本_rectangle_,映射到由该矩阵定义的坐标系。需要注意的是转换后的坐标四舍五入到最接近的整数。
```
QPolygon QMatrix.mapToPolygon (self, QRect r)
```
[](qpolygon.html)
[创建并返回一个](qpolygon.html)[QPolygon](qpolygon.html)给定的表示_rectangle_,映射到由该矩阵定义的坐标系。
矩形的坐标是用下面的公式转化:
```
x' = m11*x + m21*y + dx
y' = m22*y + m12*x + dy
```
多边形和矩形的行为略有不同,当转换(由于四舍五入的整数) ,所以`matrix.map(QPolygon(rectangle))`并不总是相同`matrix.mapToPolygon(rectangle)`。
**See also** [mapRect](qmatrix.html#mapRect)()和[Basic Matrix Operations](qmatrix.html#basic-matrix-operations)。
```
QMatrix.reset (self)
```
重置矩阵单位矩阵,即所有元素都设置为零,除非`m11`和`m22`(指定刻度),其被设置为1 。
**See also** [QMatrix](qmatrix.html#QMatrix)( )[isIdentity](qmatrix.html#isIdentity)()和[Basic Matrix Operations](qmatrix.html#basic-matrix-operations)。
```
QMatrix QMatrix.rotate (self, float a)
```
[
旋转坐标系中给出_degrees_逆时针。
](qmatrix.html)
[请注意,如果你申请一个](qmatrix.html)[QMatrix](qmatrix.html)在小窗口坐标定义的一个点,该旋转方向将因为y轴指向下是顺时针。
返回一个引用到矩阵。
**See also** [setMatrix](qmatrix.html#setMatrix)( ) 。
```
QMatrix QMatrix.scale (self, float sx, float sy)
```
[
通过缩放坐标系_sx_水平和_sy_垂直,并返回一个引用到矩阵。
](qmatrix.html)
[**See also**](qmatrix.html) [setMatrix](qmatrix.html#setMatrix)( ) 。
```
QMatrix.setMatrix (self, float m11, float m12, float m21, float m22, float dx, float dy)
```
设置矩阵的元素为指定的值,_m11_,_m12_,_m21_,_m22_,_dx_和_dy_。
请注意,此功能取代了以前的值。[QMatrix](qmatrix.html)提供[translate](qmatrix.html#translate)( )[rotate](qmatrix.html#rotate)( )[scale](qmatrix.html#scale)()和[shear](qmatrix.html#shear)( )方便的功能来操作基于当前定义的坐标系统中的各种矩阵元素。
**See also** [QMatrix](qmatrix.html#QMatrix)( ) 。
```
QMatrix QMatrix.shear (self, float sh, float sv)
```
[
通过剪坐标系_sh_水平和_sv_垂直,并返回一个引用到矩阵。
](qmatrix.html)
[**See also**](qmatrix.html) [setMatrix](qmatrix.html#setMatrix)( ) 。
```
QMatrix QMatrix.translate (self, float dx, float dy)
```
[
移动的坐标系统_dx_沿x轴和_dy_沿着y轴,并返回引用到矩阵。
](qmatrix.html)
[**See also**](qmatrix.html) [setMatrix](qmatrix.html#setMatrix)( ) 。
```
bool QMatrix.__eq__ (self, QMatrix)
```
```
QMatrix QMatrix.__imul__ (self, QMatrix)
```
[](qmatrix.html)
```
QMatrix QMatrix.__mul__ (self, QMatrix o)
```
[
```
bool QMatrix.__ne__ (self, QMatrix)
```
](qmatrix.html)
- PyQt4 中文文档
- PyQt Class Reference
- QAbstractAnimation Class Reference
- QAbstractButton Class Reference
- QAbstractEventDispatcher Class Reference
- QAbstractExtensionFactory Class Reference
- QAbstractExtensionManager Class Reference
- QAbstractFileEngine Class Reference
- QAbstractFileEngineHandler Class Reference
- QAbstractFileEngineIterator Class Reference
- QAbstractFormBuilder Class Reference
- QAbstractGraphicsShapeItem Class Reference
- QAbstractItemDelegate Class Reference
- QAbstractItemModel Class Reference
- QAbstractItemView Class Reference
- QAbstractListModel Class Reference
- QAbstractMessageHandler Class Reference
- QAbstractNetworkCache Class Reference
- QAbstractPrintDialog Class Reference
- QAbstractProxyModel Class Reference
- QAbstractScrollArea Class Reference
- QAbstractSlider Class Reference
- QAbstractSocket Class Reference
- QAbstractSpinBox Class Reference
- QAbstractState Class Reference
- QAbstractTableModel Class Reference
- QAbstractTextDocumentLayout Class Reference
- QAbstractTransition Class Reference
- QAbstractUriResolver Class Reference
- QAbstractVideoBuffer Class Reference
- QAbstractVideoSurface Class Reference
- QAbstractXmlNodeModel Class Reference
- QAbstractXmlReceiver Class Reference
- QAction Class Reference
- QActionEvent Class Reference
- QActionGroup Class Reference
- QAnimationGroup Class Reference
- QApplication Class Reference
- QAssistantClient Class Reference
- QAudio Class Reference
- QAudioDeviceInfo Class Reference
- QAudioFormat Class Reference
- QAudioInput Class Reference
- QAudioOutput Class Reference
- QAuthenticator Class Reference
- QBasicTimer Class Reference
- QBitArray Class Reference
- QBitmap Class Reference
- QBoxLayout Class Reference
- QBrush Class Reference
- QBuffer Class Reference
- QButtonGroup Class Reference
- QByteArray Class Reference
- QByteArrayMatcher Class Reference
- QCalendarWidget Class Reference
- QChar Class Reference
- QCheckBox Class Reference
- QChildEvent Class Reference
- QClipboard Class Reference
- QCloseEvent Class Reference
- QColor Class Reference
- QColorDialog Class Reference
- QColumnView Class Reference
- QComboBox Class Reference
- QCommandLinkButton Class Reference
- QCommonStyle Class Reference
- QCompleter Class Reference
- QConicalGradient Class Reference
- QContextMenuEvent Class Reference
- QCoreApplication Class Reference
- QCryptographicHash Class Reference
- QCursor Class Reference
- QDataStream Class Reference
- QDataWidgetMapper Class Reference
- QDate Class Reference
- QDateEdit Class Reference
- QDateTime Class Reference
- QDateTimeEdit Class Reference
- QDBus Class Reference
- QDBusAbstractAdaptor Class Reference
- QDBusAbstractInterface Class Reference
- QDBusArgument Class Reference
- QDBusConnection Class Reference
- QDBusConnectionInterface Class Reference
- QDBusError Class Reference
- QDBusInterface Class Reference
- QDBusMessage Class Reference
- QDBusObjectPath Class Reference
- QDBusPendingCall Class Reference
- QDBusPendingCallWatcher Class Reference
- QDBusPendingReply Class Reference
- QDBusReply Class Reference
- QDBusServiceWatcher Class Reference
- QDBusSignature Class Reference
- QDBusUnixFileDescriptor Class Reference
- QDBusVariant Class Reference
- QDeclarativeComponent Class Reference
- QDeclarativeContext Class Reference
- QDeclarativeEngine Class Reference
- QDeclarativeError Class Reference
- QDeclarativeExpression Class Reference
- QDeclarativeExtensionPlugin Class Reference
- QDeclarativeImageProvider Class Reference
- QDeclarativeItem Class Reference
- QDeclarativeListReference Class Reference
- QDeclarativeNetworkAccessManagerFactory Class Reference
- QDeclarativeParserStatus Class Reference
- QDeclarativeProperty Class Reference
- QDeclarativePropertyMap Class Reference
- QDeclarativePropertyValueSource Class Reference
- QDeclarativeScriptString Class Reference
- QDeclarativeView Class Reference
- QDesignerActionEditorInterface Class Reference
- QDesignerContainerExtension Class Reference
- QDesignerCustomWidgetCollectionInterface Class Reference
- QDesignerCustomWidgetInterface Class Reference
- QDesignerFormEditorInterface Class Reference
- QDesignerFormWindowCursorInterface Class Reference
- QDesignerFormWindowInterface Class Reference
- QDesignerFormWindowManagerInterface Class Reference
- QDesignerMemberSheetExtension Class Reference
- QDesignerObjectInspectorInterface Class Reference
- QDesignerPropertyEditorInterface Class Reference
- QDesignerPropertySheetExtension Class Reference
- QDesignerTaskMenuExtension Class Reference
- QDesignerWidgetBoxInterface Class Reference
- QDesktopServices Class Reference
- QDesktopWidget Class Reference
- QDial Class Reference
- QDialog Class Reference
- QDialogButtonBox Class Reference
- QDir Class Reference
- QDirIterator Class Reference
- QDirModel Class Reference
- QDockWidget Class Reference
- QDomAttr Class Reference
- QDomCDATASection Class Reference
- QDomCharacterData Class Reference
- QDomComment Class Reference
- QDomDocument Class Reference
- QDomDocumentFragment Class Reference
- QDomDocumentType Class Reference
- QDomElement Class Reference
- QDomEntity Class Reference
- QDomEntityReference Class Reference
- QDomImplementation Class Reference
- QDomNamedNodeMap Class Reference
- QDomNode Class Reference
- QDomNodeList Class Reference
- QDomNotation Class Reference
- QDomProcessingInstruction Class Reference
- QDomText Class Reference
- QDoubleSpinBox Class Reference
- QDoubleValidator Class Reference
- QDrag Class Reference
- QDragEnterEvent Class Reference
- QDragLeaveEvent Class Reference
- QDragMoveEvent Class Reference
- QDropEvent Class Reference
- QDynamicPropertyChangeEvent Class Reference
- QEasingCurve Class Reference
- QElapsedTimer Class Reference
- QErrorMessage Class Reference
- QEvent Class Reference
- QEventLoop Class Reference
- QEventTransition Class Reference
- QExtensionFactory Class Reference
- QExtensionManager Class Reference
- QFile Class Reference
- QFileDialog Class Reference
- QFileIconProvider Class Reference
- QFileInfo Class Reference
- QFileOpenEvent Class Reference
- QFileSystemModel Class Reference
- QFileSystemWatcher Class Reference
- QFinalState Class Reference
- QFocusEvent Class Reference
- QFocusFrame Class Reference
- QFont Class Reference
- QFontComboBox Class Reference
- QFontDatabase Class Reference
- QFontDialog Class Reference
- QFontInfo Class Reference
- QFontMetrics Class Reference
- QFontMetricsF Class Reference
- QFormBuilder Class Reference
- QFormLayout Class Reference
- QFrame Class Reference
- QFSFileEngine Class Reference
- QFtp Class Reference
- QGenericArgument Class Reference
- QGenericReturnArgument Class Reference
- QGesture Class Reference
- QGestureEvent Class Reference
- QGestureRecognizer Class Reference
- QGL Class Reference
- QGLBuffer Class Reference
- QGLColormap Class Reference
- QGLContext Class Reference
- QGLFormat Class Reference
- QGLFramebufferObject Class Reference
- QGLFramebufferObjectFormat Class Reference
- QGLPixelBuffer Class Reference
- QGLShader Class Reference
- QGLShaderProgram Class Reference
- QGLWidget Class Reference
- QGlyphRun Class Reference
- QGradient Class Reference
- QGraphicsAnchor Class Reference
- QGraphicsAnchorLayout Class Reference
- QGraphicsBlurEffect Class Reference
- QGraphicsColorizeEffect Class Reference
- QGraphicsDropShadowEffect Class Reference
- QGraphicsEffect Class Reference
- QGraphicsEllipseItem Class Reference
- QGraphicsGridLayout Class Reference
- QGraphicsItem Class Reference
- QGraphicsItemAnimation Class Reference
- QGraphicsItemGroup Class Reference
- QGraphicsLayout Class Reference
- QGraphicsLayoutItem Class Reference
- QGraphicsLinearLayout Class Reference
- QGraphicsLineItem Class Reference
- QGraphicsObject Class Reference
- QGraphicsOpacityEffect Class Reference
- QGraphicsPathItem Class Reference
- QGraphicsPixmapItem Class Reference
- QGraphicsPolygonItem Class Reference
- QGraphicsProxyWidget Class Reference
- QGraphicsRectItem Class Reference
- QGraphicsRotation Class Reference
- QGraphicsScale Class Reference
- QGraphicsScene Class Reference
- QGraphicsSceneContextMenuEvent Class Reference
- QGraphicsSceneDragDropEvent Class Reference
- QGraphicsSceneEvent Class Reference
- QGraphicsSceneHelpEvent Class Reference
- QGraphicsSceneHoverEvent Class Reference
- QGraphicsSceneMouseEvent Class Reference
- QGraphicsSceneMoveEvent Class Reference
- QGraphicsSceneResizeEvent Class Reference
- QGraphicsSceneWheelEvent Class Reference
- QGraphicsSimpleTextItem Class Reference
- QGraphicsSvgItem Class Reference
- QGraphicsTextItem Class Reference
- QGraphicsTransform Class Reference
- QGraphicsView Class Reference
- QGraphicsWebView Class Reference
- QGraphicsWidget Class Reference
- QGridLayout Class Reference
- QGroupBox Class Reference
- QHBoxLayout Class Reference
- QHeaderView Class Reference
- QHelpContentItem Class Reference
- QHelpContentModel Class Reference
- QHelpContentWidget Class Reference
- QHelpEngine Class Reference
- QHelpEngineCore Class Reference
- QHelpEvent Class Reference
- QHelpIndexModel Class Reference
- QHelpIndexWidget Class Reference
- QHelpSearchEngine Class Reference
- QHelpSearchQuery Class Reference
- QHelpSearchQueryWidget Class Reference
- QHelpSearchResultWidget Class Reference
- QHideEvent Class Reference
- QHistoryState Class Reference
- QHostAddress Class Reference
- QHostInfo Class Reference
- QHoverEvent Class Reference
- QHttp Class Reference
- QHttpHeader Class Reference
- QHttpMultiPart Class Reference
- QHttpPart Class Reference
- QHttpRequestHeader Class Reference
- QHttpResponseHeader Class Reference
- QIcon Class Reference
- QIconDragEvent Class Reference
- QIconEngine Class Reference
- QIconEngineV2 Class Reference
- QIdentityProxyModel Class Reference
- QImage Class Reference
- QImageIOHandler Class Reference
- QImageReader Class Reference
- QImageWriter Class Reference
- QInputContext Class Reference
- QInputContextFactory Class Reference
- QInputDialog Class Reference
- QInputEvent Class Reference
- QInputMethodEvent Class Reference
- QIntValidator Class Reference
- QIODevice Class Reference
- QItemDelegate Class Reference
- QItemEditorCreatorBase Class Reference
- QItemEditorFactory Class Reference
- QItemSelection Class Reference
- QItemSelectionModel Class Reference
- QItemSelectionRange Class Reference
- QKeyEvent Class Reference
- QKeyEventTransition Class Reference
- QKeySequence Class Reference
- QLabel Class Reference
- QLatin1Char Class Reference
- QLatin1String Class Reference
- QLayout Class Reference
- QLayoutItem Class Reference
- QLCDNumber Class Reference
- QLibrary Class Reference
- QLibraryInfo Class Reference
- QLine Class Reference
- QLinearGradient Class Reference
- QLineEdit Class Reference
- QLineF Class Reference
- QListView Class Reference
- QListWidget Class Reference
- QListWidgetItem Class Reference
- QLocale Class Reference
- QLocalServer Class Reference
- QLocalSocket Class Reference
- QMainWindow Class Reference
- QMargins Class Reference
- QMatrix Class Reference
- QMatrix2x2 Class Reference
- QMatrix2x3 Class Reference
- QMatrix2x4 Class Reference
- QMatrix3x2 Class Reference
- QMatrix3x3 Class Reference
- QMatrix3x4 Class Reference
- QMatrix4x2 Class Reference
- QMatrix4x3 Class Reference
- QMatrix4x4 Class Reference
- QMdiArea Class Reference
- QMdiSubWindow Class Reference
- QMenu Class Reference
- QMenuBar Class Reference
- QMessageBox Class Reference
- QMetaClassInfo Class Reference
- QMetaEnum Class Reference
- QMetaMethod Class Reference
- QMetaObject Class Reference
- QMetaProperty Class Reference
- QMetaType Class Reference
- QMimeData Class Reference
- QMimeSource Class Reference
- QModelIndex Class Reference
- QMouseEvent Class Reference
- QMouseEventTransition Class Reference
- QMoveEvent Class Reference
- QMovie Class Reference
- QMutex Class Reference
- QMutexLocker Class Reference
- QNetworkAccessManager Class Reference
- QNetworkAddressEntry Class Reference
- QNetworkCacheMetaData Class Reference
- QNetworkConfiguration Class Reference
- QNetworkConfigurationManager Class Reference
- QNetworkCookie Class Reference
- QNetworkCookieJar Class Reference
- QNetworkDiskCache Class Reference
- QNetworkInterface Class Reference
- QNetworkProxy Class Reference
- QNetworkProxyFactory Class Reference
- QNetworkProxyQuery Class Reference
- QNetworkReply Class Reference
- QNetworkRequest Class Reference
- QNetworkSession Class Reference
- QObject Class Reference
- QObjectCleanupHandler Class Reference
- QPageSetupDialog Class Reference
- QPaintDevice Class Reference
- QPaintEngine Class Reference
- QPaintEngineState Class Reference
- QPainter Class Reference
- QPainterPath Class Reference
- QPainterPathStroker Class Reference
- QPaintEvent Class Reference
- QPalette Class Reference
- QPanGesture Class Reference
- QParallelAnimationGroup Class Reference
- QPauseAnimation Class Reference
- QPen Class Reference
- QPersistentModelIndex Class Reference
- QPicture Class Reference
- QPictureIO Class Reference
- QPinchGesture Class Reference
- QPixmap Class Reference
- QPixmapCache Class Reference
- QPlainTextDocumentLayout Class Reference
- QPlainTextEdit Class Reference
- QPluginLoader Class Reference
- QPoint Class Reference
- QPointF Class Reference
- QPolygon Class Reference
- QPolygonF Class Reference
- QPrintDialog Class Reference
- QPrintEngine Class Reference
- QPrinter Class Reference
- QPrinterInfo Class Reference
- QPrintPreviewDialog Class Reference
- QPrintPreviewWidget Class Reference
- QProcess Class Reference
- QProcessEnvironment Class Reference
- QProgressBar Class Reference
- QProgressDialog Class Reference
- QPropertyAnimation Class Reference
- QProxyModel Class Reference
- QPushButton Class Reference
- QPyDeclarativePropertyValueSource Class Reference
- QPyDesignerContainerExtension Class Reference
- QPyDesignerCustomWidgetCollectionPlugin Class Reference
- QPyDesignerCustomWidgetPlugin Class Reference
- QPyDesignerMemberSheetExtension Class Reference
- QPyDesignerPropertySheetExtension Class Reference
- QPyDesignerTaskMenuExtension Class Reference
- QPyNullVariant Class Reference
- QPyTextObject Class Reference
- QQuaternion Class Reference
- QRadialGradient Class Reference
- QRadioButton Class Reference
- QRawFont Class Reference
- QReadLocker Class Reference
- QReadWriteLock Class Reference
- QRect Class Reference
- QRectF Class Reference
- QRegExp Class Reference
- QRegExpValidator Class Reference
- QRegion Class Reference
- QResizeEvent Class Reference
- QResource Class Reference
- QRubberBand Class Reference
- QRunnable Class Reference
- QScriptClass Class Reference
- QScriptClassPropertyIterator Class Reference
- QScriptContext Class Reference
- QScriptContextInfo Class Reference
- QScriptEngine Class Reference
- QScriptEngineAgent Class Reference
- QScriptEngineDebugger Class Reference
- QScriptString Class Reference
- QScriptSyntaxCheckResult Class Reference
- QScriptValue Class Reference
- QScriptValueIterator Class Reference
- QScrollArea Class Reference
- QScrollBar Class Reference
- QSemaphore Class Reference
- QSequentialAnimationGroup Class Reference
- QSessionManager Class Reference
- QSettings Class Reference
- QSharedMemory Class Reference
- QShortcut Class Reference
- QShortcutEvent Class Reference
- QShowEvent Class Reference
- QSignalMapper Class Reference
- QSignalTransition Class Reference
- QSimpleXmlNodeModel Class Reference
- QSize Class Reference
- QSizeF Class Reference
- QSizeGrip Class Reference
- QSizePolicy Class Reference
- QSlider Class Reference
- QSocketNotifier Class Reference
- QSortFilterProxyModel Class Reference
- QSound Class Reference
- QSourceLocation Class Reference
- QSpacerItem Class Reference
- QSpinBox Class Reference
- QSplashScreen Class Reference
- QSplitter Class Reference
- QSplitterHandle Class Reference
- QSql Class Reference
- QSqlDatabase Class Reference
- QSqlDriver Class Reference
- QSqlDriverCreatorBase Class Reference
- QSqlError Class Reference
- QSqlField Class Reference
- QSqlIndex Class Reference
- QSqlQuery Class Reference
- QSqlQueryModel Class Reference
- QSqlRecord Class Reference
- QSqlRelation Class Reference
- QSqlRelationalDelegate Class Reference
- QSqlRelationalTableModel Class Reference
- QSqlResult Class Reference
- QSqlTableModel Class Reference
- Qt4.7文档翻译:Qt样式单参考,Qt Style Sheets Reference
- QSsl Class Reference
- QSslCertificate Class Reference
- QSslCipher Class Reference
- QSslConfiguration Class Reference
- QSslError Class Reference
- QSslKey Class Reference
- QSslSocket Class Reference
- QStackedLayout Class Reference
- QStackedWidget Class Reference
- QStandardItem Class Reference
- QStandardItemModel Class Reference
- QState Class Reference
- QStateMachine Class Reference
- QStaticText Class Reference
- QStatusBar Class Reference
- QStatusTipEvent Class Reference
- QString Class Reference
- QStringList Class Reference
- QStringListModel Class Reference
- QStringMatcher Class Reference
- QStringRef Class Reference
- QStyle Class Reference
- QStyledItemDelegate Class Reference
- QStyleFactory Class Reference
- QStyleHintReturn Class Reference
- QStyleHintReturnMask Class Reference
- QStyleHintReturnVariant Class Reference
- QStyleOption Class Reference
- QStyleOptionButton Class Reference
- QStyleOptionComboBox Class Reference
- QStyleOptionComplex Class Reference
- QStyleOptionDockWidget Class Reference
- QStyleOptionDockWidgetV2 Class Reference
- QStyleOptionFocusRect Class Reference
- QStyleOptionFrame Class Reference
- QStyleOptionFrameV2 Class Reference
- QStyleOptionFrameV3 Class Reference
- QStyleOptionGraphicsItem Class Reference
- QStyleOptionGroupBox Class Reference
- QStyleOptionHeader Class Reference
- QStyleOptionMenuItem Class Reference
- QStyleOptionProgressBar Class Reference
- QStyleOptionProgressBarV2 Class Reference
- QStyleOptionRubberBand Class Reference
- QStyleOptionSizeGrip Class Reference
- QStyleOptionSlider Class Reference
- QStyleOptionSpinBox Class Reference
- QStyleOptionTab Class Reference
- QStyleOptionTabBarBase Class Reference
- QStyleOptionTabBarBaseV2 Class Reference
- QStyleOptionTabV2 Class Reference
- QStyleOptionTabV3 Class Reference
- QStyleOptionTabWidgetFrame Class Reference
- QStyleOptionTabWidgetFrameV2 Class Reference
- QStyleOptionTitleBar Class Reference
- QStyleOptionToolBar Class Reference
- QStyleOptionToolBox Class Reference
- QStyleOptionToolBoxV2 Class Reference
- QStyleOptionToolButton Class Reference
- QStyleOptionViewItem Class Reference
- QStyleOptionViewItemV2 Class Reference
- QStyleOptionViewItemV3 Class Reference
- QStyleOptionViewItemV4 Class Reference
- QStylePainter Class Reference
- QSvgGenerator Class Reference
- QSvgRenderer Class Reference
- QSvgWidget Class Reference
- QSwipeGesture Class Reference
- QSyntaxHighlighter Class Reference
- QSysInfo Class Reference
- QSystemLocale Class Reference
- QSystemSemaphore Class Reference
- QSystemTrayIcon Class Reference
- Qt Class Reference
- QTabBar Class Reference
- QTabletEvent Class Reference
- QTableView Class Reference
- QTableWidget Class Reference
- QTableWidgetItem Class Reference
- QTableWidgetSelectionRange Class Reference
- QTabWidget Class Reference
- QTapAndHoldGesture Class Reference
- QTapGesture Class Reference
- QTcpServer Class Reference
- QTcpSocket Class Reference
- QTemporaryFile Class Reference
- QTest Class Reference
- QTextBlock Class Reference
- QTextBlockFormat Class Reference
- QTextBlockGroup Class Reference
- QTextBlockUserData Class Reference
- QTextBoundaryFinder Class Reference
- QTextBrowser Class Reference
- QTextCharFormat Class Reference
- QTextCodec Class Reference
- QTextCursor Class Reference
- QTextDecoder Class Reference
- QTextDocument Class Reference
- QTextDocumentFragment Class Reference
- QTextDocumentWriter Class Reference
- QTextEdit Class Reference
- QTextEncoder Class Reference
- QTextFormat Class Reference
- QTextFragment Class Reference
- QTextFrame Class Reference
- QTextFrameFormat Class Reference
- QTextImageFormat Class Reference
- QTextInlineObject Class Reference
- QTextItem Class Reference
- QTextLayout Class Reference
- QTextLength Class Reference
- QTextLine Class Reference
- QTextList Class Reference
- QTextListFormat Class Reference
- QTextObject Class Reference
- QTextObjectInterface Class Reference
- QTextOption Class Reference
- QTextStream Class Reference
- QTextTable Class Reference
- QTextTableCell Class Reference
- QTextTableCellFormat Class Reference
- QTextTableFormat Class Reference
- QThread Class Reference
- QThreadPool Class Reference
- QTime Class Reference
- QTimeEdit Class Reference
- QTimeLine Class Reference
- QTimer Class Reference
- QTimerEvent Class Reference
- QToolBar Class Reference
- QToolBox Class Reference
- QToolButton Class Reference
- QToolTip Class Reference
- QTouchEvent Class Reference
- Reference
- QTransform Class Reference
- QTranslator Class Reference
- QTreeView Class Reference
- QTreeWidget Class Reference
- QTreeWidgetItem Class Reference
- QTreeWidgetItemIterator Class Reference
- QUdpSocket Class Reference
- QUndoCommand Class Reference
- QUndoGroup Class Reference
- QUndoStack Class Reference
- QUndoView Class Reference
- QUrl Class Reference
- QUrlInfo Class Reference
- QUuid Class Reference
- QValidator Class Reference
- QVariant Class Reference
- QVariantAnimation Class Reference
- QVBoxLayout Class Reference
- QVector2D Class Reference
- QVector3D Class Reference
- QVector4D Class Reference
- QVideoFrame Class Reference
- QVideoSurfaceFormat Class Reference
- QWaitCondition Class Reference
- QWebDatabase Class Reference
- QWebElement Class Reference
- QWebElementCollection Class Reference
- QWebFrame Class Reference
- QWebHistory Class Reference
- QWebHistoryInterface Class Reference
- QWebHistoryItem Class Reference
- QWebHitTestResult Class Reference
- QWebInspector Class Reference
- QWebPage Class Reference
- QWebPluginFactory Class Reference
- QWebSecurityOrigin Class Reference
- QWebSettings Class Reference
- QWebView Class Reference
- QWhatsThis Class Reference
- QWhatsThisClickedEvent Class Reference
- QWheelEvent Class Reference
- QWidget Class Reference
- QWidgetAction Class Reference
- QWidgetItem Class Reference
- QWindowStateChangeEvent Class Reference
- QWizard Class Reference
- QWizardPage Class Reference
- QWorkspace Class Reference
- QWriteLocker Class Reference
- QX11EmbedContainer Class Reference
- QX11EmbedWidget Class Reference
- QX11Info Class Reference
- QXmlAttributes Class Reference
- QXmlContentHandler Class Reference
- QXmlDeclHandler Class Reference
- QXmlDefaultHandler Class Reference
- QXmlDTDHandler Class Reference
- QXmlEntityResolver Class Reference
- QXmlErrorHandler Class Reference
- QXmlFormatter Class Reference
- QXmlInputSource Class Reference
- QXmlItem Class Reference
- QXmlLexicalHandler Class Reference
- QXmlLocator Class Reference
- QXmlName Class Reference
- QXmlNamePool Class Reference
- QXmlNamespaceSupport Class Reference
- QXmlNodeModelIndex Class Reference
- QXmlParseException Class Reference
- QXmlQuery Class Reference
- QXmlReader Class Reference
- QXmlResultItems Class Reference
- QXmlSchema Class Reference
- QXmlSchemaValidator Class Reference
- QXmlSerializer Class Reference
- QXmlSimpleReader Class Reference
- QXmlStreamAttribute Class Reference
- QXmlStreamAttributes Class Reference
- QXmlStreamEntityDeclaration Class Reference
- QXmlStreamEntityResolver Class Reference
- QXmlStreamNamespaceDeclaration Class Reference
- QXmlStreamNotationDeclaration Class Reference
- QXmlStreamReader Class Reference
- QXmlStreamWriter Class Reference