# QRegion Class Reference
## [[QtGui](index.htm) module]
该QRegion类指定一个画家的剪辑区域。[More...](#details)
### Types
* `enum RegionType { Rectangle, Ellipse }`
### Methods
* `__init__ (self)`
* `__init__ (self, int x, int y, int w, int h, RegionType type = QRegion.Rectangle)`
* `__init__ (self, QRect r, RegionType type = QRegion.Rectangle)`
* `__init__ (self, QPolygon a, Qt.FillRule fillRule = Qt.OddEvenFill)`
* `__init__ (self, QBitmap bitmap)`
* `__init__ (self, QRegion region)`
* `__init__ (self, QVariant variant)`
* `QRect boundingRect (self)`
* `bool contains (self, QPoint p)`
* `bool contains (self, QRect r)`
* `QRegion eor (self, QRegion r)`
* `QRegion intersect (self, QRegion r)`
* `QRegion intersected (self, QRegion r)`
* `QRegion intersected (self, QRect r)`
* `bool intersects (self, QRegion r)`
* `bool intersects (self, QRect r)`
* `bool isEmpty (self)`
* `int numRects (self)`
* `int rectCount (self)`
* `list-of-QRect rects (self)`
* `QRegion subtract (self, QRegion r)`
* `QRegion subtracted (self, QRegion r)`
* `swap (self, QRegion other)`
* `translate (self, int dx, int dy)`
* `translate (self, QPoint p)`
* `QRegion translated (self, int dx, int dy)`
* `QRegion translated (self, QPoint p)`
* `QRegion unite (self, QRegion r)`
* `QRegion united (self, QRegion r)`
* `QRegion united (self, QRect r)`
* `QRegion xored (self, QRegion r)`
### Special Methods
* `QRegion __add__ (self, QRegion r)`
* `QRegion __add__ (self, QRect r)`
* `QRegion __and__ (self, QRegion r)`
* `QRegion __and__ (self, QRect r)`
* `int __bool__ (self)`
* `int __contains__ (self, QPoint p)`
* `int __contains__ (self, QRect r)`
* `bool __eq__ (self, QRegion r)`
* `QRegion __iadd__ (self, QRegion r)`
* `QRegion __iadd__ (self, QRect r)`
* `QRegion __iand__ (self, QRegion r)`
* `QRegion __iand__ (self, QRect r)`
* `QRegion __ior__ (self, QRegion r)`
* `QRegion __isub__ (self, QRegion r)`
* `QRegion __ixor__ (self, QRegion r)`
* `QRegion __mul__ (self, QMatrix m)`
* `QRegion __mul__ (self, QTransform m)`
* `bool __ne__ (self, QRegion r)`
* `QRegion __or__ (self, QRegion r)`
* `QRegion __sub__ (self, QRegion r)`
* `QRegion __xor__ (self, QRegion r)`
* * *
## Detailed Description
该QRegion类指定一个画家的剪辑区域。
QRegion一起使用[QPainter.setClipRegion](qpainter.html#setClipRegion)( ),以限制油漆区,以什么需要上漆。还有一个[QWidget.repaint](qwidget.html#repaint)( )函数,它接受一个QRegion参数。 QRegion对于减少屏幕区域由一个重绘更新量的最佳工具。
这个类是不适合于构建形状呈现,尤其是作为轮廓。使用[QPainterPath](qpainterpath.html)创建路径和形状与使用[QPainter](qpainter.html)。
QRegion是[implicitly shared](index.htm#implicitly-shared)类。
### Creating and Using Regions
一个区域可以由一个矩形,椭圆形,多边形或一个位图被创建。复杂区域可以通过结合简单的使用区域来创建[united](qregion.html#united)( )[intersected](qregion.html#intersected)( )[subtracted](qregion.html#subtracted)() ,或[xored](qregion.html#xored)() (异或) 。您可以使用移动区域[translate](qregion.html#translate)( ) 。
您可以测试是否一个区域[isEmpty](qregion.html#isEmpty)() ,或者如果它[contains](qregion.html#contains)( )一[QPoint](qpoint.html) or [QRect](qrect.html)。该边框可以找到[boundingRect](qregion.html#boundingRect)( ) 。
该功能[rects](qregion.html#rects)()给出的区域的分解成矩形。
使用复杂的区域的例子:
```
void MyWidget.paintEvent([QPaintEvent](qpaintevent.html) *)
{
QRegion r1([QRect](qrect.html)(100, 100, 200, 80), // r1: elliptic region
QRegion.Ellipse);
QRegion r2([QRect](qrect.html)(100, 120, 90, 30)); // r2: rectangular region
QRegion r3 = r1.intersected(r2); // r3: intersection
[QPainter](qpainter.html) painter(this);
painter.setClipRegion(r3);
... // paint clipped graphics
}
```
### Additional License Information
在嵌入式Linux , Windows CE和X11平台上,这个类的部分依靠以以下授权协议获得的代码:
版权所有(c )1987 X联盟
特此免费授予的,对任何获得本软件副本及相关文档文件( “软件” ) ,以处理本软件不受任何限制,包括但不限于使用权,复制,修改,合并,发布,分发,再许可和/或销售软件副本,并允许他人为之软体家具是这样做的,须符合下列条件:
上述版权声明和本许可声明应包含在所有的副本或实质性部分的软件。
本软件按“原样”,没有任何形式的担保,明示或默示的担保,包括但不限于适销性,适用于特定用途和非侵权的保证。在任何情况下X联盟承担任何索赔,损害赔偿或其他责任,无论是合同行为,侵权行为或其他原因所产生的,运出或与本软件或使用,或软件中的其他交易。
除本通知所载, X联盟的名称不得用于广告或其他方式来促进销售,使用或本软件中的其他交易未经X联盟事先书面授权。
版权所有1987年由数字设备公司,梅纳德,马萨诸塞。
保留所有权利
许可使用,复制,修改和分发本软件及其文档的任何目的免费特此授予,前提是上述版权声明出现在所有副本中,并且两种版权声明和本许可声明出现在支持文档,并且在广告或宣传有关软件分发没有具体的不能用数字的名称,事先书面许可。
DIGITAL声明不提供本软件有关,包括对适销性和适用性的所有默示保证,在任何情况下数字都不对任何特殊,间接或后果性损害或任何损害因无法使用,数据丢失或利润,无论是在动作的合同,疏忽或其它侵权行为,所产生的或与本软件的使用或性能。
* * *
## Type Documentation
```
QRegion.RegionType
```
指定区域的要创建的形状。
| Constant | Value | Description |
| --- | --- | --- |
| `QRegion.Rectangle` | `0` | 该区域复盖了整个矩形。 |
| `QRegion.Ellipse` | `1` | 该区域是在矩形内的椭圆形。 |
* * *
## Method Documentation
```
QRegion.__init__ (self)
```
构造一个空区域。
**See also** [isEmpty](qregion.html#isEmpty)( ) 。
```
QRegion.__init__ (self, int x, int y, int w, int h, RegionType type = QRegion.Rectangle)
```
构造一个矩形或椭圆形区域。
If _t_ is `Rectangle`的区域是填充矩形(_x_,_y_,_w_,_h_) 。如果_t_ is `Ellipse`,该地区是充满椭圆与中心(_x_+_w_/ 2,_y_+_h_/ 2)和尺寸(_w_,_h_) 。
```
QRegion.__init__ (self, QRect r, RegionType type = QRegion.Rectangle)
```
从点阵列构造一个多边形区域_a_由指定的填充规则_fillRule_。
If _fillRule_ is [Qt.WindingFill](qt.html#FillRule-enum),多边形区域是使用捲绕算法中定义,如果是[Qt.OddEvenFill](qt.html#FillRule-enum),奇偶填充算法被使用。
**Warning:**这个构造函数可以用来创建复杂的地区使用时,将减缓画。
```
QRegion.__init__ (self, QPolygon a, Qt.FillRule fillRule = Qt.OddEvenFill)
```
```
QRegion.__init__ (self, QBitmap bitmap)
```
构造一个新的区域,它等于区域_r_。
```
QRegion.__init__ (self, QRegion region)
```
从位图构造一个区域_bm_。
所得到的区域由以位图的像素的_bm_是[Qt.color1](qt.html#GlobalColor-enum),好像每个像素是一个1×1的矩形。
这个构造函数可以创建复杂的地区使用时,将减缓画。请注意,绘图蒙面像素映射可以做到更快使用[QPixmap.setMask](qpixmap.html#setMask)( ) 。
```
QRegion.__init__ (self, QVariant variant)
```
这是一个重载函数。
创建基于rectange区域_r_与区域类型_t_。
如果矩形是无效的空区域将被创建。
**See also** [QRegion.RegionType](qregion.html#RegionType-enum)。
```
QRect QRegion.boundingRect (self)
```
[](qrect.html)
[返回此区域的边界矩形。一个空的区域给出了一个矩形,它是](qrect.html)[QRect.isNull](qrect.html#isNull)( ) 。
```
bool QRegion.contains (self, QPoint p)
```
如果该区域包含该点,则返回True_p_否则返回False 。
```
bool QRegion.contains (self, QRect r)
```
这是一个重载函数。
如果该区域的矩形重叠,则返回True_r_否则返回False 。
```
QRegion QRegion.eor (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.intersect (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.intersected (self, QRegion r)
```
[
返回作为此区域的交集和地区_r_。
![Region Intersection](https://img.kancloud.cn/ec/2f/ec2f5d0399274e73d8365e19b56905ba_100x48.png)
该图显示了两个椭圆区域的交界处。
这个函数中引入了Qt 4.2中。
](qregion.html)
[**See also**](qregion.html) [subtracted](qregion.html#subtracted)( )[united](qregion.html#united)()和[xored](qregion.html#xored)( ) 。
```
QRegion QRegion.intersected (self, QRect r)
```
[
返回作为此区域的交集和给定的区域_rect_。
此功能被引入Qt的4.4 。
](qregion.html)
[**See also**](qregion.html) [subtracted](qregion.html#subtracted)( )[united](qregion.html#united)()和[xored](qregion.html#xored)( ) 。
```
bool QRegion.intersects (self, QRegion r)
```
如果这个区域相交,则返回True_region_,否则返回False 。
这个函数中引入了Qt 4.2中。
```
bool QRegion.intersects (self, QRect r)
```
如果这个区域相交,则返回True_rect_,否则返回False 。
这个函数中引入了Qt 4.2中。
```
bool QRegion.isEmpty (self)
```
返回True如果该区域为空,否则返回False 。空白区是一个不包含任何点的区域中。
例如:
```
[QRegion](qregion.html) r1(10, 10, 20, 20);
r1.isEmpty(); // false
[QRegion](qregion.html) r3;
r3.isEmpty(); // true
[QRegion](qregion.html) r2(40, 40, 20, 20);
r3 = r1.intersected(r2); // r3: intersection of r1 and r2
r3.isEmpty(); // true
r3 = r1.united(r2); // r3: union of r1 and r2
r3.isEmpty(); // false
```
```
int QRegion.numRects (self)
```
```
int QRegion.rectCount (self)
```
返回将在返回矩形数[rects](qregion.html#rects)( ) 。
此功能被引入Qt的4.6 。
```
list-of-QRect QRegion.rects (self)
```
返回非重叠的矩形组成区域的数组。
所有矩形的并集等于原来的区域。
**See also** [setRects](qregion.html#setRects)( ) 。
```
QRegion QRegion.subtract (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.subtracted (self, QRegion r)
```
[
返回其是区域_r_减去这一地区。
![Region Subtraction](https://img.kancloud.cn/2c/35/2c35acefc57b90b7312b96e3e373990a_100x48.png)
图中示出了结果,当在右侧的椭圆是从左侧的椭圆(减去`left - right`) 。
这个函数中引入了Qt 4.2中。
](qregion.html)
[**See also**](qregion.html) [intersected](qregion.html#intersected)( )[united](qregion.html#united)()和[xored](qregion.html#xored)( ) 。
```
QRegion.swap (self, QRegion other)
```
交换区_other_与这一地区。这个操作是非常快的,而且永远不会。
此功能被引入Qt的4.8 。
```
QRegion.translate (self, int dx, int dy)
```
平移(移动)的区域_dx_沿X轴和_dy_沿着Y轴。
```
QRegion.translate (self, QPoint p)
```
这是一个重载函数。
转译区_point__.x()_沿x轴和_point__.y()_沿着y轴,相对于当前位置。正值移动的区域向右和向下。
转换为给定的_point_。
```
QRegion QRegion.translated (self, int dx, int dy)
```
[
返回区域的一个副本被翻译_dx_沿x轴和_dy_沿着y轴,相对于当前位置。正值移动的区域向右和向下。
这个函数是Qt 4.1中引入。
](qregion.html)
[**See also**](qregion.html) [translate](qregion.html#translate)( ) 。
```
QRegion QRegion.translated (self, QPoint p)
```
[
这是一个重载函数。
返回regtion的副本翻译_p__.x()_沿x轴和_p__.y()_沿着y轴,相对于当前位置。正值移动矩形向右和向下。
这个函数是Qt 4.1中引入。
](qregion.html)
[**See also**](qregion.html) [translate](qregion.html#translate)( ) 。
```
QRegion QRegion.unite (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.united (self, QRegion r)
```
[
返回作为此区域的和工会的区域_r_。
![Region Union](https://img.kancloud.cn/e5/4b/e54bcc6e7a5cdee1be9e21e293f9d883_100x48.png)
该图显示了两个椭圆区域的联合。
这个函数中引入了Qt 4.2中。
](qregion.html)
[**See also**](qregion.html) [intersected](qregion.html#intersected)( )[subtracted](qregion.html#subtracted)()和[xored](qregion.html#xored)( ) 。
```
QRegion QRegion.united (self, QRect r)
```
[
返回作为此区域的和工会给定一个区域_rect_。
此功能被引入Qt的4.4 。
](qregion.html)
[**See also**](qregion.html) [intersected](qregion.html#intersected)( )[subtracted](qregion.html#subtracted)()和[xored](qregion.html#xored)( ) 。
```
QRegion QRegion.xored (self, QRegion r)
```
[
返回作为此区域的异或( XOR)和一个区_r_。
![Region XORed](https://img.kancloud.cn/a7/29/a7290bac482ab30524ef495dff94f730_100x48.png)
该图显示了专用的两个椭圆区域或。
这个函数中引入了Qt 4.2中。
](qregion.html)
[**See also**](qregion.html) [intersected](qregion.html#intersected)( )[united](qregion.html#united)()和[subtracted](qregion.html#subtracted)( ) 。
```
QRegion QRegion.__add__ (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.__add__ (self, QRect r)
```
[](qregion.html)
```
QRegion QRegion.__and__ (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.__and__ (self, QRect r)
```
[
```
int QRegion.__bool__ (self)
```
```
int QRegion.__contains__ (self, QPoint p)
```
```
int QRegion.__contains__ (self, QRect r)
```
```
bool QRegion.__eq__ (self, QRegion r)
```
](qregion.html)
```
QRegion QRegion.__iadd__ (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.__iadd__ (self, QRect r)
```
[](qregion.html)
```
QRegion QRegion.__iand__ (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.__iand__ (self, QRect r)
```
[](qregion.html)
```
QRegion QRegion.__ior__ (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.__isub__ (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.__ixor__ (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.__mul__ (self, QMatrix m)
```
[](qregion.html)
```
QRegion QRegion.__mul__ (self, QTransform m)
```
[
```
bool QRegion.__ne__ (self, QRegion r)
```
](qregion.html)
```
QRegion QRegion.__or__ (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.__sub__ (self, QRegion r)
```
[](qregion.html)
```
QRegion QRegion.__xor__ (self, QRegion r)
```
[](qregion.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