Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2037

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QGraphicsEllipseItem" doc="/**
&lt;p&gt;The &lt;a href=&quot;QGraphicsEllipseItem.html#QGraphicsEllipseItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsEllipseItem&lt;/tt&gt;&lt;/a&gt; class provides an ellipse item that you can add to a &lt;a href=&quot;QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGraphicsEllipseItem.html#QGraphicsEllipseItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsEllipseItem&lt;/tt&gt;&lt;/a&gt; respresents an ellipse with a fill and an outline, and you can also use it for ellipse segments (see &lt;a href=&quot;QGraphicsEllipseItem.html#startAngle()&quot;&gt;&lt;tt&gt;startAngle&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsEllipseItem.html#spanAngle()&quot;&gt;&lt;tt&gt;spanAngle&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/graphicsview-ellipseitem.png&quot; /&gt;&lt;/td&gt;&lt;td&gt;&lt;img src=&quot;%2E%2E/images/graphicsview-ellipseitem-pie.png&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;To set the item's ellipse, pass a &lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt; to &lt;a href=&quot;QGraphicsEllipseItem.html#QGraphicsEllipseItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsEllipseItem&lt;/tt&gt;&lt;/a&gt;'s constructor, or call &lt;a href=&quot;QGraphicsEllipseItem.html#setRect(double, double, double, double)&quot;&gt;&lt;tt&gt;setRect&lt;/tt&gt;&lt;/a&gt;. The &lt;a href=&quot;QGraphicsEllipseItem.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt; function returns the current ellipse geometry.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGraphicsEllipseItem.html#QGraphicsEllipseItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsEllipseItem&lt;/tt&gt;&lt;/a&gt; uses the rect and the pen width to provide a reasonable implementation of &lt;a href=&quot;QGraphicsEllipseItem.html#boundingRect()&quot;&gt;&lt;tt&gt;boundingRect&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsEllipseItem.html#shape()&quot;&gt;&lt;tt&gt;shape&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QGraphicsEllipseItem.html#contains(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;contains&lt;/tt&gt;&lt;/a&gt;. The &lt;a href=&quot;QGraphicsEllipseItem.html#paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionGraphicsItem, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;paint&lt;/tt&gt;&lt;/a&gt; function draws the ellipse using the item's associated pen and brush, which you can set by calling &lt;a href=&quot;QAbstractGraphicsShapeItem.html#setPen(com.trolltech.qt.gui.QPen)&quot;&gt;&lt;tt&gt;setPen&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QAbstractGraphicsShapeItem.html#setBrush(com.trolltech.qt.gui.QBrush)&quot;&gt;&lt;tt&gt;setBrush&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsPathItem.html&quot;&gt;&lt;tt&gt;QGraphicsPathItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsRectItem.html&quot;&gt;&lt;tt&gt;QGraphicsRectItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsPolygonItem.html&quot;&gt;&lt;tt&gt;QGraphicsPolygonItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsTextItem.html&quot;&gt;&lt;tt&gt;QGraphicsTextItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsLineItem.html&quot;&gt;&lt;tt&gt;QGraphicsLineItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsPixmapItem.html&quot;&gt;&lt;tt&gt;QGraphicsPixmapItem&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/graphicsview.html&quot;&gt;The Graphics View Framework&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QGraphicsEllipseItem(com.trolltech.qt.gui.QGraphicsItemInterface parent, com.trolltech.qt.gui.QGraphicsScene scene)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QGraphicsEllipseItem.html#QGraphicsEllipseItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsEllipseItem&lt;/tt&gt;&lt;/a&gt; using &lt;tt&gt;parent&lt;/tt&gt; as the default rectangle. &lt;tt&gt;scene&lt;/tt&gt; is passed to &lt;a href=&quot;QAbstractGraphicsShapeItem.html#QAbstractGraphicsShapeItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QAbstractGraphicsShapeItem&lt;/tt&gt;&lt;/a&gt;'s constructor.&lt;/p&gt;

@see &lt;tt&gt;QGraphicsScene::addItem&lt;/tt&gt; */"/>
    <method name="public QGraphicsEllipseItem(com.trolltech.qt.gui.QGraphicsItemInterface parent)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsEllipseItem.html#QGraphicsEllipseItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsEllipseItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;parent&lt;/tt&gt;, 0). */"/>
    <method name="public QGraphicsEllipseItem()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsEllipseItem.html#QGraphicsEllipseItem(com.trolltech.qt.gui.QGraphicsItemInterface, com.trolltech.qt.gui.QGraphicsScene)&quot;&gt;&lt;tt&gt;QGraphicsEllipseItem&lt;/tt&gt;&lt;/a&gt;(, 0). */"/>
    <method name="public QGraphicsEllipseItem(com.trolltech.qt.core.QRectF rect, com.trolltech.qt.gui.QGraphicsItemInterface parent, com.trolltech.qt.gui.QGraphicsScene scene)"/>
    <method name="public QGraphicsEllipseItem(com.trolltech.qt.core.QRectF rect, com.trolltech.qt.gui.QGraphicsItemInterface parent)"/>
    <method name="public QGraphicsEllipseItem(com.trolltech.qt.core.QRectF rect)"/>
    <method name="public QGraphicsEllipseItem(double x, double y, double w, double h, com.trolltech.qt.gui.QGraphicsItemInterface parent, com.trolltech.qt.gui.QGraphicsScene scene)"/>
    <method name="public QGraphicsEllipseItem(double x, double y, double w, double h, com.trolltech.qt.gui.QGraphicsItemInterface parent)"/>
    <method name="public QGraphicsEllipseItem(double x, double y, double w, double h)"/>
    <method name="public final com.trolltech.qt.core.QRectF rect()" doc="/**
