Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > ff187cb994c94c614ecc64c5a8528b1b > files > 5143

qt-doc-4.8.5-10.fc18.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" />
<!-- abstractformwindowcursor.cpp -->
  <title>Qt 4.8: QDesignerFormWindowCursorInterface 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="qtdesigner.html">QtDesigner</a></li>
<li>QDesignerFormWindowCursorInterface</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="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QDesignerFormWindowCursorInterface Class Reference</h1>
<!-- $$$QDesignerFormWindowCursorInterface-brief -->
<p>The QDesignerFormWindowCursorInterface class allows you to query and modify a form window's widget selection, and in addition modify the properties of all the form's widgets. <a href="#details">More...</a></p>
<!-- @@@QDesignerFormWindowCursorInterface -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QDesignerFormWindowCursorInterface&gt;</span></pre><ul>
<li><a href="qdesignerformwindowcursorinterface-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#MoveMode-enum">MoveMode</a></b> { MoveAnchor, KeepAnchor }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#MoveOperation-enum">MoveOperation</a></b> { NoMove, Start, End, Next, ..., Down }</td></tr>
</table>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#dtor.QDesignerFormWindowCursorInterface">~QDesignerFormWindowCursorInterface</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QWidget * </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#current">current</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QDesignerFormWindowInterface * </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#formWindow">formWindow</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#hasSelection">hasSelection</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#isWidgetSelected">isWidgetSelected</a></b> ( QWidget * <i>widget</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual bool </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#movePosition">movePosition</a></b> ( MoveOperation <i>operation</i>, MoveMode <i>mode</i> = MoveAnchor ) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#position">position</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#resetWidgetProperty">resetWidgetProperty</a></b> ( QWidget * <i>widget</i>, const QString &amp; <i>name</i> ) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QWidget * </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#selectedWidget">selectedWidget</a></b> ( int <i>index</i> ) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#selectedWidgetCount">selectedWidgetCount</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#setPosition">setPosition</a></b> ( int <i>position</i>, MoveMode <i>mode</i> = MoveAnchor ) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#setProperty">setProperty</a></b> ( const QString &amp; <i>name</i>, const QVariant &amp; <i>value</i> ) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#setWidgetProperty">setWidgetProperty</a></b> ( QWidget * <i>widget</i>, const QString &amp; <i>name</i>, const QVariant &amp; <i>value</i> ) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QWidget * </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#widget">widget</a></b> ( int <i>index</i> ) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual int </td><td class="memItemRight bottomAlign"><b><a href="qdesignerformwindowcursorinterface.html#widgetCount">widgetCount</a></b> () const = 0</td></tr>
</table>
<a name="details"></a>
<!-- $$$QDesignerFormWindowCursorInterface-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QDesignerFormWindowCursorInterface class allows you to query and modify a form window's widget selection, and in addition modify the properties of all the form's widgets.</p>
<p>QDesignerFormWindowCursorInterface is a convenience class that provides an interface to the associated form window's text cursor; it provides a collection of functions that enables you to query a given form window's selection and change the selection's focus according to defined modes (<a href="qdesignerformwindowcursorinterface.html#MoveMode-enum">MoveMode</a>) and movements (<a href="qdesignerformwindowcursorinterface.html#MoveOperation-enum">MoveOperation</a>). You can also use the interface to query the form's widgets and change their properties.</p>
<p>The interface is not intended to be instantiated directly, but to provide access to the selections and widgets of <i>Qt Designer</i>'s current form windows. <a href="qdesignerformwindowinterface.html">QDesignerFormWindowInterface</a> always provides an associated cursor interface. The form window for a given widget can be retrieved using the static <a href="qdesignerformwindowinterface.html#findFormWindow">QDesignerFormWindowInterface::findFormWindow</a>() functions. For example:</p>
<pre class="cpp">     <span class="type"><a href="qdesignerformwindowinterface.html">QDesignerFormWindowInterface</a></span> <span class="operator">*</span>formWindow <span class="operator">=</span> <span class="number">0</span>;
     formWindow <span class="operator">=</span> <span class="type"><a href="qdesignerformwindowinterface.html">QDesignerFormWindowInterface</a></span><span class="operator">::</span>findFormWindow(myWidget);

     formWindow<span class="operator">-</span><span class="operator">&gt;</span>cursor()<span class="operator">-</span><span class="operator">&gt;</span><a href="qdesignerformwindowcursorinterface.html#setProperty">setProperty</a>(myWidget<span class="operator">,</span> myProperty<span class="operator">,</span> newValue);</pre>
