# QTransform Class Reference
## [[QtGui](index.htm) module]
该QTransform类指定坐标系的2D变换。[More...](#details)
### Types
* `enum TransformationType { TxNone, TxTranslate, TxScale, TxRotate, TxShear, TxProject }`
### Methods
* `__init__ (self)`
* `__init__ (self, float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33 = 1)`
* `__init__ (self, float h11, float h12, float h13, float h21, float h22, float h23)`
* `__init__ (self, QMatrix mtx)`
* `__init__ (self, QTransform)`
* `QTransform adjoint (self)`
* `float det (self)`
* `float determinant (self)`
* `float dx (self)`
* `float dy (self)`
* `(QTransform, bool invertible) inverted (self)`
* `bool isAffine (self)`
* `bool isIdentity (self)`
* `bool isInvertible (self)`
* `bool isRotating (self)`
* `bool isScaling (self)`
* `bool isTranslating (self)`
* `float m11 (self)`
* `float m12 (self)`
* `float m13 (self)`
* `float m21 (self)`
* `float m22 (self)`
* `float m23 (self)`
* `float m31 (self)`
* `float m32 (self)`
* `float m33 (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)`
* `QTransform rotate (self, float angle, Qt.Axis axis = Qt.ZAxis)`
* `QTransform rotateRadians (self, float angle, Qt.Axis axis = Qt.ZAxis)`
* `QTransform scale (self, float sx, float sy)`
* `setMatrix (self, float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33)`
* `QTransform shear (self, float sh, float sv)`
* `QMatrix toAffine (self)`
* `QTransform translate (self, float dx, float dy)`
* `QTransform transposed (self)`
* `TransformationType type (self)`
### Static Methods
* `QTransform fromScale (float dx, float dy)`
* `QTransform fromTranslate (float dx, float dy)`
* `bool quadToQuad (QPolygonF one, QPolygonF two, QTransform result)`
* `bool quadToSquare (QPolygonF quad, QTransform result)`
* `bool squareToQuad (QPolygonF square, QTransform result)`
### Special Methods
* `QTransform __add__ (self, float n)`
* `QTransform __div__ (self, float n)`
* `bool __eq__ (self, QTransform)`
* `QTransform __iadd__ (self, float num)`
* `QTransform __idiv__ (self, float div)`
* `QTransform __imul__ (self, QTransform)`
* `QTransform __imul__ (self, float num)`
* `QTransform __isub__ (self, float num)`
* `QTransform __mul__ (self, QTransform o)`
* `QTransform __mul__ (self, float n)`
* `bool __ne__ (self, QTransform)`
* `QTransform __sub__ (self, float n)`
* * *
## Detailed Description
这个类可以醃制。
该QTransform类指定坐标系的2D变换。
一个转换指定如何翻译,缩放,剪切,旋转或投影坐标系,并绘制图形时,通常会使用。
QTransform不同于[QMatrix(obsolete)](qmatrix.html)中,这是一个真正的3×3矩阵,使透视变换。 QTransform的[toAffine](qtransform.html#toAffine)( )方法允许铸造QTransform到[QMatrix(obsolete)](qmatrix.html)。如果一个透视变换已被指定的矩阵,则转换将导致数据丢失。
QTransform是Qt推荐的转换类。
一个QTransform对象可使用内置的[setMatrix](qtransform.html#setMatrix)( )[scale](qtransform.html#scale)( )[rotate](qtransform.html#rotate)( )[translate](qtransform.html#translate)()和[shear](qtransform.html#shear)()函数。另外,它可以通过施加建[basic matrix operations](#basic-matrix-operations)。该矩阵也可以被定义时构造,并且它可以使用被重置为单位矩阵(默认值)的[reset](qtransform.html#reset)()函数。
该QTransform类支持的图形原语映射:一个给定的点,线,多边形,区域或画家路径可以映射到由坐标系定义_this_使用矩阵[map](qtransform.html#map)()函数。在情况下的四边形的,它的坐标可以用转化的[mapRect](qtransform.html#mapRect)()函数。矩形也可以被改造成一个_polygon_(映射到定义的坐标系_this_矩阵),使用[mapToPolygon](qtransform.html#mapToPolygon)()函数。
QTransform提供[isIdentity](qtransform.html#isIdentity)()函数,如果矩阵是单位矩阵,并且该方法返回True,则[isInvertible](qtransform.html#isInvertible)( )函数如果矩阵是非奇异的(即AB = BA = I ),它返回True 。该[inverted](qtransform.html#inverted)( )函数返回一个倒置的副本_this_矩阵,如果它是可逆的(否则返回单位矩阵) ,以及[adjoint](qtransform.html#adjoint)( )返回矩阵的标准伴随。此外, QTransform提供[determinant](qtransform.html#determinant)( )函数返回矩阵的行列式。
最后, QTransform类支持矩阵乘法,加法和减法,以及类的对象可以被串流播放,以及比较。
### Rendering Graphics
在绘制图形时,矩阵定义转换,但实际转换是由绘图函数中执行[QPainter](qpainter.html)。
默认情况下,[QPainter](qpainter.html)操作相关联的设备自己的坐标系上。标准坐标系统[QPaintDevice](qpaintdevice.html)有其原点位于左上角的位置。该_x_值向右增大;_y_值向下增大。有关完整说明,请参阅[coordinate system](index.htm)文档。
[QPainter](qpainter.html)有功能,平移,缩放,剪切和旋转坐标系统,而无需使用QTransform 。例如:
| ![](https://img.kancloud.cn/9c/1d/9c1deda9a9b2e7adf1c79901e27eb132_152x150.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, "QTransform");
}
```
|
虽然这些功能都非常的方便,它可以更有效地建立一个QTransform和呼叫[QPainter.setTransform](qpainter.html#setTransform)( )如果你想执行一个以上的变换操作。例如:
| ![](https://img.kancloud.cn/0d/22/0d22cbe49052cec0e868db1dbb18259f_132x136.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);
QTransform transform;
transform.translate(50, 50);
transform.rotate(45);
transform.scale(0.5, 1.0);
painter.setTransform(transform);
painter.setFont([QFont](qfont.html)("Helvetica", 24));
painter.setPen([QPen](qpen.html)([Qt](qt.html).black, 1));
painter.drawText(20, 10, "QTransform");
}
```
|
### Basic Matrix Operations
![](https://img.kancloud.cn/0a/24/0a2432f7806c7aa4ccc8093b75c087e5_225x225.png)
一个QTransform对象包含一个3× 3的矩阵。该`m31`(`dx`)和`m32`(`dy`)元素指定水平和垂直平移。该`m11`和`m22`元素指定水平和垂直缩放。该`m21`和`m12`元素指定水平和垂直_shearing_。最后,本`m13`和`m23`元素指定水平和垂直投影,与`m33`作为一个额外的投影系数。
使用下列公式QTransform转换成在平面上的点到另一点:
```
x' = m11*x + m21*y + dx
y' = m22*y + m12*x + dy
if (is not affine) {
w' = m13*x + m23*y + m33
x' /= w'
y' /= w'
}
```
The point _(x, y)_ is the original point, and _(x', y')_ is the transformed point. _(x', y')_ can be transformed back to _(x, y)_ by performing the same operation on the [inverted](qtransform.html#inverted)() matrix.
The various matrix elements can be set when constructing the matrix, or by using the [setMatrix](qtransform.html#setMatrix)() function later on. They can also be manipulated using the [translate](qtransform.html#translate)(), [rotate](qtransform.html#rotate)(), [scale](qtransform.html#scale)() and [shear](qtransform.html#shear)() convenience functions. The currently set values can be retrieved using the [m11](qtransform.html#m11)(), [m12](qtransform.html#m12)(), [m13](qtransform.html#m13)(), [m21](qtransform.html#m21)(), [m22](qtransform.html#m22)(), [m23](qtransform.html#m23)(), [m31](qtransform.html#m31)(), [m32](qtransform.html#m32)(), [m33](qtransform.html#m33)(), [dx](qtransform.html#dx)() and [dy](qtransform.html#dy)() functions.
Translation is the simplest transformation. Setting `dx` and `dy` will move the coordinate system `dx` units along the X axis and `dy` units along the Y axis. Scaling can be done by setting `m11` and `m22`. For example, setting `m11` to 2 and `m22` to 1.5 will double the height and increase the width by 50%. The identity matrix has `m11`, `m22`, and `m33` set to 1 (all others are set to 0) mapping a point to itself. Shearing is controlled by `m12` and `m21`. Setting these elements to values different from zero will twist the coordinate system. Rotation is achieved by setting both the shearing factors and the scaling factors. Perspective transformation is achieved by setting both the projection factors and the scaling factors.
Here's the combined transformations example using basic matrix operations:
| ![](https://img.kancloud.cn/f3/77/f3778644dcf415697744c76c9a6ae8ae_132x136.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);
QTransform translationTransform(1, 0, 0, 1, 50.0, 50.0);
QTransform rotationTransform(cosa, sina, -sina, cosa, 0, 0);
QTransform scalingTransform(0.5, 0, 0, 1.0, 0, 0);
QTransform transform;
transform = scalingTransform * rotationTransform * translationTransform;
[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.setTransform(transform);
painter.setFont([QFont](qfont.html)("Helvetica", 24));
painter.setPen([QPen](qpen.html)([Qt](qt.html).black, 1));
painter.drawText(20, 10, "QTransform");
}
```
|
* * *
## Type Documentation
```
QTransform.TransformationType
```
| Constant | Value |
| --- | --- |
| `QTransform.TxNone` | `0x00` |
| `QTransform.TxTranslate` | `0x01` |
| `QTransform.TxScale` | `0x02` |
| `QTransform.TxRotate` | `0x04` |
| `QTransform.TxShear` | `0x08` |
| `QTransform.TxProject` | `0x10` |
* * *
## Method Documentation
```
QTransform.__init__ (self)
```
构造一个单位矩阵。
所有的元素都设置为零,除了`m11`和`m22`(指定刻度)和`m13`它被设置为1 。
**See also** [reset](qtransform.html#reset)( ) 。
```
QTransform.__init__ (self, float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33 = 1)
```
```
QTransform.__init__ (self, float h11, float h12, float h13, float h21, float h22, float h23)
```
构造一个矩阵的元素,_m11_,_m12_,_m13_,_m21_,_m22_,_m23_,_m31_,_m32_,_m33_。
**See also** [setMatrix](qtransform.html#setMatrix)( ) 。
```
QTransform.__init__ (self, QMatrix mtx)
```
构造一个矩阵的元素,_m11_,_m12_,_m21_,_m22_,_dx_和_dy_。
**See also** [setMatrix](qtransform.html#setMatrix)( ) 。
```
QTransform.__init__ (self, QTransform)
```
构造一个矩阵,是给定一个副本_matrix_。注意,这个`m13`,`m23`和`m33`元件分别设置为0,0和1。
```
QTransform QTransform.adjoint (self)
```
[
返回该矩阵的伴随。
```
float QTransform.det (self)
```
```
float QTransform.determinant (self)
```
返回矩阵的行列式。
```
float QTransform.dx (self)
```
返回水平平移因子。
](qtransform.html)
[**See also**](qtransform.html) [m31](qtransform.html#m31)( )[translate](qtransform.html#translate)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
float QTransform.dy (self)
```
返回垂直平移因子。
**See also** [translate](qtransform.html#translate)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
QTransform QTransform.fromScale (float dx, float dy)
```
[](qtransform.html)
[创建其对应于缩放的矩阵_sx_水平和_sy_垂直。这是相同的](qtransform.html)[QTransform](qtransform.html#QTransform)( ) 。规模( SX , SY ),但稍快。
此功能被引入Qt的4.5 。
```
QTransform QTransform.fromTranslate (float dx, float dy)
```
[](qtransform.html)
[创建其对应于翻译成矩阵_dx_沿x轴和_dy_沿y轴。这是相同的](qtransform.html)[QTransform](qtransform.html#QTransform)( ) ,翻译( DX,DY ),但稍快。
此功能被引入Qt的4.5 。
```
(QTransform, bool invertible) QTransform.inverted (self)
```
返回该矩阵的一个倒置的副本。
如果矩阵是奇异的(不可逆的) ,则返回的矩阵是单位矩阵。如果_invertible_是有效的(即不为0 ) ,将其值设置为True,如果矩阵是可逆的,否则设置为False 。
**See also** [isInvertible](qtransform.html#isInvertible)( ) 。
```
bool QTransform.isAffine (self)
```
返回True如果矩阵表示仿射变换,否则返回False 。
```
bool QTransform.isIdentity (self)
```
返回True如果矩阵为单位矩阵,否则返回False 。
**See also** [reset](qtransform.html#reset)( ) 。
```
bool QTransform.isInvertible (self)
```
返回True如果矩阵是可逆的,否则返回False 。
**See also** [inverted](qtransform.html#inverted)( ) 。
```
bool QTransform.isRotating (self)
```
返回True如果矩阵代表某种旋转变换,否则返回False 。
**See also** [reset](qtransform.html#reset)( ) 。
```
bool QTransform.isScaling (self)
```
返回True如果矩阵表示缩放转换,否则返回False 。
**See also** [reset](qtransform.html#reset)( ) 。
```
bool QTransform.isTranslating (self)
```
返回True如果矩阵表示平移变换,否则返回False 。
**See also** [reset](qtransform.html#reset)( ) 。
```
float QTransform.m11 (self)
```
返回水平缩放系数。
**See also** [scale](qtransform.html#scale)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
float QTransform.m12 (self)
```
返回垂直剪切因素。
**See also** [shear](qtransform.html#shear)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
float QTransform.m13 (self)
```
返回水平投影的因素。
**See also** [translate](qtransform.html#translate)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
float QTransform.m21 (self)
```
返回水平剪切的因素。
**See also** [shear](qtransform.html#shear)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
float QTransform.m22 (self)
```
返回垂直缩放系数。
**See also** [scale](qtransform.html#scale)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
float QTransform.m23 (self)
```
返回垂直投影的因素。
**See also** [translate](qtransform.html#translate)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
float QTransform.m31 (self)
```
返回水平平移因子。
**See also** [dx](qtransform.html#dx)( )[translate](qtransform.html#translate)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
float QTransform.m32 (self)
```
返回垂直平移因子。
**See also** [dy](qtransform.html#dy)( )[translate](qtransform.html#translate)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
float QTransform.m33 (self)
```
返回的分频因子。
**See also** [translate](qtransform.html#translate)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
(int tx, int ty) QTransform.map (self, int x, int y)
```
对应给定的坐标_x_和_y_成由该矩阵定义的坐标系。被放置在所得到的值*_tx_和*_ty_元。
则坐标值用下面的公式转化:
```
x' = m11*x + m21*y + dx
y' = m22*y + m12*x + dy
if (is not affine) {
w' = m13*x + m23*y + m33
x' /= w'
y' /= w'
}
```
点(x ,y)是原始的点,和( X',Y ')是变换后的点。
**See also** [Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
(float tx, float ty) QTransform.map (self, float x, float y)
```
这是一个重载函数。
创建并返回一个[QPointF](qpointf.html)对象,它是给定的点的副本,_p_,映射到由该矩阵定义的坐标系。
```
QPoint QTransform.map (self, QPoint p)
```
[
这是一个重载函数。
](qpoint.html)
[创建并返回一个](qpoint.html)[QPoint](qpoint.html)对象,它是给定一个副本_point_,映射到由该矩阵定义的坐标系。需要注意的是转换后的坐标四舍五入到最接近的整数。
```
QPointF QTransform.map (self, QPointF p)
```
[
这是一个重载函数。
](qpointf.html)
[创建并返回一个](qpointf.html)[QLineF](qlinef.html)对象,它是给定行的一个副本,_l_,映射到由该矩阵定义的坐标系。
```
QLine QTransform.map (self, QLine l)
```
[
这是一个重载函数。
](qline.html)
[创建并返回一个](qline.html)[QLine](qline.html)对象,它是给定一个副本_line_,映射到由该矩阵定义的坐标系。需要注意的是转换后的坐标四舍五入到最接近的整数。
```
QLineF QTransform.map (self, QLineF l)
```
[
这是一个重载函数。
](qlinef.html)
[创建并返回一个](qlinef.html)[QPolygonF](qpolygonf.html)对象,它是给定一个副本_polygon_,映射到由该矩阵定义的坐标系。
```
QPolygonF QTransform.map (self, QPolygonF a)
```
[
这是一个重载函数。
](qpolygonf.html)
[创建并返回一个](qpolygonf.html)[QPolygon](qpolygon.html)对象,它是给定一个副本_polygon_,映射到由该矩阵定义的坐标系。需要注意的是转换后的坐标四舍五入到最接近的整数。
```
QPolygon QTransform.map (self, QPolygon a)
```
[
这是一个重载函数。
](qpolygon.html)
[创建并返回一个](qpolygon.html)[QRegion](qregion.html)对象,它是给定一个副本_region_,映射到由该矩阵定义的坐标系。
调用此方法可以是相当昂贵的,如果旋转或剪切的使用。
```
QRegion QTransform.map (self, QRegion r)
```
[
这是一个重载函数。
](qregion.html)
[创建并返回一个](qregion.html)[QPainterPath](qpainterpath.html)对象,它是给定一个副本_path_,映射到由该矩阵定义的坐标系。
```
QPainterPath QTransform.map (self, QPainterPath p)
```
[
这是一个重载函数。
对应给定的坐标_x_和_y_成由该矩阵定义的坐标系。被放置在所得到的值*_tx_和*_ty_元。需要注意的是转换后的坐标四舍五入到最接近的整数。
](qpainterpath.html)
```
QRect QTransform.mapRect (self, QRect)
```
[](qrect.html)
[创建并返回一个](qrect.html)[QRectF](qrectf.html)对象,它是给定一个副本_rectangle_,映射到由该矩阵定义的坐标系。
矩形的坐标是用下面的公式转化:
```
x' = m11*x + m21*y + dx
y' = m22*y + m12*x + dy
if (is not affine) {
w' = m13*x + m23*y + m33
x' /= w'
y' /= w'
}
```
If rotation or shearing has been specified, this function returns the _bounding_ rectangle. To retrieve the exact region the given _rectangle_ maps to, use the [mapToPolygon](qtransform.html#mapToPolygon)() function instead.
**See also** [mapToPolygon](qtransform.html#mapToPolygon)() and [Basic Matrix Operations](qtransform.html#basic-matrix-operations).
```
QRectF QTransform.mapRect (self, QRectF)
```
[](qrectf.html)
```
QPolygon QTransform.mapToPolygon (self, QRect r)
```
[](qpolygon.html)
[创建并返回一个](qpolygon.html)[QPolygon](qpolygon.html)给定的表示_rectangle_,映射到由该矩阵定义的坐标系。
矩形的坐标是用下面的公式转化:
```
x' = m11*x + m21*y + dx
y' = m22*y + m12*x + dy
if (is not affine) {
w' = m13*x + m23*y + m33
x' /= w'
y' /= w'
}
```
多边形和矩形的行为略有不同,当转换(由于四舍五入的整数) ,所以`matrix.map(QPolygon(rectangle))`并不总是相同`matrix.mapToPolygon(rectangle)`。
**See also** [mapRect](qtransform.html#mapRect)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
bool QTransform.quadToQuad (QPolygonF one, QPolygonF two, QTransform result)
```
创建一个变换矩阵,_trans_,映射一个四边形,_one_到另一个四边多边形,_two_。返回True如果转换是可能的;否则返回False。
这是一个方便的方法相结合[quadToSquare](qtransform.html#quadToSquare)()和[squareToQuad](qtransform.html#squareToQuad)()方法。它允许输入四要转变成任何其他四。
**See also** [squareToQuad](qtransform.html#squareToQuad)()和[quadToSquare](qtransform.html#quadToSquare)( ) 。
```
bool QTransform.quadToSquare (QPolygonF quad, QTransform result)
```
创建一个变换矩阵,_trans_,映射一个四边形,_quad_,到单位正方形。返回True如果变换构造还是假,如果这样的转变并不存在。
**See also** [squareToQuad](qtransform.html#squareToQuad)()和[quadToQuad](qtransform.html#quadToQuad)( ) 。
```
QTransform.reset (self)
```
重置矩阵单位矩阵,即所有元素都设置为零,除非`m11`和`m22`(指定刻度)和`m33`它被设置为1 。
**See also** [QTransform](qtransform.html#QTransform)( )[isIdentity](qtransform.html#isIdentity)()和[Basic Matrix Operations](qtransform.html#basic-matrix-operations)。
```
QTransform QTransform.rotate (self, float angle, Qt.Axis axis = Qt.ZAxis)
```
[
由给定的逆时针旋转的坐标系_angle_关于指定_axis_并返回一个引用到矩阵。
](qtransform.html)
[请注意,如果你申请一个](qtransform.html)[QTransform](qtransform.html)在小窗口坐标定义的一个点,该旋转方向将因为y轴指向下是顺时针。
的角度被指定为度。
**See also** [setMatrix](qtransform.html#setMatrix)( ) 。
```
QTransform QTransform.rotateRadians (self, float angle, Qt.Axis axis = Qt.ZAxis)
```
[
由给定的逆时针旋转的坐标系_angle_关于指定_axis_并返回一个引用到矩阵。
](qtransform.html)
[请注意,如果你申请一个](qtransform.html)[QTransform](qtransform.html)在小窗口坐标定义的一个点,该旋转方向将因为y轴指向下是顺时针。
的角度被指定为弧度。
**See also** [setMatrix](qtransform.html#setMatrix)( ) 。
```
QTransform QTransform.scale (self, float sx, float sy)
```
[
通过缩放坐标系_sx_水平和_sy_垂直,并返回一个引用到矩阵。
](qtransform.html)
[**See also**](qtransform.html) [setMatrix](qtransform.html#setMatrix)( ) 。
```
QTransform.setMatrix (self, float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33)
```
设置矩阵的元素为指定的值,_m11_,_m12_,_m13_ _m21_,_m22_,_m23_ _m31_,_m32_和_m33_。请注意,此功能取代了以前的值。[QTransform](qtransform.html)提供[translate](qtransform.html#translate)( )[rotate](qtransform.html#rotate)( )[scale](qtransform.html#scale)()和[shear](qtransform.html#shear)( )方便的功能来操作基于当前定义的坐标系统中的各种矩阵元素。
**See also** [QTransform](qtransform.html#QTransform)( ) 。
```
QTransform QTransform.shear (self, float sh, float sv)
```
[
通过剪坐标系_sh_水平和_sv_垂直,并返回一个引用到矩阵。
](qtransform.html)
[**See also**](qtransform.html) [setMatrix](qtransform.html#setMatrix)( ) 。
```
bool QTransform.squareToQuad (QPolygonF square, QTransform result)
```
创建一个变换矩阵,_trans_,映射一个单位正方形四边多边形,_quad_。返回True如果变换构造还是假,如果这样的转变并不存在。
**See also** [quadToSquare](qtransform.html#quadToSquare)()和[quadToQuad](qtransform.html#quadToQuad)( ) 。
```
QMatrix QTransform.toAffine (self)
```
[](qmatrix.html)
[返回](qmatrix.html)[QTransform](qtransform.html)作为仿射矩阵。
**Warning:**如果已指定一个透视变换,那么转换将导致数据丢失。
```
QTransform QTransform.translate (self, float dx, float dy)
```
[
移动的坐标系统_dx_沿x轴和_dy_沿着y轴,并返回引用到矩阵。
](qtransform.html)
[**See also**](qtransform.html) [setMatrix](qtransform.html#setMatrix)( ) 。
```
QTransform QTransform.transposed (self)
```
[
返回该矩阵的转置。
](qtransform.html)
```
TransformationType QTransform.type (self)
```
[
返回这个矩阵的转换类型。
改造型是最高的枚举值捕获所有矩阵的变换。例如,如果两个矩阵规模和剪刀,类型是`TxShear`,因为`TxShear`具有比更高的枚举值`TxScale`。
了解矩阵的变换类型是优化有用:你经常可以更优化处理特定类型的处理比一般情况下。
](qtransform.html#TransformationType-enum)
```
QTransform QTransform.__add__ (self, float n)
```
[](qtransform.html)
```
QTransform QTransform.__div__ (self, float n)
```
[
```
bool QTransform.__eq__ (self, QTransform)
```
](qtransform.html)
```
QTransform QTransform.__iadd__ (self, float num)
```
[](qtransform.html)
```
QTransform QTransform.__idiv__ (self, float div)
```
[](qtransform.html)
```
QTransform QTransform.__imul__ (self, QTransform)
```
[](qtransform.html)
```
QTransform QTransform.__imul__ (self, float num)
```
[](qtransform.html)
```
QTransform QTransform.__isub__ (self, float num)
```
[](qtransform.html)
```
QTransform QTransform.__mul__ (self, QTransform o)
```
[](qtransform.html)
```
QTransform QTransform.__mul__ (self, float n)
```
[
```
bool QTransform.__ne__ (self, QTransform)
```
](qtransform.html)
```
QTransform QTransform.__sub__ (self, float n)
```
[](qtransform.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