Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 1dd17e0d683ef79b4bb6872bbf359d7f > files > 5415

qt4-doc-4.8.7-26.2.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qgraphicsitem.cpp -->
  <title>Qt 4.8: QGraphicsObject Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/style.css" />
  <script src="scripts/jquery.js" type="text/javascript"></script>
  <script src="scripts/functions.js" type="text/javascript"></script>
  <link rel="stylesheet" type="text/css" href="style/superfish.css" />
  <link rel="stylesheet" type="text/css" href="style/narrow.css" />
  <!--[if IE]>
<meta name="MSSmartTagsPreventParsing" content="true">
<meta http-equiv="imagetoolbar" content="no">
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie6.css">
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="style/style_ie7.css">
<![endif]-->
<!--[if IE 8]>
<link rel="stylesheet" type="text/css" href="style/style_ie8.css">
<![endif]-->

<script src="scripts/superfish.js" type="text/javascript"></script>
<script src="scripts/narrow.js" type="text/javascript"></script>

</head>
<body class="" onload="CheckEmptyAndLoadList();">
 <div class="header" id="qtdocheader">
    <div class="content"> 
    <div id="nav-logo">
      <a href="index.html">Home</a></div>
    <a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
    <div id="narrowsearch"></div>
    <div id="nav-topright">
      <ul>
        <li class="nav-topright-home"><a href="http://qt.digia.com/">Qt HOME</a></li>
        <li class="nav-topright-dev"><a href="http://qt-project.org/">DEV</a></li>
        <li class="nav-topright-doc nav-topright-doc-active"><a href="http://qt-project.org/doc/">
          DOC</a></li>
        <li class="nav-topright-blog"><a href="http://blog.qt.digia.com/">BLOG</a></li>
      </ul>
    </div>
    <div id="shortCut">
      <ul>
        <li class="shortCut-topleft-inactive"><span><a href="index.html">Qt 4.8</a></span></li>
        <li class="shortCut-topleft-active"><a href="http://qt-project.org/doc/">ALL VERSIONS        </a></li>
      </ul>
     </div>
 <ul class="sf-menu" id="narrowmenu"> 
             <li><a href="#">API Lookup</a> 
                 <ul> 
                     <li><a href="classes.html">Class index</a></li> 
           <li><a href="functions.html">Function index</a></li> 
           <li><a href="modules.html">Modules</a></li> 
           <li><a href="namespaces.html">Namespaces</a></li> 
           <li><a href="qtglobal.html">Global Declarations</a></li> 
           <li><a href="qdeclarativeelements.html">QML elements</a></li> 
             </ul> 
             </li> 
             <li><a href="#">Qt Topics</a> 
                 <ul> 
                        <li><a href="qt-basic-concepts.html">Programming with Qt</a></li>  
                        <li><a href="qtquick.html">Device UIs &amp; Qt Quick</a></li>  
                        <li><a href="qt-gui-concepts.html">UI Design with Qt</a></li>  
                        <li><a href="supported-platforms.html">Supported Platforms</a></li>  
                        <li><a href="technology-apis.html">Qt and Key Technologies</a></li>  
                        <li><a href="best-practices.html">How-To's and Best Practices</a></li>  
              </ul> 
                 </li> 
                 <li><a href="#">Examples</a> 
                     <ul> 
                       <li><a href="all-examples.html">Examples</a></li> 
                       <li><a href="tutorials.html">Tutorials</a></li> 
                       <li><a href="demos.html">Demos</a></li> 
                       <li><a href="qdeclarativeexamples.html">QML Examples</a></li> 
                </ul> 
                     </li> 
                 </ul> 
    </div>
  </div>
  <div class="wrapper">
    <div class="hd">
      <span></span>
    </div>
    <div class="bd group">
      <div class="sidebar">
        <div class="searchlabel">
          Search index:</div>
        <div class="search" id="sidebarsearch">
          <form id="qtdocsearch" action="" onsubmit="return false;">
            <fieldset>
              <input type="text" name="searchstring" id="pageType" value="" />
 <div id="resultdialog"> 
 <a href="#" id="resultclose">Close</a> 
 <p id="resultlinks" class="all"><a href="#" id="showallresults">All</a> | <a href="#" id="showapiresults">API</a> | <a href="#" id="showarticleresults">Articles</a> | <a href="#" id="showexampleresults">Examples</a></p> 
 <p id="searchcount" class="all"><span id="resultcount"></span><span id="apicount"></span><span id="articlecount"></span><span id="examplecount"></span>&nbsp;results:</p> 
 <ul id="resultlist" class="all"> 
 </ul> 
 </div> 
            </fieldset>
          </form>
        </div>
        <div class="box first bottombar" id="lookup">
          <h2 title="API Lookup"><span></span>
            API Lookup</h2>
          <div  id="list001" class="list">
          <ul id="ul001" >
              <li class="defaultLink"><a href="classes.html">Class index</a></li>
              <li class="defaultLink"><a href="functions.html">Function index</a></li>
              <li class="defaultLink"><a href="modules.html">Modules</a></li>
              <li class="defaultLink"><a href="namespaces.html">Namespaces</a></li>
              <li class="defaultLink"><a href="qtglobal.html">Global Declarations</a></li>
              <li class="defaultLink"><a href="qdeclarativeelements.html">QML elements</a></li>
            </ul> 
          </div>
        </div>
        <div class="box bottombar" id="topics">
          <h2 title="Qt Topics"><span></span>
            Qt Topics</h2>
          <div id="list002" class="list">
            <ul id="ul002" >
               <li class="defaultLink"><a href="qt-basic-concepts.html">Programming with Qt</a></li> 
               <li class="defaultLink"><a href="qtquick.html">Device UIs &amp; Qt Quick</a></li> 
               <li class="defaultLink"><a href="qt-gui-concepts.html">UI Design with Qt</a></li> 
               <li class="defaultLink"><a href="supported-platforms.html">Supported Platforms</a></li>  
               <li class="defaultLink"><a href="technology-apis.html">Qt and Key Technologies</a></li> 
               <li class="defaultLink"><a href="best-practices.html">How-To's and Best Practices</a></li> 
            </ul>  
          </div>
        </div>
        <div class="box" id="examples">
          <h2 title="Examples"><span></span>
            Examples</h2>
          <div id="list003" class="list">
        <ul id="ul003">
              <li class="defaultLink"><a href="all-examples.html">Examples</a></li>
              <li class="defaultLink"><a href="tutorials.html">Tutorials</a></li>
              <li class="defaultLink"><a href="demos.html">Demos</a></li>
              <li class="defaultLink"><a href="qdeclarativeexamples.html">QML Examples</a></li>
            </ul> 
          </div>
        </div>
      </div>
      <div class="wrap">
        <div class="toolbar">
          <div class="breadcrumb toolblock">
            <ul>
              <li class="first"><a href="index.html">Home</a></li>
              <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtgui.html">QtGui</a></li>