<p>You can retrieve any of <i>Qt Designer</i>'s current form windows through <i>Qt Designer</i>'s <a href="qdesignerformwindowmanagerinterface.html">form window manager</a>.</p>
<p>Once you have a form window's cursor interface, you can check if the form window has a selection at all using the <a href="qdesignerformwindowcursorinterface.html#hasSelection">hasSelection</a>() function. You can query the form window for its total <a href="qdesignerformwindowcursorinterface.html#widgetCount">widgetCount</a>() and <a href="qdesignerformwindowcursorinterface.html#selectedWidgetCount">selectedWidgetCount</a>(). You can retrieve the currently selected widget (or widgets) using the <a href="qdesignerformwindowcursorinterface.html#current">current</a>() or <a href="qdesignerformwindowcursorinterface.html#selectedWidget">selectedWidget</a>() functions.</p>
<p>You can retrieve any of the form window's widgets using the <a href="qdesignerformwindowcursorinterface.html#widget">widget</a>() function, and check if a widget is selected using the <a href="qdesignerformwindowcursorinterface.html#isWidgetSelected">isWidgetSelected</a>() function. You can use the <a href="qdesignerformwindowcursorinterface.html#setProperty">setProperty</a>() function to set the selected widget's properties, and the <a href="qdesignerformwindowcursorinterface.html#setWidgetProperty">setWidgetProperty</a>() or <a href="qdesignerformwindowcursorinterface.html#resetWidgetProperty">resetWidgetProperty</a>() functions to modify the properties of any given widget.</p>
<p>Finally, you can change the selection by changing the text cursor's <a href="qdesignerformwindowcursorinterface.html#position">position</a>() using the <a href="qdesignerformwindowcursorinterface.html#setPosition">setPosition</a>() and <a href="qdesignerformwindowcursorinterface.html#movePosition">movePosition</a>() functions.</p>
</div>
<p><b>See also </b><a href="qdesignerformwindowinterface.html">QDesignerFormWindowInterface</a> and <a href="qdesignerformwindowmanagerinterface.html">QDesignerFormWindowManagerInterface</a>.</p>
<!-- @@@QDesignerFormWindowCursorInterface -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$MoveMode$$$MoveAnchor$$$KeepAnchor -->
<h3 class="fn"><a name="MoveMode-enum"></a>enum QDesignerFormWindowCursorInterface::<span class="name">MoveMode</span></h3>
<p>This enum describes the different modes that are used when the text cursor moves.</p>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QDesignerFormWindowCursorInterface::MoveAnchor</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">The anchor moves with the cursor to its new location.</td></tr>
<tr><td class="topAlign"><tt>QDesignerFormWindowCursorInterface::KeepAnchor</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">The anchor remains at the cursor's old location.</td></tr>
</table>
<!-- @@@MoveMode -->
<!-- $$$MoveOperation$$$NoMove$$$Start$$$End$$$Next$$$Prev$$$Left$$$Right$$$Up$$$Down -->
<h3 class="fn"><a name="MoveOperation-enum"></a>enum QDesignerFormWindowCursorInterface::<span class="name">MoveOperation</span></h3>
<p>This enum describes the types of text cursor operation that can occur in a form window.</p>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QDesignerFormWindowCursorInterface::NoMove</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">The cursor does not move.</td></tr>
<tr><td class="topAlign"><tt>QDesignerFormWindowCursorInterface::Start</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">Moves the cursor to the start of the focus chain.</td></tr>
<tr><td class="topAlign"><tt>QDesignerFormWindowCursorInterface::End</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">Moves the cursor to the end of the focus chain.</td></tr>
<tr><td class="topAlign"><tt>QDesignerFormWindowCursorInterface::Next</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">Moves the cursor to the next widget in the focus chain.</td></tr>
<tr><td class="topAlign"><tt>QDesignerFormWindowCursorInterface::Prev</tt></td><td class="topAlign"><tt>4</tt></td><td class="topAlign">Moves the cursor to the previous widget in the focus chain.</td></tr>
<tr><td class="topAlign"><tt>QDesignerFormWindowCursorInterface::Left</tt></td><td class="topAlign"><tt>5</tt></td><td class="topAlign">The cursor moves to the left.</td></tr>
<tr><td class="topAlign"><tt>QDesignerFormWindowCursorInterface::Right</tt></td><td class="topAlign"><tt>6</tt></td><td class="topAlign">The cursor moves to the right.</td></tr>
<tr><td class="topAlign"><tt>QDesignerFormWindowCursorInterface::Up</tt></td><td class="topAlign"><tt>7</tt></td><td class="topAlign">The cursor moves upwards.</td></tr>
<tr><td class="topAlign"><tt>QDesignerFormWindowCursorInterface::Down</tt></td><td class="topAlign"><tt>8</tt></td><td class="topAlign">The cursor moves downwards.</td></tr>
</table>
<!-- @@@MoveOperation -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$~QDesignerFormWindowCursorInterface[overload1]$$$~QDesignerFormWindowCursorInterface -->
<h3 class="fn"><a name="dtor.QDesignerFormWindowCursorInterface"></a>QDesignerFormWindowCursorInterface::<span class="name">~QDesignerFormWindowCursorInterface</span> ()<tt> [virtual]</tt></h3>
<p>Destroys the cursor interface.</p>
<!-- @@@~QDesignerFormWindowCursorInterface -->
<!-- $$$current[overload1]$$$current -->
<h3 class="fn"><a name="current"></a><span class="type"><a href="qwidget.html">QWidget</a></span> * QDesignerFormWindowCursorInterface::<span class="name">current</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the currently selected widget in the form window.</p>
<p><b>See also </b><a href="qdesignerformwindowcursorinterface.html#selectedWidget">selectedWidget</a>().</p>
<!-- @@@current -->
<!-- $$$formWindow[overload1]$$$formWindow -->
<h3 class="fn"><a name="formWindow"></a><span class="type"><a href="qdesignerformwindowinterface.html">QDesignerFormWindowInterface</a></span> * QDesignerFormWindowCursorInterface::<span class="name">formWindow</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the form window interface associated with this cursor interface.</p>
<!-- @@@formWindow -->
<!-- $$$hasSelection[overload1]$$$hasSelection -->
<h3 class="fn"><a name="hasSelection"></a><span class="type">bool</span> QDesignerFormWindowCursorInterface::<span class="name">hasSelection</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns true if the form window contains a selection; otherwise returns false.</p>
<!-- @@@hasSelection -->
<!-- $$$isWidgetSelected[overload1]$$$isWidgetSelectedQWidget* -->
<h3 class="fn"><a name="isWidgetSelected"></a><span class="type">bool</span> QDesignerFormWindowCursorInterface::<span class="name">isWidgetSelected</span> ( <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>widget</i> ) const</h3>
<p>Returns true if the specified <i>widget</i> is selected; otherwise returns false.</p>
<!-- @@@isWidgetSelected -->
<!-- $$$movePosition[overload1]$$$movePositionMoveOperationMoveMode -->
<h3 class="fn"><a name="movePosition"></a><span class="type">bool</span> QDesignerFormWindowCursorInterface::<span class="name">movePosition</span> ( <span class="type"><a href="qdesignerformwindowcursorinterface.html#MoveOperation-enum">MoveOperation</a></span> <i>operation</i>, <span class="type"><a href="qdesignerformwindowcursorinterface.html#MoveMode-enum">MoveMode</a></span> <i>mode</i> = MoveAnchor )<tt> [pure virtual]</tt></h3>
<p>Performs the given <i>operation</i> on the cursor using the specified <i>mode</i>, and returns true if it completed successfully; otherwise returns false.</p>
<p><b>See also </b><a href="qdesignerformwindowcursorinterface.html#position">position</a>() and <a href="qdesignerformwindowcursorinterface.html#setPosition">setPosition</a>().</p>
<!-- @@@movePosition -->
<!-- $$$position[overload1]$$$position -->
<h3 class="fn"><a name="position"></a><span class="type">int</span> QDesignerFormWindowCursorInterface::<span class="name">position</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the cursor position.</p>
<p><b>See also </b><a href="qdesignerformwindowcursorinterface.html#setPosition">setPosition</a>() and <a href="qdesignerformwindowcursorinterface.html#movePosition">movePosition</a>().</p>
<!-- @@@position -->
<!-- $$$resetWidgetProperty[overload1]$$$resetWidgetPropertyQWidget*constQString& -->
<h3 class="fn"><a name="resetWidgetProperty"></a><span class="type">void</span> QDesignerFormWindowCursorInterface::<span class="name">resetWidgetProperty</span> ( <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>widget</i>, const <span class="type"><a href="qstring.html">QString</a></span> &amp; <i>name</i> )<tt> [pure virtual]</tt></h3>
<p>Resets the property with the given <i>name</i> for the specified <i>widget</i> to its default value.</p>
<p><b>See also </b><a href="qdesignerformwindowcursorinterface.html#setProperty">setProperty</a>() and <a href="qdesignerformwindowcursorinterface.html#setWidgetProperty">setWidgetProperty</a>().</p>
<!-- @@@resetWidgetProperty -->
<!-- $$$selectedWidget[overload1]$$$selectedWidgetint -->
<h3 class="fn"><a name="selectedWidget"></a><span class="type"><a href="qwidget.html">QWidget</a></span> * QDesignerFormWindowCursorInterface::<span class="name">selectedWidget</span> ( <span class="type">int</span> <i>index</i> ) const<tt> [pure virtual]</tt></h3>
<p>Returns the widget with the given <i>index</i> in the list of selected widgets.</p>
<p><b>See also </b><a href="qdesignerformwindowcursorinterface.html#current">current</a>() and <a href="qdesignerformwindowcursorinterface.html#widget">widget</a>().</p>
<!-- @@@selectedWidget -->
<!-- $$$selectedWidgetCount[overload1]$$$selectedWidgetCount -->
<h3 class="fn"><a name="selectedWidgetCount"></a><span class="type">int</span> QDesignerFormWindowCursorInterface::<span class="name">selectedWidgetCount</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the number of selected widgets in the form window.</p>
<p><b>See also </b><a href="qdesignerformwindowcursorinterface.html#widgetCount">widgetCount</a>().</p>
<!-- @@@selectedWidgetCount -->
<!-- $$$setPosition[overload1]$$$setPositionintMoveMode -->
<h3 class="fn"><a name="setPosition"></a><span class="type">void</span> QDesignerFormWindowCursorInterface::<span class="name">setPosition</span> ( <span class="type">int</span> <i>position</i>, <span class="type"><a href="qdesignerformwindowcursorinterface.html#MoveMode-enum">MoveMode</a></span> <i>mode</i> = MoveAnchor )<tt> [pure virtual]</tt></h3>
<p>Sets the position of the cursor to the given <i>position</i> using the <i>mode</i> to specify how it is moved there.</p>
<p><b>See also </b><a href="qdesignerformwindowcursorinterface.html#position">position</a>() and <a href="qdesignerformwindowcursorinterface.html#movePosition">movePosition</a>().</p>
<!-- @@@setPosition -->
<!-- $$$setProperty[overload1]$$$setPropertyconstQString&constQVariant& -->
<h3 class="fn"><a name="setProperty"></a><span class="type">void</span> QDesignerFormWindowCursorInterface::<span class="name">setProperty</span> ( const <span class="type"><a href="qstring.html">QString</a></span> &amp; <i>name</i>, const <span class="type"><a href="qvariant.html">QVariant</a></span> &amp; <i>value</i> )<tt> [pure virtual]</tt></h3>
<p>Sets the property with the given <i>name</i> for the currently selected widget to the specified <i>value</i>.</p>
<p><b>See also </b><a href="qdesignerformwindowcursorinterface.html#setWidgetProperty">setWidgetProperty</a>() and <a href="qdesignerformwindowcursorinterface.html#resetWidgetProperty">resetWidgetProperty</a>().</p>
<!-- @@@setProperty -->
<!-- $$$setWidgetProperty[overload1]$$$setWidgetPropertyQWidget*constQString&constQVariant& -->
<h3 class="fn"><a name="setWidgetProperty"></a><span class="type">void</span> QDesignerFormWindowCursorInterface::<span class="name">setWidgetProperty</span> ( <span class="type"><a href="qwidget.html">QWidget</a></span> * <i>widget</i>, const <span class="type"><a href="qstring.html">QString</a></span> &amp; <i>name</i>, const <span class="type"><a href="qvariant.html">QVariant</a></span> &amp; <i>value</i> )<tt> [pure virtual]</tt></h3>
<p>Sets the property with the given <i>name</i> for the given <i>widget</i> to the specified <i>value</i>.</p>
<p><b>See also </b><a href="qdesignerformwindowcursorinterface.html#resetWidgetProperty">resetWidgetProperty</a>() and <a href="qdesignerformwindowcursorinterface.html#setProperty">setProperty</a>().</p>
<!-- @@@setWidgetProperty -->
<!-- $$$widget[overload1]$$$widgetint -->
<h3 class="fn"><a name="widget"></a><span class="type"><a href="qwidget.html">QWidget</a></span> * QDesignerFormWindowCursorInterface::<span class="name">widget</span> ( <span class="type">int</span> <i>index</i> ) const<tt> [pure virtual]</tt></h3>
<p>Returns the widget with the given <i>index</i> in the list of widgets in the form window.</p>
<p><b>See also </b><a href="qdesignerformwindowcursorinterface.html#selectedWidget">selectedWidget</a>().</p>
<!-- @@@widget -->
<!-- $$$widgetCount[overload1]$$$widgetCount -->
<h3 class="fn"><a name="widgetCount"></a><span class="type">int</span> QDesignerFormWindowCursorInterface::<span class="name">widgetCount</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns the number of widgets in the form window.</p>
<p><b>See also </b><a href="qdesignerformwindowcursorinterface.html#selectedWidgetCount">selectedWidgetCount</a>().</p>
<!-- @@@widgetCount -->
</div>
      </div>
    </div>
    </div> 
    <div class="ft">
      <span></span>
    </div>
  </div> 
  <div class="footer">
    <p>
      <acronym title="Copyright">&copy;</acronym> 2013 Digia Plc and/or its
      subsidiaries. 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>
      Digia, Qt and their respective logos are trademarks of Digia Plc 
      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>