<?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"> <!-- abstractactioneditor.cpp --> <head> <title>Qt 4.6: QDesignerActionEditorInterface Class Reference</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <a name="//apple_ref/cpp/cl//QDesignerActionEditorInterface"></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"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="functions.html"><font color="#004faf">All Functions</font></a> · <a href="overviews.html"><font color="#004faf">Overviews</font></a></td></tr></table><h1 class="title">QDesignerActionEditorInterface Class Reference<br /><span class="small-subtitle">[<a href="qtdesigner.html">QtDesigner</a> module]</span> </h1> <p>The QDesignerActionEditorInterface class allows you to change the focus of Qt Designer's action editor. <a href="#details">More...</a></p> <pre> #include <QDesignerActionEditorInterface></pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p> <p>Inherits <a href="qwidget.html">QWidget</a>.</p> <ul> <li><a href="qdesigneractioneditorinterface-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="qdesigneractioneditorinterface.html#QDesignerActionEditorInterface">QDesignerActionEditorInterface</a></b> ( QWidget * <i>parent</i>, Qt::WindowFlags <i>flags</i> = 0 )</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><b><a href="qdesigneractioneditorinterface.html#dtor.QDesignerActionEditorInterface">~QDesignerActionEditorInterface</a></b> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual QDesignerFormEditorInterface * </td><td class="memItemRight" valign="bottom"><b><a href="qdesigneractioneditorinterface.html#core">core</a></b> () const</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesigneractioneditorinterface.html#manageAction">manageAction</a></b> ( QAction * <i>action</i> ) = 0</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesigneractioneditorinterface.html#unmanageAction">unmanageAction</a></b> ( QAction * <i>action</i> ) = 0</td></tr> </table> <ul> <li><div bar="2" class="fn"></div>217 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li> <li><div bar="2" class="fn"></div>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li> <li><div bar="2" class="fn"></div>13 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li> </ul> <hr /> <a name="public-slots"></a> <h2>Public Slots</h2> <table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesigneractioneditorinterface.html#setFormWindow">setFormWindow</a></b> ( QDesignerFormWindowInterface * <i>formWindow</i> ) = 0</td></tr> </table> <ul> <li><div bar="2" class="fn"></div>19 public slots inherited from <a href="qwidget.html#public-slots">QWidget</a></li> <li><div bar="2" class="fn"></div>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li> </ul> <h3>Additional Inherited Members</h3> <ul> <li><div class="fn"></div>58 properties inherited from <a href="qwidget.html#properties">QWidget</a></li> <li><div class="fn"></div>1 property inherited from <a href="qobject.html#properties">QObject</a></li> <li><div class="fn"></div>1 signal inherited from <a href="qwidget.html#signals">QWidget</a></li> <li><div class="fn"></div>1 signal inherited from <a href="qobject.html#signals">QObject</a></li> <li><div class="fn"></div>4 static public members inherited from <a href="qwidget.html#static-public-members">QWidget</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>37 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li> <li><div class="fn"></div>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li> <li><div class="fn"></div>1 protected function inherited from <a href="qpaintdevice.html#protected-functions">QPaintDevice</a></li> <li><div class="fn"></div>1 protected slot inherited from <a href="qwidget.html#protected-slots">QWidget</a></li> </ul> <a name="details"></a> <hr /> <h2>Detailed Description</h2> <p>The QDesignerActionEditorInterface class allows you to change the focus of Qt Designer's action editor.</p> <p>The QDesignerActionEditorInterface class is not intended to be instantiated directly. You can retrieve an interface to <i>Qt Designer</i>'s action editor using the <a href="qdesignerformeditorinterface.html#actionEditor">QDesignerFormEditorInterface::actionEditor</a>() function.</p> <p>You can control which actions that are available in the action editor's window using the <a href="qdesigneractioneditorinterface.html#manageAction">manageAction</a>() and <a href="qdesigneractioneditorinterface.html#unmanageAction">unmanageAction</a>() functions. An action that is managed by <i>Qt Designer</i> is available in the action editor while an unmanaged action is ignored.</p> <p>QDesignerActionEditorInterface also provides the <a href="qdesigneractioneditorinterface.html#core">core</a>() function that you can use to retrieve a pointer to <i>Qt Designer</i>'s current <a href="qdesignerformeditorinterface.html">QDesignerFormEditorInterface</a> object, and the <a href="qdesigneractioneditorinterface.html#setFormWindow">setFormWindow</a>() function that enables you to change the currently selected form window.</p> <p>See also <a href="qdesignerformeditorinterface.html">QDesignerFormEditorInterface</a> and <a href="qdesignerformwindowinterface.html">QDesignerFormWindowInterface</a>.</p> <hr /> <h2>Member Function Documentation</h2> <a name="//apple_ref/cpp/instm/QDesignerActionEditorInterface/QDesignerActionEditorInterface"></a> <h3 class="fn"><a name="QDesignerActionEditorInterface"></a>QDesignerActionEditorInterface::QDesignerActionEditorInterface ( <a href="qwidget.html">QWidget</a> * <i>parent</i>, <a href="qt.html#WindowType-enum">Qt::WindowFlags</a> <i>flags</i> = 0 )</h3> <p>Constructs an action editor interface with the given <i>parent</i> and the specified window <i>flags</i>.</p> <a name="//apple_ref/cpp/instm/QDesignerActionEditorInterface/~QDesignerActionEditorInterface"></a> <h3 class="fn"><a name="dtor.QDesignerActionEditorInterface"></a>QDesignerActionEditorInterface::~QDesignerActionEditorInterface () <tt> [virtual]</tt></h3> <p>Destroys the action editor interface.</p> <a name="//apple_ref/cpp/instm/QDesignerActionEditorInterface/core"></a> <h3 class="fn"><a name="core"></a><a href="qdesignerformeditorinterface.html">QDesignerFormEditorInterface</a> * QDesignerActionEditorInterface::core () const <tt> [virtual]</tt></h3> <p>Returns a pointer to <i>Qt Designer</i>'s current <a href="qdesignerformeditorinterface.html">QDesignerFormEditorInterface</a> object.</p> <a name="//apple_ref/cpp/instm/QDesignerActionEditorInterface/manageAction"></a> <h3 class="fn"><a name="manageAction"></a>void QDesignerActionEditorInterface::manageAction ( <a href="qaction.html">QAction</a> * <i>action</i> ) <tt> [pure virtual]</tt></h3> <p>Instructs <i>Qt Designer</i> to manage the specified <i>action</i>. An action that is managed by <i>Qt Designer</i> is available in the action editor.</p> <p>See also <a href="qdesigneractioneditorinterface.html#unmanageAction">unmanageAction</a>().</p> <a name="//apple_ref/cpp/instm/QDesignerActionEditorInterface/setFormWindow"></a> <h3 class="fn"><a name="setFormWindow"></a>void QDesignerActionEditorInterface::setFormWindow ( <a href="qdesignerformwindowinterface.html">QDesignerFormWindowInterface</a> * <i>formWindow</i> ) <tt> [pure virtual slot]</tt></h3> <p>Sets the currently selected form window to <i>formWindow</i>.</p> <a name="//apple_ref/cpp/instm/QDesignerActionEditorInterface/unmanageAction"></a> <h3 class="fn"><a name="unmanageAction"></a>void QDesignerActionEditorInterface::unmanageAction ( <a href="qaction.html">QAction</a> * <i>action</i> ) <tt> [pure virtual]</tt></h3> <p>Instructs <i>Qt Designer</i> to ignore the specified <i>action</i>. An unmanaged action is not available in the action editor.</p> <p>See also <a href="qdesigneractioneditorinterface.html#manageAction">manageAction</a>().</p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td width="40%" align="left">Copyright © 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>