Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 8e6051afcdb111a0317a58fb64c2abf5 > files > 3918

qt4-doc-4.6.3-0.2mdv2010.2.i586.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- abstractformeditor.cpp -->
<head>
  <title>Qt 4.6: QDesignerFormEditorInterface Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<a name="//apple_ref/cpp/cl//QDesignerFormEditorInterface"></a>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://qt.nokia.com/"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">All&nbsp;Functions</font></a>&nbsp;&middot; <a href="overviews.html"><font color="#004faf">Overviews</font></a></td></tr></table><h1 class="title">QDesignerFormEditorInterface Class Reference<br /><span class="small-subtitle">[<a href="qtdesigner.html">QtDesigner</a> module]</span>
</h1>
<p>The QDesignerFormEditorInterface class allows you to access Qt Designer's various components. <a href="#details">More...</a></p>
<pre> #include &lt;QDesignerFormEditorInterface&gt;</pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
<p>Inherits <a href="qobject.html">QObject</a>.</p>
<ul>
<li><a href="qdesignerformeditorinterface-members.html">List of all members, including inherited members</a></li>
</ul>
<hr />
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#QDesignerFormEditorInterface">QDesignerFormEditorInterface</a></b> ( QObject * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#dtor.QDesignerFormEditorInterface">~QDesignerFormEditorInterface</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QDesignerActionEditorInterface * </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#actionEditor">actionEditor</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QExtensionManager * </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#extensionManager">extensionManager</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QDesignerFormWindowManagerInterface * </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#formWindowManager">formWindowManager</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QDesignerObjectInspectorInterface * </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#objectInspector">objectInspector</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QDesignerPropertyEditorInterface * </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#propertyEditor">propertyEditor</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#setActionEditor">setActionEditor</a></b> ( QDesignerActionEditorInterface * <i>actionEditor</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#setObjectInspector">setObjectInspector</a></b> ( QDesignerObjectInspectorInterface * <i>objectInspector</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#setPropertyEditor">setPropertyEditor</a></b> ( QDesignerPropertyEditorInterface * <i>propertyEditor</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#setWidgetBox">setWidgetBox</a></b> ( QDesignerWidgetBoxInterface * <i>widgetBox</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QWidget * </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#topLevel">topLevel</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QDesignerWidgetBoxInterface * </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformeditorinterface.html#widgetBox">widgetBox</a></b> () const</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"></div>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
<li><div class="fn"></div>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
<li><div class="fn"></div>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
<li><div class="fn"></div>5 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
<li><div class="fn"></div>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QDesignerFormEditorInterface class allows you to access Qt Designer's various components.</p>
<p><i>Qt Designer</i>'s current QDesignerFormEditorInterface object holds information about all <i>Qt Designer</i>'s components: The action editor, the object inspector, the property editor, the widget box, and the extension and form window managers. QDesignerFormEditorInterface contains a collection of functions that provides interfaces to all these components. They are typically used to query (and manipulate) the respective component. For example:</p>
<pre>         QDesignerObjectInspectorInterface *objectInspector = 0;
         objectInspector = formEditor-&gt;objectInspector();

         QDesignerFormWindowManagerInterface *manager = 0;
         manager = formEditor-&gt;formWindowManager();

         objectInspector-&gt;setFormWindow(manager-&gt;formWindow(0));</pre>
