Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > d5e62c01ae8d1e579463c6a871dd44bf > files > 3817

qtbase5-doc-5.12.6-2.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qgraphicsitem.cpp -->
  <title>QGraphicsObject Class | Qt Widgets 5.12.6</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qtwidgets-index.html">Qt Widgets</a></td><td ><a href="qtwidgets-module.html">C++ Classes</a></td><td >QGraphicsObject</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtwidgets-index.html">Qt 5.12.6 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<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="#static-public-members">Static Public Members</a></li>
<li class="level1"><a href="#reimplemented-protected-functions">Reimplemented Protected Functions</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>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QGraphicsObject Class</h1>
<!-- $$$QGraphicsObject-brief -->
<p>The <a href="qgraphicsobject.html">QGraphicsObject</a> class provides a base class for all graphics items that require signals, slots and properties. <a href="#details">More...</a></p>
<!-- @@@QGraphicsObject -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QGraphicsObject&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += widgets</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 4.6</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="../qtcore/qobject.html">QObject</a> and <a href="qgraphicsitem.html">QGraphicsItem</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qgraphicstextitem.html">QGraphicsTextItem</a> and <a href="qgraphicswidget.html">QGraphicsWidget</a></p>
</td></tr></table></div><ul>
<li><a href="qgraphicsobject-members.html">List of all members, including inherited members</a></li>
<li><a href="qgraphicsobject-obsolete.html">Obsolete members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<div class="table"><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></div>
<ul>
<li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><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> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#dtor.QGraphicsObject">~QGraphicsObject</a></b>()</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> = ...)</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></div>
<ul>
<li class="fn">31 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li>
<li class="fn">176 public functions inherited from <a href="qgraphicsitem.html#public-functions">QGraphicsItem</a></li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<div class="table"><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></div>
<ul>
<li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li>
</ul>
<a name="static-public-members"></a>
<h2 id="static-public-members">Static Public Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#staticMetaObject-var">staticMetaObject</a></b></td></tr>
</table></div>
<ul>
<li class="fn">9 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li>
</ul>
<a name="reimplemented-protected-functions"></a>
<h2 id="reimplemented-protected-functions">Reimplemented Protected Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsobject.html#event">event</a></b>(QEvent *<i>ev</i>) override</td></tr>
</table></div>
<ul>
<li class="fn">9 protected functions inherited from <a href="../qtcore/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="protected-slots"></a>
<h2 id="protected-slots">Protected Slots</h2>
<div class="table"><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></div>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 public slot inherited from <a href="../qtcore/qobject.html#public-slots">QObject</a></li>
<li class="fn">9 protected functions inherited from <a href="../qtcore/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 id="details">Detailed Description</h2>
<p>The <a href="qgraphicsobject.html">QGraphicsObject</a> 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="../qtcore/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 id="parents-and-children">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 <a href="qgraphicsobject.html">QGraphicsObject</a> inherits from both <a href="../qtcore/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="../qtcore/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="../qtcore/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="graphicsview.html#qgraphicswidget">QGraphicsWidget</a>.</p>
<!-- @@@QGraphicsObject -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$effect-prop -->
<h3 class="fn" id="effect-prop"><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" id="enabled-prop"><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 <code>true</code>.</p>
<p><b>Notifier signal:</b></p>
<div class="table"><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></div>
<p><b>See also </b><a href="qgraphicsitem.html#isEnabled">QGraphicsItem::isEnabled</a>() and <a href="qgraphicsitem.html#setEnabled">QGraphicsItem::setEnabled</a>().</p>
<!-- @@@enabled -->
<!-- $$$opacity-prop$$$opacityChanged -->
<h3 class="fn" id="opacity-prop"><a name="opacity-prop"></a><span class="name">opacity</span> : const <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the opacity of the item</p>
<p><b>Notifier signal:</b></p>
<div class="table"><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></div>
<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" id="parent-prop"><a name="parent-prop"></a><span class="name">parent</span> : <span class="type"><a href="qgraphicsobject.html#QGraphicsObject">QGraphicsObject</a></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="../qtcore/qobject.html#parent">QObject::parent</a>().</p><p><b>Notifier signal:</b></p>
<div class="table"><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></div>
<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" id="pos-prop"><a name="pos-prop"></a><span class="name">pos</span> : const <span class="type"><a href="../qtcore/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" id="rotation-prop"><a name="rotation-prop"></a><span class="name">rotation</span> : const <span class="type"><a href="../qtcore/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>
<div class="table"><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></div>
<!-- @@@rotation -->
<!-- $$$scale-prop$$$scaleChanged -->
<h3 class="fn" id="scale-prop"><a name="scale-prop"></a><span class="name">scale</span> : const <span class="type"><a href="../qtcore/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>
<div class="table"><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></div>
<!-- @@@scale -->
<!-- $$$transformOriginPoint-prop -->
<h3 class="fn" id="transformOriginPoint-prop"><a name="transformOriginPoint-prop"></a><span class="name">transformOriginPoint</span> : const <span class="type"><a href="../qtcore/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" id="visible-prop"><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 <code>true</code>.</p>
<p><b>Notifier signal:</b></p>
<div class="table"><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></div>
<p><b>See also </b><a href="qgraphicsitem.html#isVisible">QGraphicsItem::isVisible</a>() and <a href="qgraphicsitem.html#setVisible">QGraphicsItem::setVisible</a>().</p>
<!-- @@@visible -->
<!-- $$$x-prop$$$xChanged -->
<h3 class="fn" id="x-prop"><a name="x-prop"></a><span class="name">x</span> : const <span class="type"><a href="../qtcore/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>
<div class="table"><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></div>
<p><b>See also </b><a href="qgraphicsitem.html#setX">QGraphicsItem::setX</a>() and <a href="qgraphicsitem.html#setPos">setPos</a>().</p>
<!-- @@@x -->
<!-- $$$y-prop$$$yChanged -->
<h3 class="fn" id="y-prop"><a name="y-prop"></a><span class="name">y</span> : const <span class="type"><a href="../qtcore/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>
<div class="table"><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></div>
<p><b>See also </b><a href="qgraphicsitem.html#setY">QGraphicsItem::setY</a>() and <a href="qgraphicsitem.html#setPos">setPos</a>().</p>
<!-- @@@y -->
<!-- $$$z-prop$$$zChanged -->
<h3 class="fn" id="z-prop"><a name="z-prop"></a><span class="name">z</span> : const <span class="type"><a href="../qtcore/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>
<div class="table"><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></div>
<p><b>See also </b><a href="qgraphicsitem.html#setZValue">QGraphicsItem::setZValue</a>() and <a href="qgraphicsitem.html#zValue">zValue</a>().</p>
<!-- @@@z -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGraphicsObject[overload1]$$$QGraphicsObjectQGraphicsItem* -->
<h3 class="fn" id="QGraphicsObject"><a name="QGraphicsObject"></a>QGraphicsObject::<span class="name">QGraphicsObject</span>(<span class="type"><a href="qgraphicsitem.html#QGraphicsItem">QGraphicsItem</a></span> *<i>parent</i> = nullptr)</h3>
<p>Constructs a <a href="qgraphicsobject.html">QGraphicsObject</a> with <i>parent</i>.</p>
<!-- @@@QGraphicsObject -->
<!-- $$$~QGraphicsObject[overload1]$$$~QGraphicsObject -->
<h3 class="fn" id="dtor.QGraphicsObject"><a name="dtor.QGraphicsObject"></a><code>[virtual] </code>QGraphicsObject::<span class="name">~QGraphicsObject</span>()</h3>
<p>Destructor.</p>
<!-- @@@~QGraphicsObject -->
<!-- $$$enabledChanged -->
<h3 class="fn" id="enabledChanged"><a name="enabledChanged"></a><code>[signal] </code><span class="type">void</span> QGraphicsObject::<span class="name">enabledChanged</span>()</h3>
<p>This signal gets emitted whenever the item get's enabled or disabled.</p>
<p><b>Note:</b> Notifier signal for property <a href="qgraphicsobject.html#enabled-prop">enabled</a>. </p><p><b>See also </b><a href="qgraphicsitem.html#isEnabled">isEnabled</a>().</p>
<!-- @@@enabledChanged -->
<!-- $$$event[overload1]$$$eventQEvent* -->
<h3 class="fn" id="event"><a name="event"></a><code>[override virtual protected] </code><span class="type">bool</span> QGraphicsObject::<span class="name">event</span>(<span class="type"><a href="../qtcore/qevent.html">QEvent</a></span> *<i>ev</i>)</h3>
<p>Reimplemented from <a href="../qtcore/qobject.html#event">QObject::event</a>().</p>
<!-- @@@event -->
<!-- $$$grabGesture[overload1]$$$grabGestureQt::GestureTypeQt::GestureFlags -->
<h3 class="fn" id="grabGesture"><a name="grabGesture"></a><span class="type">void</span> QGraphicsObject::<span class="name">grabGesture</span>(<span class="type"><a href="../qtcore/qt.html#GestureType-enum">Qt::GestureType</a></span> <i>gesture</i>, <span class="type"><a href="../qtcore/qt.html#GestureFlag-enum">Qt::GestureFlags</a></span> <i>flags</i> = ...)</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 -->
<h3 class="fn" id="opacityChanged"><a name="opacityChanged"></a><code>[signal] </code><span class="type">void</span> QGraphicsObject::<span class="name">opacityChanged</span>()</h3>
<p>This signal gets emitted whenever the opacity of the item changes</p>
<p><b>Note:</b> Notifier signal for property <a href="qgraphicsobject.html#opacity-prop">opacity</a>. </p><p><b>See also </b><a href="qgraphicsitem.html#opacity">QGraphicsItem::opacity</a>().</p>
<!-- @@@opacityChanged -->
<!-- $$$parentChanged -->
<h3 class="fn" id="parentChanged"><a name="parentChanged"></a><code>[signal] </code><span class="type">void</span> QGraphicsObject::<span class="name">parentChanged</span>()</h3>
<p>This signal gets emitted whenever the parent of the item changes</p>
<p><b>Note:</b> Notifier signal for property <a href="qgraphicsobject.html#parent-prop">parent</a>. </p><!-- @@@parentChanged -->
<!-- $$$rotationChanged -->
<h3 class="fn" id="rotationChanged"><a name="rotationChanged"></a><code>[signal] </code><span class="type">void</span> QGraphicsObject::<span class="name">rotationChanged</span>()</h3>
<p>This signal gets emitted whenever the roation of the item changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qgraphicsobject.html#rotation-prop">rotation</a>. </p><!-- @@@rotationChanged -->
<!-- $$$scaleChanged -->
<h3 class="fn" id="scaleChanged"><a name="scaleChanged"></a><code>[signal] </code><span class="type">void</span> QGraphicsObject::<span class="name">scaleChanged</span>()</h3>
<p>This signal is emitted when the scale of the item changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qgraphicsobject.html#scale-prop">scale</a>. </p><!-- @@@scaleChanged -->
<!-- $$$ungrabGesture[overload1]$$$ungrabGestureQt::GestureType -->
<h3 class="fn" id="ungrabGesture"><a name="ungrabGesture"></a><span class="type">void</span> QGraphicsObject::<span class="name">ungrabGesture</span>(<span class="type"><a href="../qtcore/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" id="updateMicroFocus"><a name="updateMicroFocus"></a><code>[protected slot] </code><span class="type">void</span> QGraphicsObject::<span class="name">updateMicroFocus</span>()</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="../qtgui/qinputmethod.html">QInputMethod</a>.</p>
<!-- @@@updateMicroFocus -->
<!-- $$$visibleChanged -->
<h3 class="fn" id="visibleChanged"><a name="visibleChanged"></a><code>[signal] </code><span class="type">void</span> QGraphicsObject::<span class="name">visibleChanged</span>()</h3>
<p>This signal gets emitted whenever the visibility of the item changes</p>
<p><b>Note:</b> Notifier signal for property <a href="qgraphicsobject.html#visible-prop">visible</a>. </p><p><b>See also </b><a href="qgraphicsobject.html#visible-prop">visible</a>.</p>
<!-- @@@visibleChanged -->
<!-- $$$xChanged -->
<h3 class="fn" id="xChanged"><a name="xChanged"></a><code>[signal] </code><span class="type">void</span> QGraphicsObject::<span class="name">xChanged</span>()</h3>
<p>This signal gets emitted whenever the x position of the item changes</p>
<p><b>Note:</b> Notifier signal for property <a href="qgraphicsobject.html#x-prop">x</a>. </p><p><b>See also </b><a href="qgraphicsitem.html#pos">pos</a>().</p>
<!-- @@@xChanged -->
<!-- $$$yChanged -->
<h3 class="fn" id="yChanged"><a name="yChanged"></a><code>[signal] </code><span class="type">void</span> QGraphicsObject::<span class="name">yChanged</span>()</h3>
<p>This signal gets emitted whenever the y position of the item changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qgraphicsobject.html#y-prop">y</a>. </p><p><b>See also </b><a href="qgraphicsitem.html#pos">pos</a>().</p>
<!-- @@@yChanged -->
<!-- $$$zChanged -->
<h3 class="fn" id="zChanged"><a name="zChanged"></a><code>[signal] </code><span class="type">void</span> QGraphicsObject::<span class="name">zChanged</span>()</h3>
<p>This signal gets emitted whenever the z value of the item changes.</p>
<p><b>Note:</b> Notifier signal for property <a href="qgraphicsobject.html#z-prop">z</a>. </p><p><b>See also </b><a href="qgraphicsitem.html#pos">pos</a>().</p>
<!-- @@@zChanged -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    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.<br/>    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. </p>
</div>
</body>
</html>