# QPen Class Reference
## [[QtGui](index.htm) module]
该QPen类定义了一个[QPainter](qpainter.html)要绘制形状的线条和轮廓。[More...](#details)
### Methods
* `__init__ (self)`
* `__init__ (self, Qt.PenStyle)`
* `__init__ (self, QColor color)`
* `__init__ (self, QBrush brush, float width, Qt.PenStyle style = Qt.SolidLine, Qt.PenCapStyle cap = Qt.SquareCap, Qt.PenJoinStyle join = Qt.BevelJoin)`
* `__init__ (self, QPen pen)`
* `__init__ (self, QVariant variant)`
* `QBrush brush (self)`
* `Qt.PenCapStyle capStyle (self)`
* `QColor color (self)`
* `float dashOffset (self)`
* `list-of-float dashPattern (self)`
* `bool isCosmetic (self)`
* `bool isSolid (self)`
* `Qt.PenJoinStyle joinStyle (self)`
* `float miterLimit (self)`
* `setBrush (self, QBrush brush)`
* `setCapStyle (self, Qt.PenCapStyle pcs)`
* `setColor (self, QColor color)`
* `setCosmetic (self, bool cosmetic)`
* `setDashOffset (self, float doffset)`
* `setDashPattern (self, list-of-float pattern)`
* `setJoinStyle (self, Qt.PenJoinStyle pcs)`
* `setMiterLimit (self, float limit)`
* `setStyle (self, Qt.PenStyle)`
* `setWidth (self, int width)`
* `setWidthF (self, float width)`
* `Qt.PenStyle style (self)`
* `swap (self, QPen other)`
* `int width (self)`
* `float widthF (self)`
### Special Methods
* `bool __eq__ (self, QPen p)`
* `bool __ne__ (self, QPen p)`
* * *
## Detailed Description
A [QColor](qcolor.html)可用于每当一个[QPen](qpen.html)预计。
该QPen类定义了一个[QPainter](qpainter.html)要绘制形状的线条和轮廓。
一支笔有[style](qpen.html#style)( )[width](qpen.html#width)( )[brush](qpen.html#brush)( )[capStyle](qpen.html#capStyle)()和[joinStyle](qpen.html#joinStyle)( ) 。
笔式定义线型。画笔用于填充用钢笔生成的笔触。使用[QBrush](qbrush.html)类指定填充样式。帽风格决定了可使用画线端盖[QPainter](qpainter.html),而加入的风格介绍了如何两条线之间的连接被吸引。钢笔的宽度可以在两个整数来指定([width](qpen.html#width)( ) )和浮点([widthF](qpen.html#widthF)( ) )的精度。零线宽表示化妆品的笔。这意味着画笔宽度总是绘制一个像素的宽度,独立的[transformation](qpainter.html#coordinate-transformations)设置的画家。
的各种设置可容易地使用相应的改性[setStyle](qpen.html#setStyle)( )[setWidth](qpen.html#setWidth)( )[setBrush](qpen.html#setBrush)( )[setCapStyle](qpen.html#setCapStyle)()和[setJoinStyle](qpen.html#setJoinStyle)( )函数(注意,画家的笔下必须改变画笔的属性时被重置) 。
例如:
```
[QPainter](qpainter.html) painter(this);
QPen pen([Qt](qt.html).green, 3, [Qt](qt.html).DashDotLine, [Qt](qt.html).RoundCap, [Qt](qt.html).RoundJoin);
painter.setPen(pen);
```
这相当于
```
[QPainter](qpainter.html) painter(this);
QPen pen; // creates a default pen
pen.setStyle([Qt](qt.html).DashDotLine);
pen.setWidth(3);
pen.setBrush([Qt](qt.html).green);
pen.setCapStyle([Qt](qt.html).RoundCap);
pen.setJoinStyle([Qt](qt.html).RoundJoin);
painter.setPen(pen);
```
默认的笔是一个纯黑色画笔0宽,方帽风格([Qt.SquareCap](qt.html#PenCapStyle-enum))和斜角连接样式([Qt.BevelJoin](qt.html#PenJoinStyle-enum)) 。
此外QPen提供[color](qpen.html#color)()和[setColor](qpen.html#setColor)( )方便的功能来提取和设置画笔的画笔的颜色,分别为。笔也可以比较和流。
有关油画一般的详细信息,请参阅[Paint System](index.htm)文档。
### Pen Style
Qt提供了几个代表的内置样式[Qt.PenStyle](qt.html#PenStyle-enum)枚举:
| ![](https://img.kancloud.cn/cc/e9/cce9436cf66fea4826b650833da7a25a_194x118.png) | ![](https://img.kancloud.cn/0f/5c/0f5cc2738bd7a8533326bd134d3b2cbc_195x118.png) | ![](https://img.kancloud.cn/01/55/0155d3eba3e2f2f926cb7ff195c8a670_194x118.png) |
| [Qt.SolidLine](qt.html#PenStyle-enum) | [Qt.DashLine](qt.html#PenStyle-enum) | [Qt.DotLine](qt.html#PenStyle-enum) |
| ![](https://img.kancloud.cn/b3/4a/b34abbb6b0bba9cc75fe44599dd3064b_195x118.png) | ![](https://img.kancloud.cn/65/d2/65d203bdb72d89f470739f4d3d6f2237_196x118.png) | ![](https://img.kancloud.cn/30/3f/303ffe778bec1affbbf17e75ca6d4a03_196x118.png) |
| [Qt.DashDotLine](qt.html#PenStyle-enum) | [Qt.DashDotDotLine](qt.html#PenStyle-enum) | [Qt.CustomDashLine](qt.html#PenStyle-enum) |
简单地使用[setStyle](qpen.html#setStyle)()函数的笔式转换为下列任一内置样式,除了[Qt.CustomDashLine](qt.html#PenStyle-enum)风格,我们会回来不久。将样式设置为[Qt.NoPen](qt.html#PenStyle-enum)告诉画家不画线或轮廓。默认的画笔风格[Qt.SolidLine](qt.html#PenStyle-enum)。
由于Qt的4.1 ,也可以使用指定自定义虚线图案的[setDashPattern](qpen.html#setDashPattern)( )函数,它的笔的款式隐式转换为[Qt.CustomDashLine](qt.html#PenStyle-enum)。该模式的说法,一[QVector](index.htm),必须指定为偶数的[qreal](index.htm#qreal-typedef)条目,其中这些条目1,3, 5 ...是虚线和2,4, 6 ...是空格。例如,上面显示的自定义模式是使用下面的代码创建:
```
QPen pen;
[QVector](index.htm)<[qreal](index.htm#qreal-typedef)> dashes;
[qreal](index.htm#qreal-typedef) space = 4;
dashes << 1 << space << 3 << space << 9 << space
<< 27 << space << 9 << space;
pen.setDashPattern(dashes);
```
请注意,虚线图案的钢笔的宽度,如为单位指定长度为5的宽度为10的破折号是50像素长。
当前设定的虚线样式可以使用检索的[dashPattern](qpen.html#dashPattern)()函数。使用[isSolid](qpen.html#isSolid)( )函数来确定笔是否为实心填充,还是不行。
### Cap Style
帽样式定义如何线路的终点使用绘制[QPainter](qpainter.html)。帽风格只适用于宽线,即当宽度大于或等于1 。该[Qt.PenCapStyle](qt.html#PenCapStyle-enum)枚举提供了以下方式:
| ![](https://img.kancloud.cn/44/2e/442e5259ae9dacf4fa306e82fed8e000_153x123.png) | ![](https://img.kancloud.cn/8b/63/8b633f99a68b9c79b0c03a4e809157c0_151x123.png) | ![](https://img.kancloud.cn/86/37/8637c4435ee5f04638e6c894ee41fef1_148x123.png) |
| [Qt.SquareCap](qt.html#PenCapStyle-enum) | [Qt.FlatCap](qt.html#PenCapStyle-enum) | [Qt.RoundCap](qt.html#PenCapStyle-enum) |
该[Qt.SquareCap](qt.html#PenCapStyle-enum)风格是一个正方形行结束,涵盖了终点,一半线条宽度超出了它。该[Qt.FlatCap](qt.html#PenCapStyle-enum)样式是方形线端未复盖的线的终点。和[Qt.RoundCap](qt.html#PenCapStyle-enum)样式是圆形的线端复盖的终点。
默认值是[Qt.SquareCap](qt.html#PenCapStyle-enum)。
不论是否端点被绘制时,钢笔的宽度为0或1取决于帽样式。运用[Qt.SquareCap](qt.html#PenCapStyle-enum) or [Qt.RoundCap](qt.html#PenCapStyle-enum)它们被绘制,用[Qt.FlatCap](qt.html#PenCapStyle-enum)它们不绘制。
### Join Style
在加入样式定义如何将两个连接线之间的连接可以使用绘制[QPainter](qpainter.html)。接合风格只适用于宽线,即当宽度大于或等于1 。该[Qt.PenJoinStyle](qt.html#PenJoinStyle-enum)枚举提供了以下方式:
| ![](https://img.kancloud.cn/f3/54/f35487217efd8450f17c9efc0cd01a1d_157x295.png) | ![](https://img.kancloud.cn/43/ae/43ae75ddd85ba1e95f018509efd71732_155x296.png) | ![](https://img.kancloud.cn/49/f7/49f75a02dc8374a4d6f1524993b5034f_155x295.png) |
| [Qt.BevelJoin](qt.html#PenJoinStyle-enum) | [Qt.MiterJoin](qt.html#PenJoinStyle-enum) | [Qt.RoundJoin](qt.html#PenJoinStyle-enum) |
该[Qt.BevelJoin](qt.html#PenJoinStyle-enum)式填充两条线之间的三角形缺口。该[Qt.MiterJoin](qt.html#PenJoinStyle-enum)风格延伸线,以满足在一个角度。和[Qt.RoundJoin](qt.html#PenJoinStyle-enum)式填充两条线之间的圆弧。
默认值是[Qt.BevelJoin](qt.html#PenJoinStyle-enum)。
![](https://img.kancloud.cn/dd/11/dd1155125e810cc65a7a519b768ff813_386x140.png)
当[Qt.MiterJoin](qt.html#PenJoinStyle-enum)样式被应用,就可以使用[setMiterLimit](qpen.html#setMiterLimit)( )函数来指定多远斜角连接可以扩展的连接点。该[miterLimit](qpen.html#miterLimit)()是用于减少线路之间的工件接合处的线是接近平行。
该[miterLimit](qpen.html#miterLimit)()必须在笔为单位指定宽度,例如: 5在宽度为10的斜接限制为50像素长。默认的斜接限制为2 ,即两次以像素为单位的笔宽。
| ![](https://img.kancloud.cn/ba/ea/baea8d00910f6e7c68169533a9bf1b7d_358x350.png) | **[The Path Stroking Demo](index.htm)**路径描边演示显示了Qt内建的虚线样式,并显示自定义模式可以如何用来扩展现有模式的范围。 |
* * *
## Method Documentation
```
QPen.__init__ (self)
```
构造一个默认的黑色实线与笔宽0 。
```
QPen.__init__ (self, Qt.PenStyle)
```
构造一个黑色的钢笔0宽度和给定_style_。
**See also** [setStyle](qpen.html#setStyle)( ) 。
```
QPen.__init__ (self, QColor color)
```
构造一个实线画笔0宽度和给定_color_。
**See also** [setBrush](qpen.html#setBrush)()和[setColor](qpen.html#setColor)( ) 。
```
QPen.__init__ (self, QBrush brush, float width, Qt.PenStyle style = Qt.SolidLine, Qt.PenCapStyle cap = Qt.SquareCap, Qt.PenJoinStyle join = Qt.BevelJoin)
```
构造一个笔用指定的_brush_,_width_,笔_style_,_cap_风格和_join_风格。
**See also** [setBrush](qpen.html#setBrush)( )[setWidth](qpen.html#setWidth)( )[setStyle](qpen.html#setStyle)( )[setCapStyle](qpen.html#setCapStyle)()和[setJoinStyle](qpen.html#setJoinStyle)( ) 。
```
QPen.__init__ (self, QPen pen)
```
构造一个Pen,它是给定一个副本_pen_。
```
QPen.__init__ (self, QVariant variant)
```
```
QBrush QPen.brush (self)
```
[
返回用于填充此笔笔划产生的刷子。
](qbrush.html)
[**See also**](qbrush.html) [setBrush](qpen.html#setBrush)( ) 。
```
Qt.PenCapStyle QPen.capStyle (self)
```
[
返回画笔的端点风格。
](qt.html#PenCapStyle-enum)
[**See also**](qt.html#PenCapStyle-enum) [setCapStyle](qpen.html#setCapStyle)()和[Cap Style](qpen.html#cap-style)。
```
QColor QPen.color (self)
```
[
返回此笔的画笔的颜色。
](qcolor.html)
[**See also**](qcolor.html) [brush](qpen.html#brush)()和[setColor](qpen.html#setColor)( ) 。
```
float QPen.dashOffset (self)
```
返回破折号画笔偏移。
**See also** [setDashOffset](qpen.html#setDashOffset)( ) 。
```
list-of-float QPen.dashPattern (self)
```
返回此笔的虚线样式。
**See also** [setDashPattern](qpen.html#setDashPattern)( )[style](qpen.html#style)()和[isSolid](qpen.html#isSolid)( ) 。
```
bool QPen.isCosmetic (self)
```
返回True如果笔是化妆品,否则返回False 。
化妆品的笔用于绘制具有一定宽度笔划不管施加到任何转换[QPainter](qpainter.html)它们被用于与。绘制形状与化妆品笔确保其轮廓将具有相同的厚度在不同的比例系数。
零宽度的笔是化妆品默认情况下,用钢笔一个非零宽度非化妆品。
**See also** [setCosmetic](qpen.html#setCosmetic)()和[widthF](qpen.html#widthF)( ) 。
```
bool QPen.isSolid (self)
```
如果笔有一个实心填充,否则为False ,则返回True 。
**See also** [style](qpen.html#style)()和[dashPattern](qpen.html#dashPattern)( ) 。
```
Qt.PenJoinStyle QPen.joinStyle (self)
```
[
返回画笔的接合风格。
](qt.html#PenJoinStyle-enum)
[**See also**](qt.html#PenJoinStyle-enum) [setJoinStyle](qpen.html#setJoinStyle)()和[Join Style](qpen.html#join-style)。
```
float QPen.miterLimit (self)
```
返回钢笔斜接限制。斜接限制仅适用时加入样式设置为[Qt.MiterJoin](qt.html#PenJoinStyle-enum)。
**See also** [setMiterLimit](qpen.html#setMiterLimit)()和[Join Style](qpen.html#join-style)。
```
QPen.setBrush (self, QBrush brush)
```
设置用于填充用这支笔生成的给定笔划刷_brush_。
**See also** [brush](qpen.html#brush)()和[setColor](qpen.html#setColor)( ) 。
```
QPen.setCapStyle (self, Qt.PenCapStyle pcs)
```
设置画笔的端点风格为给定的_style_。缺省值是[Qt.SquareCap](qt.html#PenCapStyle-enum)。
**See also** [capStyle](qpen.html#capStyle)()和[Cap Style](qpen.html#cap-style)。
```
QPen.setColor (self, QColor color)
```
设置此笔的画笔的颜色来定_color_。
**See also** [setBrush](qpen.html#setBrush)()和[color](qpen.html#color)( ) 。
```
QPen.setCosmetic (self, bool cosmetic)
```
设置此笔化妆或不化妆,这取决于价值_cosmetic_。
**See also** [isCosmetic](qpen.html#isCosmetic)( ) 。
```
QPen.setDashOffset (self, float doffset)
```
设置在仪表偏移(在虚线模式的出发点)就本笔到_offset_规定。的偏移量的测量是在用于指定虚线图案的单元计。
| ![](https://img.kancloud.cn/be/a1/bea13367204f0944932b3ab3b5ca0934_192x144.png) | For example, a pattern where each stroke is four units long, followed by a gap of two units, will begin with the stroke when drawn as a line.然而,如果破折号偏移量设置为4.0时,得出的任何线将开始与间隙。的偏移量高达4.0的值将导致中风的一部分首先被绘制,而值4.0和6.0之间的偏移将导致与开始的间隙部分就行了。 |
**Note:**这种隐式转换用笔的风格[Qt.CustomDashLine](qt.html#PenStyle-enum)。
**See also** [dashOffset](qpen.html#dashOffset)( ) 。
```
QPen.setDashPattern (self, list-of-float pattern)
```
设置此笔的虚线样式给定的_pattern_。这种隐式转换用笔的风格[Qt.CustomDashLine](qt.html#PenStyle-enum)。
图案必须被指定为偶数阳性条目,其中这些条目1,3, 5 ...是虚线和2,4, 6 ...是空格。例如:
| ![](https://img.kancloud.cn/30/3f/303ffe778bec1affbbf17e75ca6d4a03_196x118.png) |
```
[QPen](qpen.html) pen;
[QVector](index.htm)<[qreal](index.htm#qreal-typedef)> dashes;
[qreal](index.htm#qreal-typedef) space = 4;
dashes << 1 << space << 3 << space << 9 << space
<< 27 << space << 9 << space;
pen.setDashPattern(dashes);
```
|
虚线样式被指定在钢笔的宽度为单位;例如:长度为5的宽度为10的破折号是50像素长。需要注意的是零宽度的笔相当于一个化妆品笔与1个像素的宽度。
每个破折号也受到帽样式,因此1方形帽套破折号将扩大0.5个像素在每个方向上产生2的总宽度。
请注意,默认帽风格[Qt.SquareCap](qt.html#PenCapStyle-enum)的,这意味着一个正方形线端复盖了终点,并通过半线宽度延伸超过它。
**See also** [setStyle](qpen.html#setStyle)( )[dashPattern](qpen.html#dashPattern)( )[setCapStyle](qpen.html#setCapStyle)()和[setCosmetic](qpen.html#setCosmetic)( ) 。
```
QPen.setJoinStyle (self, Qt.PenJoinStyle pcs)
```
设置画笔的接合风格为给定的_style_。缺省值是[Qt.BevelJoin](qt.html#PenJoinStyle-enum)。
**See also** [joinStyle](qpen.html#joinStyle)()和[Join Style](qpen.html#join-style)。
```
QPen.setMiterLimit (self, float limit)
```
设置此笔的斜接限制为给定的_limit_。
![](https://img.kancloud.cn/dd/11/dd1155125e810cc65a7a519b768ff813_386x140.png)
斜接限制描述多远斜角连接可以从连接点延伸。这是用来减少线路之间的工件接合处的线是接近平行。
该值不会只影响当笔样式设置为[Qt.MiterJoin](qt.html#PenJoinStyle-enum)。该值在笔的宽度,如为单位指定5在宽度为10的斜接限制为50像素长。默认的斜接限制为2 ,即两次以像素为单位的笔宽。
**See also** [miterLimit](qpen.html#miterLimit)( )[setJoinStyle](qpen.html#setJoinStyle)()和[Join Style](qpen.html#join-style)。
```
QPen.setStyle (self, Qt.PenStyle)
```
设置画笔样式给定的_style_。
请参阅[Qt.PenStyle](qt.html#PenStyle-enum)文档的可用样式列表。由于Qt的4.1 ,也可以使用指定自定义虚线图案的[setDashPattern](qpen.html#setDashPattern)( )函数,它的笔的款式隐式转换为[Qt.CustomDashLine](qt.html#PenStyle-enum)。
**Note:**该函数复位破折号偏移为零。
**See also** [style](qpen.html#style)()和[Pen Style](qpen.html#pen-style)。
```
QPen.setWidth (self, int width)
```
设置钢笔的宽度为给定的_width_与精确到整数像素。
零线宽表示化妆品的笔。这意味着画笔宽度总是绘制一个像素的宽度,独立的[transformation](qpainter.html#coordinate-transformations)设置的画家。
设置画笔宽度为负值,不支持。
**See also** [setWidthF](qpen.html#setWidthF)()和[width](qpen.html#width)( ) 。
```
QPen.setWidthF (self, float width)
```
设置钢笔的宽度为给定的_width_与浮点精度像素。
零线宽表示化妆品的笔。这意味着画笔宽度总是绘制一个像素的宽度,独立的[transformation](qpainter.html#coordinate-transformations)在画家。
设置画笔宽度为负值,不支持。
**See also** [setWidth](qpen.html#setWidth)()和[widthF](qpen.html#widthF)( ) 。
```
Qt.PenStyle QPen.style (self)
```
[
返回画笔样式。
](qt.html#PenStyle-enum)
[**See also**](qt.html#PenStyle-enum) [setStyle](qpen.html#setStyle)()和[Pen Style](qpen.html#pen-style)。
```
QPen.swap (self, QPen other)
```
笔掉期_other_用这种笔。这个操作是非常快的,而且永远不会。
此功能被引入Qt的4.8 。
```
int QPen.width (self)
```
返回画笔的宽度以整数精度。
**See also** [setWidth](qpen.html#setWidth)()和[widthF](qpen.html#widthF)( ) 。
```
float QPen.widthF (self)
```
返回与浮点精度的笔宽。
**See also** [setWidthF](qpen.html#setWidthF)()和[width](qpen.html#width)( ) 。
```
bool QPen.__eq__ (self, QPen p)
```
```
bool QPen.__ne__ (self, QPen p)
```
- 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