<li>QGraphicsObject</li>
            </ul>
          </div>
          <div class="toolbuttons toolblock">
            <ul>
              <li id="smallA" class="t_button">A</li>
              <li id="medA" class="t_button active">A</li>
              <li id="bigA" class="t_button">A</li>
              <li id="print" class="t_button"><a href="javascript:this.print();">
                <span>Print</span></a></li>
            </ul>
        </div>
        </div>
        <div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#protected-slots">Protected Slots</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
<li class="level2"><a href="#parents-and-children">Parents and Children</a></li>
</ul>
</div>
<h1 class="title">QGraphicsObject Class Reference</h1>
<!-- $$$QGraphicsObject-brief -->
<p>The QGraphicsObject class provides a base class for all graphics items that require signals, slots and properties. <a href="#details">More...</a></p>
<!-- @@@QGraphicsObject -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QGraphicsObject&gt;</span></pre><p><b>Inherits: </b><a href="qobject.html">QObject</a> and <a href="qgraphicsitem.html">QGraphicsItem</a>.</p>
<p><b>Inherited by: </b><a href="qdeclarativeitem.html">QDeclarativeItem</a>, <a href="qgraphicssvgitem.html">QGraphicsSvgItem</a>, <a href="qgraphicstextitem.html">QGraphicsTextItem</a>, and <a href="qgraphicswidget.html">QGraphicsWidget</a>.</p>
<p>This class was introduced in Qt 4.6.</p>
<ul>
<li><a href="qgraphicsobject-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qgraphicsobject.html#effect-prop">effect</a></b> : QGraphicsEffect * const</li>
<li class="fn"><b><a href="qgraphicsobject.html#enabled-prop">enabled</a></b> : const bool</li>
<li class="fn"><b><a href="qgraphicsobject.html#opacity-prop">opacity</a></b> : const qreal</li>
<li class="fn"><b><a href="qgraphicsobject.html#parent-prop">parent</a></b> : QGraphicsObject * const</li>
<li class="fn"><b><a href="qgraphicsobject.html#pos-prop">pos</a></b> : const QPointF</li>
<li class="fn"><b><a href="qgraphicsobject.html#rotation-prop">rotation</a></b> : const qreal</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qgraphicsobject.html#scale-prop">scale</a></b> : const qreal</li>
<li class="fn"><b><a href="qgraphicsobject.html#transformOriginPoint-prop">transformOriginPoint</a></b> : const QPointF</li>
<li class="fn"><b><a href="qgraphicsobject.html#visible-prop">visible</a></b> : const bool</li>
<li class="fn"><b><a href="qgraphicsobject.html#x-prop">x</a></b> : const qreal</li>
<li class="fn"><b><a href="qgraphicsobject.html#y-prop">y</a></b> : const qreal</li>
<li class="fn"><b><a href="qgraphicsobject.html#z-prop">z</a></b> : const qreal</li>
</ul>
</td></tr>
</table>
<ul>
<li class="fn">1 property inherited from <a href="qobject.html#properties">QObject</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#QGraphicsObject">QGraphicsObject</a></b> ( QGraphicsItem * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#grabGesture">grabGesture</a></b> ( Qt::GestureType <i>gesture</i>, Qt::GestureFlags <i>flags</i> = Qt::GestureFlags() )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#ungrabGesture">ungrabGesture</a></b> ( Qt::GestureType <i>gesture</i> )</td></tr>
</table>
<ul>
<li class="fn">29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
<li class="fn">177 public functions inherited from <a href="qgraphicsitem.html#public-functions">QGraphicsItem</a></li>
</ul>
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#enabledChanged">enabledChanged</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#opacityChanged">opacityChanged</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#parentChanged">parentChanged</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#rotationChanged">rotationChanged</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#scaleChanged">scaleChanged</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#visibleChanged">visibleChanged</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#xChanged">xChanged</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#yChanged">yChanged</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#zChanged">zChanged</a></b> ()</td></tr>
</table>
<ul>
<li class="fn">1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
</ul>
<a name="protected-slots"></a>
<h2>Protected Slots</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#updateMicroFocus">updateMicroFocus</a></b> ()</td></tr>
</table>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
<li class="fn">7 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
<li class="fn">2 static public members inherited from <a href="qgraphicsitem.html#static-public-members">QGraphicsItem</a></li>
<li class="fn">8 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
<li class="fn">24 protected functions inherited from <a href="qgraphicsitem.html#protected-functions">QGraphicsItem</a></li>
</ul>
<a name="details"></a>
<!-- $$$QGraphicsObject-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGraphicsObject class provides a base class for all graphics items that require signals, slots and properties.</p>
<p>The class extends a <a href="qgraphicsitem.html">QGraphicsItem</a> with <a href="qobject.html">QObject</a>'s signal/slot and property mechanisms. It maps many of <a href="qgraphicsitem.html">QGraphicsItem</a>'s basic setters and getters to properties and adds notification signals for many of them.</p>
<a name="parents-and-children"></a>
<h3>Parents and Children</h3>
<p>Each graphics object can be constructed with a parent item. This ensures that the item will be destroyed when its parent item is destroyed. Although QGraphicsObject inherits from both <a href="qobject.html">QObject</a> and <a href="qgraphicsitem.html">QGraphicsItem</a>, you should use the functions provided by <a href="qgraphicsitem.html">QGraphicsItem</a>, <i>not</i> <a href="qobject.html">QObject</a>, to manage the relationships between parent and child items.</p>
<p>The relationships between items can be explored using the <a href="qgraphicsitem.html#parentItem">parentItem</a>() and <a href="qgraphicsitem.html#childItems">childItems</a>() functions. In the hierarchy of items in a scene, the <a href="qgraphicsitem.html#parentObject">parentObject</a>() and <a href="qgraphicsitem.html#parentWidget">parentWidget</a>() functions are the equivalent of the <a href="qobject.html#parent">QWidget::parent</a>() and <a href="qwidget.html#parentWidget">QWidget::parentWidget</a>() functions for <a href="qwidget.html">QWidget</a> subclasses.</p>
</div>
<p><b>See also </b><a href="qgraphicswidget.html">QGraphicsWidget</a>.</p>
<!-- @@@QGraphicsObject -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$effect-prop -->
<h3 class="fn"><a name="effect-prop"></a><span class="name">effect</span> : <span class="type"><a href="qgraphicseffect.html">QGraphicsEffect</a></span> * const</h3>
<p>This property holds the effect attached to this item.</p>
<p>This property was introduced in Qt 4.7.</p>
<p><b>See also </b><a href="qgraphicsitem.html#setGraphicsEffect">QGraphicsItem::setGraphicsEffect</a>() and <a href="qgraphicsitem.html#graphicsEffect">QGraphicsItem::graphicsEffect</a>().</p>
<!-- @@@effect -->
<!-- $$$enabled-prop$$$enabledChanged -->
<h3 class="fn"><a name="enabled-prop"></a><span class="name">enabled</span> : const <span class="type">bool</span></h3>
<p>This property holds whether the item is enabled or not.</p>
<p>This property is declared in <a href="qgraphicsitem.html">QGraphicsItem</a>.</p>
<p>By default, this property is true.</p>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsobject.html#enabledChanged">enabledChanged</a></b></span> ()</td></tr>
</table>
<p><b>See also </b><a href="qgraphicsitem.html#isEnabled">QGraphicsItem::isEnabled</a>(), <a href="qgraphicsitem.html#setEnabled">QGraphicsItem::setEnabled</a>(), and <a href="qgraphicsobject.html#enabledChanged">QGraphicsObject::enabledChanged</a>().</p>
<!-- @@@enabled -->
<!-- $$$opacity-prop$$$opacityChanged -->
<h3 class="fn"><a name="opacity-prop"></a><span class="name">opacity</span> : const <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the opacity of the item.</p>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsobject.html#opacityChanged">opacityChanged</a></b></span> ()</td></tr>
</table>
<p><b>See also </b><a href="qgraphicsitem.html#setOpacity">QGraphicsItem::setOpacity</a>() and <a href="qgraphicsitem.html#opacity">QGraphicsItem::opacity</a>().</p>
<!-- @@@opacity -->
<!-- $$$parent-prop$$$parentChanged -->
<h3 class="fn"><a name="parent-prop"></a><span class="name">parent</span> : <span class="type">QGraphicsObject</span> * const</h3>
<p>This property holds the parent of the item.</p>
<p><b>Note:</b> The item's parent is set independently of the parent object returned by <a href="qobject.html#parent">QObject::parent</a>().</p>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsobject.html#parentChanged">parentChanged</a></b></span> ()</td></tr>
</table>
<p><b>See also </b><a href="qgraphicsitem.html#setParentItem">QGraphicsItem::setParentItem</a>() and <a href="qgraphicsitem.html#parentObject">QGraphicsItem::parentObject</a>().</p>
<!-- @@@parent -->
<!-- $$$pos-prop -->
<h3 class="fn"><a name="pos-prop"></a><span class="name">pos</span> : const <span class="type"><a href="qpointf.html">QPointF</a></span></h3>
<p>This property holds the position of the item.</p>
<p>Describes the items position.</p>
<p><b>See also </b><a href="qgraphicsitem.html#setPos">QGraphicsItem::setPos</a>() and <a href="qgraphicsitem.html#pos">QGraphicsItem::pos</a>().</p>
<!-- @@@pos -->
<!-- $$$rotation-prop$$$rotationChanged -->
<h3 class="fn"><a name="rotation-prop"></a><span class="name">rotation</span> : const <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the rotation of the item in degrees.</p>
<p>This specifies how many degrees to rotate the item around its transformOrigin. The default rotation is 0 degrees (i.e&#x2e; not rotated at all).</p>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsobject.html#rotationChanged">rotationChanged</a></b></span> ()</td></tr>
</table>
<!-- @@@rotation -->
<!-- $$$scale-prop$$$scaleChanged -->
<h3 class="fn"><a name="scale-prop"></a><span class="name">scale</span> : const <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the scale of the item.</p>
<p>A scale of less than 1 means the item will be displayed smaller than normal, and a scale of greater than 1 means the item will be displayed larger than normal. A negative scale means the item will be mirrored.</p>
<p>By default, items are displayed at a scale of 1 (i.e&#x2e; at their normal size).</p>
<p>Scaling is from the item's transformOrigin.</p>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsobject.html#scaleChanged">scaleChanged</a></b></span> ()</td></tr>
</table>
<!-- @@@scale -->
<!-- $$$transformOriginPoint-prop -->
<h3 class="fn"><a name="transformOriginPoint-prop"></a><span class="name">transformOriginPoint</span> : const <span class="type"><a href="qpointf.html">QPointF</a></span></h3>
<p>This property holds the transformation origin.</p>
<p>This property sets a specific point in the items coordiante system as the origin for scale and rotation.</p>
<p><b>See also </b><a href="qgraphicsobject.html#scale-prop">scale</a>, <a href="qgraphicsobject.html#rotation-prop">rotation</a>, and <a href="qgraphicsitem.html#transformOriginPoint">QGraphicsItem::transformOriginPoint</a>().</p>
<!-- @@@transformOriginPoint -->
<!-- $$$visible-prop$$$visibleChanged -->
<h3 class="fn"><a name="visible-prop"></a><span class="name">visible</span> : const <span class="type">bool</span></h3>
<p>This property holds whether the item is visible or not.</p>
<p>This property is declared in <a href="qgraphicsitem.html">QGraphicsItem</a>.</p>
<p>By default, this property is true.</p>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsobject.html#visibleChanged">visibleChanged</a></b></span> ()</td></tr>
</table>
<p><b>See also </b><a href="qgraphicsitem.html#isVisible">QGraphicsItem::isVisible</a>(), <a href="qgraphicsitem.html#setVisible">QGraphicsItem::setVisible</a>(), and <a href="qgraphicsobject.html#visibleChanged">visibleChanged</a>().</p>
<!-- @@@visible -->
<!-- $$$x-prop$$$xChanged -->
<h3 class="fn"><a name="x-prop"></a><span class="name">x</span> : const <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the x position of the item.</p>
<p>Describes the items x position.</p>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsobject.html#xChanged">xChanged</a></b></span> ()</td></tr>
</table>
<p><b>See also </b><a href="qgraphicsitem.html#setX">QGraphicsItem::setX</a>(), <a href="qgraphicsitem.html#setPos">setPos</a>(), and <a href="qgraphicsobject.html#xChanged">xChanged</a>().</p>
<!-- @@@x -->
<!-- $$$y-prop$$$yChanged -->
<h3 class="fn"><a name="y-prop"></a><span class="name">y</span> : const <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the y position of the item.</p>
<p>Describes the items y position.</p>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsobject.html#yChanged">yChanged</a></b></span> ()</td></tr>
</table>
<p><b>See also </b><a href="qgraphicsitem.html#setY">QGraphicsItem::setY</a>(), <a href="qgraphicsitem.html#setPos">setPos</a>(), and <a href="qgraphicsobject.html#yChanged">yChanged</a>().</p>
<!-- @@@y -->
<!-- $$$z-prop$$$zChanged -->
<h3 class="fn"><a name="z-prop"></a><span class="name">z</span> : const <span class="type"><a href="qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the z value of the item.</p>
<p>Describes the items z value.</p>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsobject.html#zChanged">zChanged</a></b></span> ()</td></tr>
</table>
<p><b>See also </b><a href="qgraphicsitem.html#setZValue">QGraphicsItem::setZValue</a>(), <a href="qgraphicsitem.html#zValue">zValue</a>(), and <a href="qgraphicsobject.html#zChanged">zChanged</a>().</p>
<!-- @@@z -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGraphicsObject[overload1]$$$QGraphicsObjectQGraphicsItem* -->
<h3 class="fn"><a name="QGraphicsObject"></a>QGraphicsObject::<span class="name">QGraphicsObject</span> ( <span class="type"><a href="qgraphicsitem.html">QGraphicsItem</a></span> * <i>parent</i> = 0 )</h3>
<p>Constructs a <a href="qgraphicsobject.html">QGraphicsObject</a> with <i>parent</i>.</p>
<!-- @@@QGraphicsObject -->
<!-- $$$enabledChanged[overload1]$$$enabledChanged -->
<h3 class="fn"><a name="enabledChanged"></a><span class="type">void</span> QGraphicsObject::<span class="name">enabledChanged</span> ()<tt> [signal]</tt></h3>
<p>This signal gets emitted whenever the item get's enabled or disabled.</p>
<p><b>See also </b><a href="qgraphicsitem.html#isEnabled">isEnabled</a>().</p>
<!-- @@@enabledChanged -->
<!-- $$$grabGesture[overload1]$$$grabGestureQt::GestureTypeQt::GestureFlags -->
<h3 class="fn"><a name="grabGesture"></a><span class="type">void</span> QGraphicsObject::<span class="name">grabGesture</span> ( <span class="type"><a href="qt.html#GestureType-enum">Qt::GestureType</a></span> <i>gesture</i>, <span class="type"><a href="qt.html#GestureFlag-enum">Qt::GestureFlags</a></span> <i>flags</i> = Qt::GestureFlags() )</h3>
<p>Subscribes the graphics object to the given <i>gesture</i> with specific <i>flags</i>.</p>
<p><b>See also </b><a href="qgraphicsobject.html#ungrabGesture">ungrabGesture</a>() and <a href="qgestureevent.html">QGestureEvent</a>.</p>
<!-- @@@grabGesture -->
<!-- $$$opacityChanged[overload1]$$$opacityChanged -->
<h3 class="fn"><a name="opacityChanged"></a><span class="type">void</span> QGraphicsObject::<span class="name">opacityChanged</span> ()<tt> [signal]</tt></h3>
<p>This signal gets emitted whenever the opacity of the item changes</p>
<p><b>See also </b><a href="qgraphicsitem.html#opacity">QGraphicsItem::opacity</a>().</p>
<!-- @@@opacityChanged -->
<!-- $$$parentChanged[overload1]$$$parentChanged -->
<h3 class="fn"><a name="parentChanged"></a><span class="type">void</span> QGraphicsObject::<span class="name">parentChanged</span> ()<tt> [signal]</tt></h3>
<p>This signal gets emitted whenever the parent of the item changes</p>
<!-- @@@parentChanged -->
<!-- $$$rotationChanged[overload1]$$$rotationChanged -->
<h3 class="fn"><a name="rotationChanged"></a><span class="type">void</span> QGraphicsObject::<span class="name">rotationChanged</span> ()<tt> [signal]</tt></h3>
<p>This signal gets emitted whenever the roation of the item changes.</p>
<!-- @@@rotationChanged -->
<!-- $$$scaleChanged[overload1]$$$scaleChanged -->
<h3 class="fn"><a name="scaleChanged"></a><span class="type">void</span> QGraphicsObject::<span class="name">scaleChanged</span> ()<tt> [signal]</tt></h3>
<p>This signal is emitted when the scale of the item changes.</p>
<!-- @@@scaleChanged -->
<!-- $$$ungrabGesture[overload1]$$$ungrabGestureQt::GestureType -->
<h3 class="fn"><a name="ungrabGesture"></a><span class="type">void</span> QGraphicsObject::<span class="name">ungrabGesture</span> ( <span class="type"><a href="qt.html#GestureType-enum">Qt::GestureType</a></span> <i>gesture</i> )</h3>
<p>Unsubscribes the graphics object from the given <i>gesture</i>.</p>
<p><b>See also </b><a href="qgraphicsobject.html#grabGesture">grabGesture</a>() and <a href="qgestureevent.html">QGestureEvent</a>.</p>
<!-- @@@ungrabGesture -->
<!-- $$$updateMicroFocus[overload1]$$$updateMicroFocus -->
<h3 class="fn"><a name="updateMicroFocus"></a><span class="type">void</span> QGraphicsObject::<span class="name">updateMicroFocus</span> ()<tt> [protected slot]</tt></h3>
<p>Updates the item's micro focus. This is slot for convenience.</p>
<p>This function was introduced in Qt 4.7.</p>
<p><b>See also </b><a href="qinputcontext.html">QInputContext</a>.</p>
<!-- @@@updateMicroFocus -->
<!-- $$$visibleChanged[overload1]$$$visibleChanged -->
<h3 class="fn"><a name="visibleChanged"></a><span class="type">void</span> QGraphicsObject::<span class="name">visibleChanged</span> ()<tt> [signal]</tt></h3>
<p>This signal gets emitted whenever the visibility of the item changes</p>
<p><b>See also </b><a href="qgraphicsobject.html#visible-prop">visible</a>.</p>
<!-- @@@visibleChanged -->
<!-- $$$xChanged[overload1]$$$xChanged -->
<h3 class="fn"><a name="xChanged"></a><span class="type">void</span> QGraphicsObject::<span class="name">xChanged</span> ()<tt> [signal]</tt></h3>
<p>This signal gets emitted whenever the x position of the item changes</p>
<p><b>See also </b><a href="qgraphicsitem.html#pos">pos</a>().</p>
<!-- @@@xChanged -->
<!-- $$$yChanged[overload1]$$$yChanged -->
<h3 class="fn"><a name="yChanged"></a><span class="type">void</span> QGraphicsObject::<span class="name">yChanged</span> ()<tt> [signal]</tt></h3>
<p>This signal gets emitted whenever the y position of the item changes.</p>
<p><b>See also </b><a href="qgraphicsitem.html#pos">pos</a>().</p>
<!-- @@@yChanged -->
<!-- $$$zChanged[overload1]$$$zChanged -->
<h3 class="fn"><a name="zChanged"></a><span class="type">void</span> QGraphicsObject::<span class="name">zChanged</span> ()<tt> [signal]</tt></h3>
<p>This signal gets emitted whenever the z value of the item changes.</p>
<p><b>See also </b><a href="qgraphicsitem.html#pos">pos</a>().</p>
<!-- @@@zChanged -->
</div>
      </div>
    </div>
    </div> 
    <div class="ft">
      <span></span>
    </div>
  </div> 
  <div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2015 The Qt Company Ltd.
      Documentation contributions included herein are the copyrights of
      their respective owners.</p>
    <br />
    <p>
      The documentation provided herein is licensed under the terms of the
      <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation
      License version 1.3</a> as published by the Free Software Foundation.</p>
    <p>
      Documentation sources may be obtained from <a href="http://www.qt-project.org">
      www.qt-project.org</a>.</p>
    <br />
    <p>
      Qt and respective logos are trademarks of The Qt Company Ltd 
      in Finland and/or other countries worldwide. All other trademarks are property
      of their respective owners. <a title="Privacy Policy"
      href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
  </div>

  <script src="scripts/functions.js" type="text/javascript"></script>
</body>
</html>