<p>QDesignerFormEditorInterface is not intended to be instantiated directly. A pointer to <i>Qt Designer</i>'s current QDesignerFormEditorInterface object (<tt>formEditor</tt> in the example above) is provided by the <a href="qdesignercustomwidgetinterface.html#initialize">QDesignerCustomWidgetInterface::initialize</a>() function's parameter. When implementing a custom widget plugin, you must subclass the <a href="qdesignercustomwidgetinterface.html">QDesignerCustomWidgetInterface</a> to expose your plugin to <i>Qt Designer</i>.</p>
<p>QDesignerFormEditorInterface also provides functions that can set the action editor, property editor, object inspector and widget box. These are only useful if you want to provide your own custom components.</p>
<p>If designer is embedded in another program, one could to provide its own settings manager. The manager is used by the components of <i>Qt Designer</i> to store/retrieve persistent configuration settings. The default manager uses <a href="qsettings.html">QSettings</a> as the backend.</p>
<p>Finally, QDesignerFormEditorInterface provides the <a href="qdesignerformeditorinterface.html#topLevel">topLevel</a>() function that returns <i>Qt Designer</i>'s top-level widget.</p>
<p>See also <a href="qdesignercustomwidgetinterface.html">QDesignerCustomWidgetInterface</a>.</p>
<hr />
<h2>Member Function Documentation</h2>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/QDesignerFormEditorInterface"></a>
<h3 class="fn"><a name="QDesignerFormEditorInterface"></a>QDesignerFormEditorInterface::QDesignerFormEditorInterface ( <a href="qobject.html">QObject</a> * <i>parent</i> = 0 )</h3>
<p>Constructs a <a href="qdesignerformeditorinterface.html">QDesignerFormEditorInterface</a> object with the given <i>parent</i>.</p>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/~QDesignerFormEditorInterface"></a>
<h3 class="fn"><a name="dtor.QDesignerFormEditorInterface"></a>QDesignerFormEditorInterface::~QDesignerFormEditorInterface ()&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Destroys the <a href="qdesignerformeditorinterface.html">QDesignerFormEditorInterface</a> object.</p>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/actionEditor"></a>
<h3 class="fn"><a name="actionEditor"></a><a href="qdesigneractioneditorinterface.html">QDesignerActionEditorInterface</a> * QDesignerFormEditorInterface::actionEditor () const</h3>
<p>Returns an interface to <i>Qt Designer</i>'s action editor.</p>
<p>See also <a href="qdesignerformeditorinterface.html#setActionEditor">setActionEditor</a>().</p>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/extensionManager"></a>
<h3 class="fn"><a name="extensionManager"></a><a href="qextensionmanager.html">QExtensionManager</a> * QDesignerFormEditorInterface::extensionManager () const</h3>
<p>Returns an interface to <i>Qt Designer</i>'s extension manager.</p>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/formWindowManager"></a>
<h3 class="fn"><a name="formWindowManager"></a><a href="qdesignerformwindowmanagerinterface.html">QDesignerFormWindowManagerInterface</a> * QDesignerFormEditorInterface::formWindowManager () const</h3>
<p>Returns an interface to <i>Qt Designer</i>'s form window manager.</p>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/objectInspector"></a>
<h3 class="fn"><a name="objectInspector"></a><a href="qdesignerobjectinspectorinterface.html">QDesignerObjectInspectorInterface</a> * QDesignerFormEditorInterface::objectInspector () const</h3>
<p>Returns an interface to <i>Qt Designer</i>'s object inspector.</p>
<p>See also <a href="qdesignerformeditorinterface.html#setObjectInspector">setObjectInspector</a>().</p>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/propertyEditor"></a>
<h3 class="fn"><a name="propertyEditor"></a><a href="qdesignerpropertyeditorinterface.html">QDesignerPropertyEditorInterface</a> * QDesignerFormEditorInterface::propertyEditor () const</h3>
<p>Returns an interface to <i>Qt Designer</i>'s property editor.</p>
<p>See also <a href="qdesignerformeditorinterface.html#setPropertyEditor">setPropertyEditor</a>().</p>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/setActionEditor"></a>
<h3 class="fn"><a name="setActionEditor"></a>void QDesignerFormEditorInterface::setActionEditor ( <a href="qdesigneractioneditorinterface.html">QDesignerActionEditorInterface</a> * <i>actionEditor</i> )</h3>
<p>Sets <i>Qt Designer</i>'s action editor to be the specified <i>actionEditor</i>.</p>
<p>See also <a href="qdesignerformeditorinterface.html#actionEditor">actionEditor</a>().</p>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/setObjectInspector"></a>
<h3 class="fn"><a name="setObjectInspector"></a>void QDesignerFormEditorInterface::setObjectInspector ( <a href="qdesignerobjectinspectorinterface.html">QDesignerObjectInspectorInterface</a> * <i>objectInspector</i> )</h3>
<p>Sets <i>Qt Designer</i>'s object inspector to be the specified <i>objectInspector</i>.</p>
<p>See also <a href="qdesignerformeditorinterface.html#objectInspector">objectInspector</a>().</p>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/setPropertyEditor"></a>
<h3 class="fn"><a name="setPropertyEditor"></a>void QDesignerFormEditorInterface::setPropertyEditor ( <a href="qdesignerpropertyeditorinterface.html">QDesignerPropertyEditorInterface</a> * <i>propertyEditor</i> )</h3>
<p>Sets <i>Qt Designer</i>'s property editor to be the specified <i>propertyEditor</i>.</p>
<p>See also <a href="qdesignerformeditorinterface.html#propertyEditor">propertyEditor</a>().</p>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/setWidgetBox"></a>
<h3 class="fn"><a name="setWidgetBox"></a>void QDesignerFormEditorInterface::setWidgetBox ( <a href="qdesignerwidgetboxinterface.html">QDesignerWidgetBoxInterface</a> * <i>widgetBox</i> )</h3>
<p>Sets <i>Qt Designer</i>'s widget box to be the specified <i>widgetBox</i>.</p>
<p>See also <a href="qdesignerformeditorinterface.html#widgetBox">widgetBox</a>().</p>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/topLevel"></a>
<h3 class="fn"><a name="topLevel"></a><a href="qwidget.html">QWidget</a> * QDesignerFormEditorInterface::topLevel () const</h3>
<p>Returns <i>Qt Designer</i>'s top-level widget.</p>
<a name="//apple_ref/cpp/instm/QDesignerFormEditorInterface/widgetBox"></a>
<h3 class="fn"><a name="widgetBox"></a><a href="qdesignerwidgetboxinterface.html">QDesignerWidgetBoxInterface</a> * QDesignerFormEditorInterface::widgetBox () const</h3>
<p>Returns an interface to <i>Qt Designer</i>'s widget box.</p>
<p>See also <a href="qdesignerformeditorinterface.html#setWidgetBox">setWidgetBox</a>().</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="40%" align="left">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies)</td>
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="40%" align="right"><div align="right">Qt 4.6.3</div></td>
</tr></table></div></address></body>
</html>