&lt;p&gt;Returns the item's ellipse geometry as a &lt;a href=&quot;%2E%2E/core/QRectF.html&quot;&gt;&lt;tt&gt;QRectF&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsEllipseItem.html#setRect(double, double, double, double)&quot;&gt;&lt;tt&gt;setRect&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPainter::drawEllipse&lt;/tt&gt; */"/>
    <method name="public final void setRect(com.trolltech.qt.core.QRectF rect)" doc="/**
&lt;p&gt;Sets the item's ellipse geometry to &lt;tt&gt;rect&lt;/tt&gt;. The rectangle's left edge defines the left edge of the ellipse, and the rectangle's top edge describes the top of the ellipse. The height and width of the rectangle describe the height and width of the ellipse.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsEllipseItem.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPainter::drawEllipse&lt;/tt&gt; */"/>
    <method name="public final void setRect(double x, double y, double w, double h)" doc="/**
&lt;p&gt;Sets the item's rectangle to the rectangle defined by (&lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;) and the given &lt;tt&gt;w&lt;/tt&gt; and &lt;tt&gt;h&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This convenience function is equivalent to calling &lt;tt&gt;setRect(QRectF(x, y, width, height))&lt;/tt&gt;&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsEllipseItem.html#rect()&quot;&gt;&lt;tt&gt;rect&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSpanAngle(int angle)" doc="/**
&lt;p&gt;Sets the span angle for an ellipse segment to &lt;tt&gt;angle&lt;/tt&gt;, which is in 16ths of a degree. This angle is used together with &lt;a href=&quot;QGraphicsEllipseItem.html#startAngle()&quot;&gt;&lt;tt&gt;startAngle&lt;/tt&gt;&lt;/a&gt; to represent an ellipse segment (a pie). By default, the span angle is 5760 (360 * 16, a full ellipse).&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsEllipseItem.html#spanAngle()&quot;&gt;&lt;tt&gt;spanAngle&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsEllipseItem.html#setStartAngle(int)&quot;&gt;&lt;tt&gt;setStartAngle&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPainter::drawPie&lt;/tt&gt; */"/>
    <method name="public final void setStartAngle(int angle)" doc="/**
&lt;p&gt;Sets the start angle for an ellipse segment to &lt;tt&gt;angle&lt;/tt&gt;, which is in 16ths of a degree. This angle is used together with &lt;a href=&quot;QGraphicsEllipseItem.html#spanAngle()&quot;&gt;&lt;tt&gt;spanAngle&lt;/tt&gt;&lt;/a&gt; for representing an ellipse segment (a pie). By default, the start angle is 0.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsEllipseItem.html#startAngle()&quot;&gt;&lt;tt&gt;startAngle&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsEllipseItem.html#setSpanAngle(int)&quot;&gt;&lt;tt&gt;setSpanAngle&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QPainter::drawPie&lt;/tt&gt; */"/>
    <method name="public final int spanAngle()" doc="/**
&lt;p&gt;Returns the span angle of an ellipse segment in 16ths of a degree. This angle is used together with &lt;a href=&quot;QGraphicsEllipseItem.html#startAngle()&quot;&gt;&lt;tt&gt;startAngle&lt;/tt&gt;&lt;/a&gt; for representing an ellipse segment (a pie). By default, this function returns 5760 (360 * 16, a full ellipse).&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsEllipseItem.html#setSpanAngle(int)&quot;&gt;&lt;tt&gt;setSpanAngle&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsEllipseItem.html#startAngle()&quot;&gt;&lt;tt&gt;startAngle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int startAngle()" doc="/**
&lt;p&gt;Returns the start angle for an ellipse segment in 16ths of a degree. This angle is used together with &lt;a href=&quot;QGraphicsEllipseItem.html#spanAngle()&quot;&gt;&lt;tt&gt;spanAngle&lt;/tt&gt;&lt;/a&gt; for representing an ellipse segment (a pie). By default, the start angle is 0.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsEllipseItem.html#setStartAngle(int)&quot;&gt;&lt;tt&gt;setStartAngle&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsEllipseItem.html#spanAngle()&quot;&gt;&lt;tt&gt;spanAngle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.core.QRectF boundingRect()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean contains(com.trolltech.qt.core.QPointF point)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public java.lang.Object extension(java.lang.Object variant)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsEllipseItem.html#setExtension(com.trolltech.qt.gui.QGraphicsItem.Extension, java.lang.Object)&quot;&gt;&lt;tt&gt;setExtension&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean isObscuredBy(com.trolltech.qt.gui.QGraphicsItemInterface item)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.gui.QPainterPath opaqueArea()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void paint(com.trolltech.qt.gui.QPainter painter, com.trolltech.qt.gui.QStyleOptionGraphicsItem option, com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public final void paint(com.trolltech.qt.gui.QPainter painter, com.trolltech.qt.gui.QStyleOptionGraphicsItem option)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsEllipseItem.html#paint(com.trolltech.qt.gui.QPainter, com.trolltech.qt.gui.QStyleOptionGraphicsItem, com.trolltech.qt.gui.QWidget)&quot;&gt;paint&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;painter&lt;/tt&gt;, &lt;tt&gt;option&lt;/tt&gt;, 0). */"/>
    <method name="public void setExtension(com.trolltech.qt.gui.QGraphicsItem.Extension extension, java.lang.Object variant)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsEllipseItem.html#extension(java.lang.Object)&quot;&gt;&lt;tt&gt;extension&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public com.trolltech.qt.gui.QPainterPath shape()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean supportsExtension(com.trolltech.qt.gui.QGraphicsItem.Extension extension)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="public int type()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
</class>