3
3
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
4
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<!-- /fasttmp/mkdist-qt-4.5.2-1245473805/qt-x11-opensource-src-4.5.2/tools/designer/src/lib/sdk/abstractformwindow.cpp -->
5
<!-- abstractformwindow.cpp -->
7
<title>Qt 4.5: QDesignerFormWindowInterface Class Reference</title>
7
<title>Qt 4.6: QDesignerFormWindowInterface Class Reference</title>
8
8
<link href="classic.css" rel="stylesheet" type="text/css" />
11
<a name="//apple_ref/cpp/cl//QDesignerFormWindowInterface" />
11
12
<table border="0" cellpadding="0" cellspacing="0" width="100%">
13
<td align="left" valign="top" width="32"><a href="http://qtsoftware.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
14
<td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="namespaces.html"><font color="#004faf">All Namespaces</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="mainclasses.html"><font color="#004faf">Main Classes</font></a> · <a href="groups.html"><font color="#004faf">Grouped Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td>
15
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QDesignerFormWindowInterface Class Reference<br /><span class="small-subtitle">[<a href="qtdesigner.html">QtDesigner</a> module]</span>
14
<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>
15
<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><td class="searchBar" align="right" valign="center"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="000136343326384750312:dhbxnqlakyu" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form></td>
16
</tr></table><h1 class="title">QDesignerFormWindowInterface Class Reference<br /><span class="small-subtitle">[<a href="qtdesigner.html">QtDesigner</a> module]</span>
17
18
<p>The QDesignerFormWindowInterface class allows you to query and manipulate form windows appearing in Qt Designer's workspace. <a href="#details">More...</a></p>
18
<pre> #include <QDesignerFormWindowInterface></pre><p>Inherits <a href="qwidget.html">QWidget</a>.</p>
19
<pre> #include <QDesignerFormWindowInterface></pre><p><b>This class is not part of the Qt GUI Framework Edition.</b></p>
20
<p>Inherits <a href="qwidget.html">QWidget</a>.</p>
20
22
<li><a href="qdesignerformwindowinterface-members.html">List of all members, including inherited members</a></li>
22
25
<a name="public-types"></a>
25
<li><div class="fn"></div>flags <b><a href="qdesignerformwindowinterface.html#FeatureFlag-enum">Feature</a></b></li>
26
<li><div class="fn"></div>enum <b><a href="qdesignerformwindowinterface.html#FeatureFlag-enum">FeatureFlag</a></b> { EditFeature, GridFeature, TabOrderFeature, DefaultFeature }</li>
27
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
28
<tr><td class="memItemLeft" align="right" valign="top">flags </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#FeatureFlag-enum">Feature</a></b></td></tr>
29
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#FeatureFlag-enum">FeatureFlag</a></b> { EditFeature, GridFeature, TabOrderFeature, DefaultFeature }</td></tr>
28
32
<a name="public-functions"></a>
29
<h3>Public Functions</h3>
31
<li><div class="fn"></div><b><a href="qdesignerformwindowinterface.html#QDesignerFormWindowInterface">QDesignerFormWindowInterface</a></b> ( QWidget * <i>parent</i> = 0, Qt::WindowFlags <i>flags</i> = 0 )</li>
32
<li><div class="fn"></div>virtual <b><a href="qdesignerformwindowinterface.html#dtor.QDesignerFormWindowInterface">~QDesignerFormWindowInterface</a></b> ()</li>
33
<li><div class="fn"></div>virtual QDir <b><a href="qdesignerformwindowinterface.html#absoluteDir">absoluteDir</a></b> () const = 0</li>
34
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#addResourceFile">addResourceFile</a></b> ( const QString & <i>path</i> ) = 0</li>
35
<li><div class="fn"></div>virtual QString <b><a href="qdesignerformwindowinterface.html#author">author</a></b> () const = 0</li>
36
<li><div class="fn"></div>virtual QString <b><a href="qdesignerformwindowinterface.html#comment">comment</a></b> () const = 0</li>
37
<li><div class="fn"></div>virtual QString <b><a href="qdesignerformwindowinterface.html#contents">contents</a></b> () const = 0</li>
38
<li><div class="fn"></div>virtual QDesignerFormEditorInterface * <b><a href="qdesignerformwindowinterface.html#core">core</a></b> () const</li>
39
<li><div class="fn"></div>virtual QDesignerFormWindowCursorInterface * <b><a href="qdesignerformwindowinterface.html#cursor">cursor</a></b> () const = 0</li>
40
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#emitSelectionChanged">emitSelectionChanged</a></b> () = 0</li>
41
<li><div class="fn"></div>virtual QString <b><a href="qdesignerformwindowinterface.html#exportMacro">exportMacro</a></b> () const = 0</li>
42
<li><div class="fn"></div>virtual Feature <b><a href="qdesignerformwindowinterface.html#features">features</a></b> () const = 0</li>
43
<li><div class="fn"></div>virtual QString <b><a href="qdesignerformwindowinterface.html#fileName">fileName</a></b> () const = 0</li>
44
<li><div class="fn"></div>virtual QPoint <b><a href="qdesignerformwindowinterface.html#grid">grid</a></b> () const = 0</li>
45
<li><div class="fn"></div>virtual bool <b><a href="qdesignerformwindowinterface.html#hasFeature">hasFeature</a></b> ( Feature <i>feature</i> ) const = 0</li>
46
<li><div class="fn"></div>virtual QStringList <b><a href="qdesignerformwindowinterface.html#includeHints">includeHints</a></b> () const = 0</li>
47
<li><div class="fn"></div>virtual bool <b><a href="qdesignerformwindowinterface.html#isDirty">isDirty</a></b> () const = 0</li>
48
<li><div class="fn"></div>virtual bool <b><a href="qdesignerformwindowinterface.html#isManaged">isManaged</a></b> ( QWidget * <i>widget</i> ) const = 0</li>
49
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#layoutDefault">layoutDefault</a></b> ( int * <i>margin</i>, int * <i>spacing</i> ) = 0</li>
50
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#layoutFunction">layoutFunction</a></b> ( QString * <i>margin</i>, QString * <i>spacing</i> ) = 0</li>
51
<li><div class="fn"></div>virtual QWidget * <b><a href="qdesignerformwindowinterface.html#mainContainer">mainContainer</a></b> () const = 0</li>
52
<li><div class="fn"></div>virtual QString <b><a href="qdesignerformwindowinterface.html#pixmapFunction">pixmapFunction</a></b> () const = 0</li>
53
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#removeResourceFile">removeResourceFile</a></b> ( const QString & <i>path</i> ) = 0</li>
54
<li><div class="fn"></div>virtual QStringList <b><a href="qdesignerformwindowinterface.html#resourceFiles">resourceFiles</a></b> () const = 0</li>
55
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setAuthor">setAuthor</a></b> ( const QString & <i>author</i> ) = 0</li>
56
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setComment">setComment</a></b> ( const QString & <i>comment</i> ) = 0</li>
57
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setContents">setContents</a></b> ( QIODevice * <i>device</i> ) = 0</li>
58
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setExportMacro">setExportMacro</a></b> ( const QString & <i>exportMacro</i> ) = 0</li>
59
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setIncludeHints">setIncludeHints</a></b> ( const QStringList & <i>includeHints</i> ) = 0</li>
60
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setLayoutDefault">setLayoutDefault</a></b> ( int <i>margin</i>, int <i>spacing</i> ) = 0</li>
61
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setLayoutFunction">setLayoutFunction</a></b> ( const QString & <i>margin</i>, const QString & <i>spacing</i> ) = 0</li>
62
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setMainContainer">setMainContainer</a></b> ( QWidget * <i>mainContainer</i> ) = 0</li>
63
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setPixmapFunction">setPixmapFunction</a></b> ( const QString & <i>pixmapFunction</i> ) = 0</li>
66
<li><div class="fn"></div>207 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
67
<li><div class="fn"></div>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
68
<li><div class="fn"></div>12 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
33
<h2>Public Functions</h2>
34
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
35
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#QDesignerFormWindowInterface">QDesignerFormWindowInterface</a></b> ( QWidget * <i>parent</i> = 0, Qt::WindowFlags <i>flags</i> = 0 )</td></tr>
36
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#dtor.QDesignerFormWindowInterface">~QDesignerFormWindowInterface</a></b> ()</td></tr>
37
<tr><td class="memItemLeft" align="right" valign="top">virtual QDir </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#absoluteDir">absoluteDir</a></b> () const = 0</td></tr>
38
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#addResourceFile">addResourceFile</a></b> ( const QString & <i>path</i> ) = 0</td></tr>
39
<tr><td class="memItemLeft" align="right" valign="top">virtual QString </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#author">author</a></b> () const = 0</td></tr>
40
<tr><td class="memItemLeft" align="right" valign="top">virtual QString </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#comment">comment</a></b> () const = 0</td></tr>
41
<tr><td class="memItemLeft" align="right" valign="top">virtual QString </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#contents">contents</a></b> () const = 0</td></tr>
42
<tr><td class="memItemLeft" align="right" valign="top">virtual QDesignerFormEditorInterface * </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#core">core</a></b> () const</td></tr>
43
<tr><td class="memItemLeft" align="right" valign="top">virtual QDesignerFormWindowCursorInterface * </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#cursor">cursor</a></b> () const = 0</td></tr>
44
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#emitSelectionChanged">emitSelectionChanged</a></b> () = 0</td></tr>
45
<tr><td class="memItemLeft" align="right" valign="top">virtual QString </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#exportMacro">exportMacro</a></b> () const = 0</td></tr>
46
<tr><td class="memItemLeft" align="right" valign="top">virtual Feature </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#features">features</a></b> () const = 0</td></tr>
47
<tr><td class="memItemLeft" align="right" valign="top">virtual QString </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#fileName">fileName</a></b> () const = 0</td></tr>
48
<tr><td class="memItemLeft" align="right" valign="top">virtual QPoint </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#grid">grid</a></b> () const = 0</td></tr>
49
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#hasFeature">hasFeature</a></b> ( Feature <i>feature</i> ) const = 0</td></tr>
50
<tr><td class="memItemLeft" align="right" valign="top">virtual QStringList </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#includeHints">includeHints</a></b> () const = 0</td></tr>
51
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#isDirty">isDirty</a></b> () const = 0</td></tr>
52
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#isManaged">isManaged</a></b> ( QWidget * <i>widget</i> ) const = 0</td></tr>
53
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#layoutDefault">layoutDefault</a></b> ( int * <i>margin</i>, int * <i>spacing</i> ) = 0</td></tr>
54
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#layoutFunction">layoutFunction</a></b> ( QString * <i>margin</i>, QString * <i>spacing</i> ) = 0</td></tr>
55
<tr><td class="memItemLeft" align="right" valign="top">virtual QWidget * </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#mainContainer">mainContainer</a></b> () const = 0</td></tr>
56
<tr><td class="memItemLeft" align="right" valign="top">virtual QString </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#pixmapFunction">pixmapFunction</a></b> () const = 0</td></tr>
57
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#removeResourceFile">removeResourceFile</a></b> ( const QString & <i>path</i> ) = 0</td></tr>
58
<tr><td class="memItemLeft" align="right" valign="top">virtual QStringList </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#resourceFiles">resourceFiles</a></b> () const = 0</td></tr>
59
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setAuthor">setAuthor</a></b> ( const QString & <i>author</i> ) = 0</td></tr>
60
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setComment">setComment</a></b> ( const QString & <i>comment</i> ) = 0</td></tr>
61
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setContents">setContents</a></b> ( QIODevice * <i>device</i> ) = 0</td></tr>
62
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setExportMacro">setExportMacro</a></b> ( const QString & <i>exportMacro</i> ) = 0</td></tr>
63
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setIncludeHints">setIncludeHints</a></b> ( const QStringList & <i>includeHints</i> ) = 0</td></tr>
64
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setLayoutDefault">setLayoutDefault</a></b> ( int <i>margin</i>, int <i>spacing</i> ) = 0</td></tr>
65
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setLayoutFunction">setLayoutFunction</a></b> ( const QString & <i>margin</i>, const QString & <i>spacing</i> ) = 0</td></tr>
66
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setMainContainer">setMainContainer</a></b> ( QWidget * <i>mainContainer</i> ) = 0</td></tr>
67
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setPixmapFunction">setPixmapFunction</a></b> ( const QString & <i>pixmapFunction</i> ) = 0</td></tr>
70
<li><div bar="2" class="fn"></div>215 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
71
<li><div bar="2" class="fn"></div>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
72
<li><div bar="2" class="fn"></div>12 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
70
75
<a name="public-slots"></a>
73
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#clearSelection">clearSelection</a></b> ( bool <i>update</i> = true ) = 0</li>
74
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#manageWidget">manageWidget</a></b> ( QWidget * <i>widget</i> ) = 0</li>
75
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#selectWidget">selectWidget</a></b> ( QWidget * <i>widget</i>, bool <i>select</i> = true ) = 0</li>
76
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setContents-2">setContents</a></b> ( const QString & <i>contents</i> ) = 0</li>
77
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setDirty">setDirty</a></b> ( bool <i>dirty</i> ) = 0</li>
78
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setFeatures">setFeatures</a></b> ( Feature <i>features</i> ) = 0</li>
79
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setFileName">setFileName</a></b> ( const QString & <i>fileName</i> ) = 0</li>
80
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#setGrid">setGrid</a></b> ( const QPoint & <i>grid</i> ) = 0</li>
81
<li><div class="fn"></div>virtual void <b><a href="qdesignerformwindowinterface.html#unmanageWidget">unmanageWidget</a></b> ( QWidget * <i>widget</i> ) = 0</li>
84
<li><div class="fn"></div>19 public slots inherited from <a href="qwidget.html#public-slots">QWidget</a></li>
85
<li><div class="fn"></div>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
77
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
78
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#clearSelection">clearSelection</a></b> ( bool <i>update</i> = true ) = 0</td></tr>
79
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#manageWidget">manageWidget</a></b> ( QWidget * <i>widget</i> ) = 0</td></tr>
80
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#selectWidget">selectWidget</a></b> ( QWidget * <i>widget</i>, bool <i>select</i> = true ) = 0</td></tr>
81
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setContents-2">setContents</a></b> ( const QString & <i>contents</i> ) = 0</td></tr>
82
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setDirty">setDirty</a></b> ( bool <i>dirty</i> ) = 0</td></tr>
83
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setFeatures">setFeatures</a></b> ( Feature <i>features</i> ) = 0</td></tr>
84
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setFileName">setFileName</a></b> ( const QString & <i>fileName</i> ) = 0</td></tr>
85
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#setGrid">setGrid</a></b> ( const QPoint & <i>grid</i> ) = 0</td></tr>
86
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#unmanageWidget">unmanageWidget</a></b> ( QWidget * <i>widget</i> ) = 0</td></tr>
89
<li><div bar="2" class="fn"></div>19 public slots inherited from <a href="qwidget.html#public-slots">QWidget</a></li>
90
<li><div bar="2" class="fn"></div>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
87
93
<a name="signals"></a>
90
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#aboutToUnmanageWidget">aboutToUnmanageWidget</a></b> ( QWidget * <i>widget</i> )</li>
91
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#activated">activated</a></b> ( QWidget * <i>widget</i> )</li>
92
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#changed">changed</a></b> ()</li>
93
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#featureChanged">featureChanged</a></b> ( Feature <i>feature</i> )</li>
94
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#fileNameChanged">fileNameChanged</a></b> ( const QString & <i>fileName</i> )</li>
95
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#geometryChanged">geometryChanged</a></b> ()</li>
96
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#mainContainerChanged">mainContainerChanged</a></b> ( QWidget * <i>mainContainer</i> )</li>
97
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#objectRemoved">objectRemoved</a></b> ( QObject * <i>object</i> )</li>
98
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#resourceFilesChanged">resourceFilesChanged</a></b> ()</li>
99
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#selectionChanged">selectionChanged</a></b> ()</li>
100
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#widgetManaged">widgetManaged</a></b> ( QWidget * <i>widget</i> )</li>
101
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#widgetRemoved">widgetRemoved</a></b> ( QWidget * <i>widget</i> )</li>
102
<li><div class="fn"></div>void <b><a href="qdesignerformwindowinterface.html#widgetUnmanaged">widgetUnmanaged</a></b> ( QWidget * <i>widget</i> )</li>
105
<li><div class="fn"></div>1 signal inherited from <a href="qwidget.html#signals">QWidget</a></li>
106
<li><div class="fn"></div>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
95
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
96
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#aboutToUnmanageWidget">aboutToUnmanageWidget</a></b> ( QWidget * <i>widget</i> )</td></tr>
97
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#activated">activated</a></b> ( QWidget * <i>widget</i> )</td></tr>
98
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#changed">changed</a></b> ()</td></tr>
99
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#featureChanged">featureChanged</a></b> ( Feature <i>feature</i> )</td></tr>
100
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#fileNameChanged">fileNameChanged</a></b> ( const QString & <i>fileName</i> )</td></tr>
101
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#geometryChanged">geometryChanged</a></b> ()</td></tr>
102
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#mainContainerChanged">mainContainerChanged</a></b> ( QWidget * <i>mainContainer</i> )</td></tr>
103
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#objectRemoved">objectRemoved</a></b> ( QObject * <i>object</i> )</td></tr>
104
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#resourceFilesChanged">resourceFilesChanged</a></b> ()</td></tr>
105
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#selectionChanged">selectionChanged</a></b> ()</td></tr>
106
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#widgetManaged">widgetManaged</a></b> ( QWidget * <i>widget</i> )</td></tr>
107
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#widgetRemoved">widgetRemoved</a></b> ( QWidget * <i>widget</i> )</td></tr>
108
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#widgetUnmanaged">widgetUnmanaged</a></b> ( QWidget * <i>widget</i> )</td></tr>
111
<li><div bar="2" class="fn"></div>1 signal inherited from <a href="qwidget.html#signals">QWidget</a></li>
112
<li><div bar="2" class="fn"></div>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
108
115
<a name="static-public-members"></a>
109
<h3>Static Public Members</h3>
111
<li><div class="fn"></div>QDesignerFormWindowInterface * <b><a href="qdesignerformwindowinterface.html#findFormWindow">findFormWindow</a></b> ( QWidget * <i>widget</i> )</li>
112
<li><div class="fn"></div>QDesignerFormWindowInterface * <b><a href="qdesignerformwindowinterface.html#findFormWindow-2">findFormWindow</a></b> ( QObject * <i>object</i> )</li>
115
<li><div class="fn"></div>4 static public members inherited from <a href="qwidget.html#static-public-members">QWidget</a></li>
116
<li><div class="fn"></div>5 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
116
<h2>Static Public Members</h2>
117
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
118
<tr><td class="memItemLeft" align="right" valign="top">QDesignerFormWindowInterface * </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#findFormWindow">findFormWindow</a></b> ( QWidget * <i>widget</i> )</td></tr>
119
<tr><td class="memItemLeft" align="right" valign="top">QDesignerFormWindowInterface * </td><td class="memItemRight" valign="bottom"><b><a href="qdesignerformwindowinterface.html#findFormWindow-2">findFormWindow</a></b> ( QObject * <i>object</i> )</td></tr>
122
<li><div bar="2" class="fn"></div>4 static public members inherited from <a href="qwidget.html#static-public-members">QWidget</a></li>
123
<li><div bar="2" class="fn"></div>5 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
118
125
<h3>Additional Inherited Members</h3>
120
<li><div class="fn"></div>57 properties inherited from <a href="qwidget.html#properties">QWidget</a></li>
127
<li><div class="fn"></div>58 properties inherited from <a href="qwidget.html#properties">QWidget</a></li>
121
128
<li><div class="fn"></div>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
122
129
<li><div class="fn"></div>37 protected functions inherited from <a href="qwidget.html#protected-functions">QWidget</a></li>
123
130
<li><div class="fn"></div>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
166
179
<p>See also <a href="qdesignerformwindowinterface.html#hasFeature">hasFeature</a>() and <a href="qdesignerformwindowinterface.html#features">features</a>().</p>
168
181
<h2>Member Function Documentation</h2>
182
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/QDesignerFormWindowInterface" />
169
183
<h3 class="fn"><a name="QDesignerFormWindowInterface"></a>QDesignerFormWindowInterface::QDesignerFormWindowInterface ( <a href="qwidget.html">QWidget</a> * <i>parent</i> = 0, <a href="qt.html#WindowType-enum">Qt::WindowFlags</a> <i>flags</i> = 0 )</h3>
170
184
<p>Constructs a form window interface with the given <i>parent</i> and the specified window <i>flags</i>.</p>
185
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/~QDesignerFormWindowInterface" />
171
186
<h3 class="fn"><a name="dtor.QDesignerFormWindowInterface"></a>QDesignerFormWindowInterface::~QDesignerFormWindowInterface () <tt> [virtual]</tt></h3>
172
187
<p>Destroys the form window interface.</p>
188
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/aboutToUnmanageWidget" />
173
189
<h3 class="fn"><a name="aboutToUnmanageWidget"></a>void QDesignerFormWindowInterface::aboutToUnmanageWidget ( <a href="qwidget.html">QWidget</a> * <i>widget</i> ) <tt> [signal]</tt></h3>
174
190
<p>This signal is emitted whenever a widget on the form is about to become unmanaged. When this signal is emitted, the specified <i>widget</i> is still managed, and a <a href="qdesignerformwindowinterface.html#widgetUnmanaged">widgetUnmanaged</a>() signal will follow, indicating when it is no longer managed.</p>
175
191
<p>See also <a href="qdesignerformwindowinterface.html#unmanageWidget">unmanageWidget</a>() and <a href="qdesignerformwindowinterface.html#isManaged">isManaged</a>().</p>
192
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/absoluteDir" />
176
193
<h3 class="fn"><a name="absoluteDir"></a><a href="qdir.html">QDir</a> QDesignerFormWindowInterface::absoluteDir () const <tt> [pure virtual]</tt></h3>
177
194
<p>Returns the absolute location of the directory containing the form shown in the form window.</p>
195
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/activated" />
178
196
<h3 class="fn"><a name="activated"></a>void QDesignerFormWindowInterface::activated ( <a href="qwidget.html">QWidget</a> * <i>widget</i> ) <tt> [signal]</tt></h3>
179
197
<p>This signal is emitted whenever a widget is activated on the form. The activated widget is specified by <i>widget</i>.</p>
198
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/addResourceFile" />
180
199
<h3 class="fn"><a name="addResourceFile"></a>void QDesignerFormWindowInterface::addResourceFile ( const <a href="qstring.html">QString</a> & <i>path</i> ) <tt> [pure virtual]</tt></h3>
181
200
<p>Adds the resource file at the given <i>path</i> to those used by the form.</p>
182
201
<p>See also <a href="qdesignerformwindowinterface.html#resourceFiles">resourceFiles</a>() and <a href="qdesignerformwindowinterface.html#resourceFilesChanged">resourceFilesChanged</a>().</p>
202
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/author" />
183
203
<h3 class="fn"><a name="author"></a><a href="qstring.html">QString</a> QDesignerFormWindowInterface::author () const <tt> [pure virtual]</tt></h3>
184
204
<p>Returns details of the author or creator of the form currently being displayed in the window.</p>
185
205
<p>See also <a href="qdesignerformwindowinterface.html#setAuthor">setAuthor</a>().</p>
206
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/changed" />
186
207
<h3 class="fn"><a name="changed"></a>void QDesignerFormWindowInterface::changed () <tt> [signal]</tt></h3>
187
208
<p>This signal is emitted whenever a form is changed.</p>
209
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/clearSelection" />
188
210
<h3 class="fn"><a name="clearSelection"></a>void QDesignerFormWindowInterface::clearSelection ( bool <i>update</i> = true ) <tt> [pure virtual slot]</tt></h3>
189
211
<p>Clears the current selection in the form window. If <i>update</i> is true, the <a href="qdesignerformwindowinterface.html#emitSelectionChanged">emitSelectionChanged</a>() function is called, emitting the <a href="qdesignerformwindowinterface.html#selectionChanged">selectionChanged</a>() signal.</p>
190
212
<p>See also <a href="qdesignerformwindowinterface.html#selectWidget">selectWidget</a>().</p>
213
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/comment" />
191
214
<h3 class="fn"><a name="comment"></a><a href="qstring.html">QString</a> QDesignerFormWindowInterface::comment () const <tt> [pure virtual]</tt></h3>
192
215
<p>Returns comments about the form currently being displayed in the window.</p>
193
216
<p>See also <a href="qdesignerformwindowinterface.html#setComment">setComment</a>().</p>
217
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/contents" />
194
218
<h3 class="fn"><a name="contents"></a><a href="qstring.html">QString</a> QDesignerFormWindowInterface::contents () const <tt> [pure virtual]</tt></h3>
195
219
<p>Returns details of the contents of the form currently being displayed in the window.</p>
196
220
<p>See also <a href="qdesignerformwindowinterface.html#setContents">setContents</a>().</p>
221
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/core" />
197
222
<h3 class="fn"><a name="core"></a><a href="qdesignerformeditorinterface.html">QDesignerFormEditorInterface</a> * QDesignerFormWindowInterface::core () const <tt> [virtual]</tt></h3>
198
223
<p>Returns a pointer to <i>Qt Designer</i>'s current <a href="qdesignerformeditorinterface.html">QDesignerFormEditorInterface</a> object.</p>
224
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/cursor" />
199
225
<h3 class="fn"><a name="cursor"></a><a href="qdesignerformwindowcursorinterface.html">QDesignerFormWindowCursorInterface</a> * QDesignerFormWindowInterface::cursor () const <tt> [pure virtual]</tt></h3>
200
226
<p>Returns the cursor interface used by the form window.</p>
227
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/emitSelectionChanged" />
201
228
<h3 class="fn"><a name="emitSelectionChanged"></a>void QDesignerFormWindowInterface::emitSelectionChanged () <tt> [pure virtual]</tt></h3>
202
229
<p>Emits the <a href="qdesignerformwindowinterface.html#selectionChanged">selectionChanged</a>() signal.</p>
203
230
<p>See also <a href="qdesignerformwindowinterface.html#selectWidget">selectWidget</a>() and <a href="qdesignerformwindowinterface.html#clearSelection">clearSelection</a>().</p>
231
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/exportMacro" />
204
232
<h3 class="fn"><a name="exportMacro"></a><a href="qstring.html">QString</a> QDesignerFormWindowInterface::exportMacro () const <tt> [pure virtual]</tt></h3>
205
233
<p>Returns the export macro associated with the form currently being displayed in the window. The export macro is used when the form is compiled to create a widget plugin.</p>
206
234
<p>See also <a href="qdesignerformwindowinterface.html#setExportMacro">setExportMacro</a>() and <a href="designer-creating-custom-widgets.html">Creating Custom Widgets for Qt Designer</a>.</p>
235
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/featureChanged" />
207
236
<h3 class="fn"><a name="featureChanged"></a>void QDesignerFormWindowInterface::featureChanged ( <a href="qdesignerformwindowinterface.html#FeatureFlag-enum">Feature</a> <i>feature</i> ) <tt> [signal]</tt></h3>
208
237
<p>This signal is emitted whenever a feature changes in the form. The new feature is specified by <i>feature</i>.</p>
209
238
<p>See also <a href="qdesignerformwindowinterface.html#setFeatures">setFeatures</a>().</p>
239
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/features" />
210
240
<h3 class="fn"><a name="features"></a><a href="qdesignerformwindowinterface.html#FeatureFlag-enum">Feature</a> QDesignerFormWindowInterface::features () const <tt> [pure virtual]</tt></h3>
211
241
<p>Returns a combination of the features provided by the form window associated with the interface. The value returned can be tested against the <a href="qdesignerformwindowinterface.html#FeatureFlag-enum">Feature</a> enum values to determine which features are supported by the window.</p>
212
242
<p>See also <a href="qdesignerformwindowinterface.html#setFeatures">setFeatures</a>() and <a href="qdesignerformwindowinterface.html#hasFeature">hasFeature</a>().</p>
243
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/fileName" />
213
244
<h3 class="fn"><a name="fileName"></a><a href="qstring.html">QString</a> QDesignerFormWindowInterface::fileName () const <tt> [pure virtual]</tt></h3>
214
<p>Returns the file name of the .ui file that describes the form currently being shown.</p>
245
<p>Returns the file name of the UI file that describes the form currently being shown.</p>
215
246
<p>See also <a href="qdesignerformwindowinterface.html#setFileName">setFileName</a>().</p>
247
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/fileNameChanged" />
216
248
<h3 class="fn"><a name="fileNameChanged"></a>void QDesignerFormWindowInterface::fileNameChanged ( const <a href="qstring.html">QString</a> & <i>fileName</i> ) <tt> [signal]</tt></h3>
217
249
<p>This signal is emitted whenever the file name of the form changes. The new file name is specified by <i>fileName</i>.</p>
218
250
<p>See also <a href="qdesignerformwindowinterface.html#setFileName">setFileName</a>().</p>
251
<a name="//apple_ref/cpp/clm/QDesignerFormWindowInterface/findFormWindow" />
219
252
<h3 class="fn"><a name="findFormWindow"></a>QDesignerFormWindowInterface * QDesignerFormWindowInterface::findFormWindow ( <a href="qwidget.html">QWidget</a> * <i>widget</i> ) <tt> [static]</tt></h3>
220
253
<p>Returns the form window interface for the given <i>widget</i>.</p>
221
254
<h3 class="fn"><a name="findFormWindow-2"></a>QDesignerFormWindowInterface * QDesignerFormWindowInterface::findFormWindow ( <a href="qobject.html">QObject</a> * <i>object</i> ) <tt> [static]</tt></h3>
222
255
<p>Returns the form window interface for the given <i>object</i>.</p>
223
256
<p>This function was introduced in Qt 4.4.</p>
257
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/geometryChanged" />
224
258
<h3 class="fn"><a name="geometryChanged"></a>void QDesignerFormWindowInterface::geometryChanged () <tt> [signal]</tt></h3>
225
259
<p>This signal is emitted whenever the form's geometry changes.</p>
260
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/grid" />
226
261
<h3 class="fn"><a name="grid"></a><a href="qpoint.html">QPoint</a> QDesignerFormWindowInterface::grid () const <tt> [pure virtual]</tt></h3>
227
262
<p>Returns the grid spacing used by the form window.</p>
228
263
<p>See also <a href="qdesignerformwindowinterface.html#setGrid">setGrid</a>().</p>
264
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/hasFeature" />
229
265
<h3 class="fn"><a name="hasFeature"></a>bool QDesignerFormWindowInterface::hasFeature ( <a href="qdesignerformwindowinterface.html#FeatureFlag-enum">Feature</a> <i>feature</i> ) const <tt> [pure virtual]</tt></h3>
230
266
<p>Returns true if the form window offers the specified <i>feature</i>; otherwise returns false.</p>
231
267
<p>See also <a href="qdesignerformwindowinterface.html#features">features</a>().</p>
268
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/includeHints" />
232
269
<h3 class="fn"><a name="includeHints"></a><a href="qstringlist.html">QStringList</a> QDesignerFormWindowInterface::includeHints () const <tt> [pure virtual]</tt></h3>
233
<p>Returns a list of the header files that will be included in the form window's associated <tt>.ui</tt> file.</p>
234
<p>Header files may be local, i.e. relative to the project's directory,<tt>"mywidget.h"</tt>, or global, i.e. part of Qt or the compilers standard libraries:<tt><QtGui/QWidget></tt>.</p>
270
<p>Returns a list of the header files that will be included in the form window's associated UI file.</p>
271
<p>Header files may be local, i.e. relative to the project's directory, <tt>"mywidget.h"</tt>, or global, i.e. part of Qt or the compilers standard libraries: <tt><QtGui/QWidget></tt>.</p>
235
272
<p>See also <a href="qdesignerformwindowinterface.html#setIncludeHints">setIncludeHints</a>().</p>
273
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/isDirty" />
236
274
<h3 class="fn"><a name="isDirty"></a>bool QDesignerFormWindowInterface::isDirty () const <tt> [pure virtual]</tt></h3>
237
275
<p>Returns true if the form window is "dirty" (modified but not saved); otherwise returns false.</p>
238
276
<p>See also <a href="qdesignerformwindowinterface.html#setDirty">setDirty</a>().</p>
277
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/isManaged" />
239
278
<h3 class="fn"><a name="isManaged"></a>bool QDesignerFormWindowInterface::isManaged ( <a href="qwidget.html">QWidget</a> * <i>widget</i> ) const <tt> [pure virtual]</tt></h3>
240
279
<p>Returns true if the specified <i>widget</i> is managed by the form window; otherwise returns false.</p>
241
280
<p>See also <a href="qdesignerformwindowinterface.html#manageWidget">manageWidget</a>().</p>
281
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/layoutDefault" />
242
282
<h3 class="fn"><a name="layoutDefault"></a>void QDesignerFormWindowInterface::layoutDefault ( int * <i>margin</i>, int * <i>spacing</i> ) <tt> [pure virtual]</tt></h3>
243
283
<p>Fills in the default margin and spacing for the form's default layout in the <i>margin</i> and <i>spacing</i> variables specified.</p>
244
284
<p>See also <a href="qdesignerformwindowinterface.html#setLayoutDefault">setLayoutDefault</a>().</p>
285
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/layoutFunction" />
245
286
<h3 class="fn"><a name="layoutFunction"></a>void QDesignerFormWindowInterface::layoutFunction ( <a href="qstring.html">QString</a> * <i>margin</i>, <a href="qstring.html">QString</a> * <i>spacing</i> ) <tt> [pure virtual]</tt></h3>
246
287
<p>Fills in the current margin and spacing for the form's layout in the <i>margin</i> and <i>spacing</i> variables specified.</p>
247
288
<p>See also <a href="qdesignerformwindowinterface.html#setLayoutFunction">setLayoutFunction</a>().</p>
289
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/mainContainer" />
248
290
<h3 class="fn"><a name="mainContainer"></a><a href="qwidget.html">QWidget</a> * QDesignerFormWindowInterface::mainContainer () const <tt> [pure virtual]</tt></h3>
249
291
<p>Returns the main container widget for the form window.</p>
250
292
<p>See also <a href="qdesignerformwindowinterface.html#setMainContainer">setMainContainer</a>().</p>
293
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/mainContainerChanged" />
251
294
<h3 class="fn"><a name="mainContainerChanged"></a>void QDesignerFormWindowInterface::mainContainerChanged ( <a href="qwidget.html">QWidget</a> * <i>mainContainer</i> ) <tt> [signal]</tt></h3>
252
295
<p>This signal is emitted whenever the main container changes. The new container is specified by <i>mainContainer</i>.</p>
253
296
<p>See also <a href="qdesignerformwindowinterface.html#setMainContainer">setMainContainer</a>().</p>
297
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/manageWidget" />
254
298
<h3 class="fn"><a name="manageWidget"></a>void QDesignerFormWindowInterface::manageWidget ( <a href="qwidget.html">QWidget</a> * <i>widget</i> ) <tt> [pure virtual slot]</tt></h3>
255
299
<p>Instructs the form window to manage the specified <i>widget</i>.</p>
256
300
<p>See also <a href="qdesignerformwindowinterface.html#isManaged">isManaged</a>(), <a href="qdesignerformwindowinterface.html#unmanageWidget">unmanageWidget</a>(), and <a href="qdesignerformwindowinterface.html#widgetManaged">widgetManaged</a>().</p>
301
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/objectRemoved" />
257
302
<h3 class="fn"><a name="objectRemoved"></a>void QDesignerFormWindowInterface::objectRemoved ( <a href="qobject.html">QObject</a> * <i>object</i> ) <tt> [signal]</tt></h3>
258
303
<p>This signal is emitted whenever an object (such as an action or a <a href="qbuttongroup.html">QButtonGroup</a>) is removed from the form. The object that was removed is specified by <i>object</i>.</p>
259
304
<p>This function was introduced in Qt 4.5.</p>
305
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/pixmapFunction" />
260
306
<h3 class="fn"><a name="pixmapFunction"></a><a href="qstring.html">QString</a> QDesignerFormWindowInterface::pixmapFunction () const <tt> [pure virtual]</tt></h3>
261
307
<p>Returns the name of the function used to load pixmaps into the form window.</p>
262
308
<p>See also <a href="qdesignerformwindowinterface.html#setPixmapFunction">setPixmapFunction</a>().</p>
309
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/removeResourceFile" />
263
310
<h3 class="fn"><a name="removeResourceFile"></a>void QDesignerFormWindowInterface::removeResourceFile ( const <a href="qstring.html">QString</a> & <i>path</i> ) <tt> [pure virtual]</tt></h3>
264
311
<p>Removes the resource file at the specified <i>path</i> from the list of those used by the form.</p>
265
312
<p>See also <a href="qdesignerformwindowinterface.html#resourceFiles">resourceFiles</a>() and <a href="qdesignerformwindowinterface.html#resourceFilesChanged">resourceFilesChanged</a>().</p>
313
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/resourceFiles" />
266
314
<h3 class="fn"><a name="resourceFiles"></a><a href="qstringlist.html">QStringList</a> QDesignerFormWindowInterface::resourceFiles () const <tt> [pure virtual]</tt></h3>
267
315
<p>Returns a list of paths to resource files that are currently being used by the form window.</p>
268
316
<p>See also <a href="qdesignerformwindowinterface.html#addResourceFile">addResourceFile</a>() and <a href="qdesignerformwindowinterface.html#removeResourceFile">removeResourceFile</a>().</p>
317
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/resourceFilesChanged" />
269
318
<h3 class="fn"><a name="resourceFilesChanged"></a>void QDesignerFormWindowInterface::resourceFilesChanged () <tt> [signal]</tt></h3>
270
319
<p>This signal is emitted whenever the list of resource files used by the form changes.</p>
271
320
<p>See also <a href="qdesignerformwindowinterface.html#resourceFiles">resourceFiles</a>().</p>
321
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/selectWidget" />
272
322
<h3 class="fn"><a name="selectWidget"></a>void QDesignerFormWindowInterface::selectWidget ( <a href="qwidget.html">QWidget</a> * <i>widget</i>, bool <i>select</i> = true ) <tt> [pure virtual slot]</tt></h3>
273
323
<p>If <i>select</i> is true, the given <i>widget</i> is selected; otherwise the <i>widget</i> is deselected.</p>
274
324
<p>See also <a href="qdesignerformwindowinterface.html#clearSelection">clearSelection</a>() and <a href="qdesignerformwindowinterface.html#selectionChanged">selectionChanged</a>().</p>
325
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/selectionChanged" />
275
326
<h3 class="fn"><a name="selectionChanged"></a>void QDesignerFormWindowInterface::selectionChanged () <tt> [signal]</tt></h3>
276
327
<p>This signal is emitted whenever the selection in the form changes.</p>
277
328
<p>See also <a href="qdesignerformwindowinterface.html#selectWidget">selectWidget</a>() and <a href="qdesignerformwindowinterface.html#clearSelection">clearSelection</a>().</p>
329
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setAuthor" />
278
330
<h3 class="fn"><a name="setAuthor"></a>void QDesignerFormWindowInterface::setAuthor ( const <a href="qstring.html">QString</a> & <i>author</i> ) <tt> [pure virtual]</tt></h3>
279
331
<p>Sets the details for the author or creator of the form to the <i>author</i> specified.</p>
280
332
<p>See also <a href="qdesignerformwindowinterface.html#author">author</a>().</p>
333
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setComment" />
281
334
<h3 class="fn"><a name="setComment"></a>void QDesignerFormWindowInterface::setComment ( const <a href="qstring.html">QString</a> & <i>comment</i> ) <tt> [pure virtual]</tt></h3>
282
335
<p>Sets the information about the form to the <i>comment</i> specified. This information should be a human-readable comment about the form.</p>
283
336
<p>See also <a href="qdesignerformwindowinterface.html#comment">comment</a>().</p>
337
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setContents" />
284
338
<h3 class="fn"><a name="setContents"></a>void QDesignerFormWindowInterface::setContents ( <a href="qiodevice.html">QIODevice</a> * <i>device</i> ) <tt> [pure virtual]</tt></h3>
285
339
<p>Sets the form's contents using data obtained from the given <i>device</i>.</p>
286
340
<p>Data can be read from <a href="qfile.html">QFile</a> objects or any other subclass of <a href="qiodevice.html">QIODevice</a>.</p>
288
342
<h3 class="fn"><a name="setContents-2"></a>void QDesignerFormWindowInterface::setContents ( const <a href="qstring.html">QString</a> & <i>contents</i> ) <tt> [pure virtual slot]</tt></h3>
289
343
<p>Sets the contents of the form using data read from the specified <i>contents</i> string.</p>
290
344
<p>See also <a href="qdesignerformwindowinterface.html#contents">contents</a>().</p>
345
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setDirty" />
291
346
<h3 class="fn"><a name="setDirty"></a>void QDesignerFormWindowInterface::setDirty ( bool <i>dirty</i> ) <tt> [pure virtual slot]</tt></h3>
292
347
<p>If <i>dirty</i> is true, the form window is marked as dirty, meaning that it is modified but not saved. If <i>dirty</i> is false, the form window is considered to be unmodified.</p>
293
348
<p>See also <a href="qdesignerformwindowinterface.html#isDirty">isDirty</a>().</p>
349
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setExportMacro" />
294
350
<h3 class="fn"><a name="setExportMacro"></a>void QDesignerFormWindowInterface::setExportMacro ( const <a href="qstring.html">QString</a> & <i>exportMacro</i> ) <tt> [pure virtual]</tt></h3>
295
351
<p>Sets the form window's export macro to <i>exportMacro</i>. The export macro is used when building a widget plugin to export the form's interface to other components.</p>
296
352
<p>See also <a href="qdesignerformwindowinterface.html#exportMacro">exportMacro</a>().</p>
353
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setFeatures" />
297
354
<h3 class="fn"><a name="setFeatures"></a>void QDesignerFormWindowInterface::setFeatures ( <a href="qdesignerformwindowinterface.html#FeatureFlag-enum">Feature</a> <i>features</i> ) <tt> [pure virtual slot]</tt></h3>
298
355
<p>Enables the specified <i>features</i> for the form window.</p>
299
356
<p>See also <a href="qdesignerformwindowinterface.html#features">features</a>() and <a href="qdesignerformwindowinterface.html#featureChanged">featureChanged</a>().</p>
357
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setFileName" />
300
358
<h3 class="fn"><a name="setFileName"></a>void QDesignerFormWindowInterface::setFileName ( const <a href="qstring.html">QString</a> & <i>fileName</i> ) <tt> [pure virtual slot]</tt></h3>
301
359
<p>Sets the file name for the form to the given <i>fileName</i>.</p>
302
360
<p>See also <a href="qdesignerformwindowinterface.html#fileName">fileName</a>() and <a href="qdesignerformwindowinterface.html#fileNameChanged">fileNameChanged</a>().</p>
361
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setGrid" />
303
362
<h3 class="fn"><a name="setGrid"></a>void QDesignerFormWindowInterface::setGrid ( const <a href="qpoint.html">QPoint</a> & <i>grid</i> ) <tt> [pure virtual slot]</tt></h3>
304
363
<p>Sets the grid size for the form window to the point specified by <i>grid</i>. In this function, the coordinates in the <a href="qpoint.html">QPoint</a> are used to specify the dimensions of a rectangle in the grid.</p>
305
364
<p>See also <a href="qdesignerformwindowinterface.html#grid">grid</a>().</p>
365
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setIncludeHints" />
306
366
<h3 class="fn"><a name="setIncludeHints"></a>void QDesignerFormWindowInterface::setIncludeHints ( const <a href="qstringlist.html">QStringList</a> & <i>includeHints</i> ) <tt> [pure virtual]</tt></h3>
307
<p>Sets the header files that will be included in the form window's associated <tt>.ui</tt> file to the specified <i>includeHints</i>.</p>
308
<p>Header files may be local, i.e. relative to the project's directory,<tt>"mywidget.h"</tt>, or global, i.e. part of Qt or the compilers standard libraries:<tt><QtGui/QWidget></tt>.</p>
367
<p>Sets the header files that will be included in the form window's associated UI file to the specified <i>includeHints</i>.</p>
368
<p>Header files may be local, i.e. relative to the project's directory, <tt>"mywidget.h"</tt>, or global, i.e. part of Qt or the compilers standard libraries: <tt><QtGui/QWidget></tt>.</p>
309
369
<p>See also <a href="qdesignerformwindowinterface.html#includeHints">includeHints</a>().</p>
370
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setLayoutDefault" />
310
371
<h3 class="fn"><a name="setLayoutDefault"></a>void QDesignerFormWindowInterface::setLayoutDefault ( int <i>margin</i>, int <i>spacing</i> ) <tt> [pure virtual]</tt></h3>
311
372
<p>Sets the default <i>margin</i> and <i>spacing</i> for the form's layout.</p>
312
373
<p>See also <a href="qdesignerformwindowinterface.html#layoutDefault">layoutDefault</a>().</p>
374
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setLayoutFunction" />
313
375
<h3 class="fn"><a name="setLayoutFunction"></a>void QDesignerFormWindowInterface::setLayoutFunction ( const <a href="qstring.html">QString</a> & <i>margin</i>, const <a href="qstring.html">QString</a> & <i>spacing</i> ) <tt> [pure virtual]</tt></h3>
314
376
<p>Sets the <i>margin</i> and <i>spacing</i> for the form's layout.</p>
315
377
<p>The default layout properties will be replaced by the corresponding layout functions when <tt>uic</tt> generates code for the form, that is, if the functions are specified. This is useful when different environments requires different layouts for the same form.</p>
316
378
<p>See also <a href="qdesignerformwindowinterface.html#layoutFunction">layoutFunction</a>().</p>
379
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setMainContainer" />
317
380
<h3 class="fn"><a name="setMainContainer"></a>void QDesignerFormWindowInterface::setMainContainer ( <a href="qwidget.html">QWidget</a> * <i>mainContainer</i> ) <tt> [pure virtual]</tt></h3>
318
381
<p>Sets the main container widget on the form to the specified <i>mainContainer</i>.</p>
319
382
<p>See also <a href="qdesignerformwindowinterface.html#mainContainer">mainContainer</a>() and <a href="qdesignerformwindowinterface.html#mainContainerChanged">mainContainerChanged</a>().</p>
383
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/setPixmapFunction" />
320
384
<h3 class="fn"><a name="setPixmapFunction"></a>void QDesignerFormWindowInterface::setPixmapFunction ( const <a href="qstring.html">QString</a> & <i>pixmapFunction</i> ) <tt> [pure virtual]</tt></h3>
321
385
<p>Sets the function used to load pixmaps into the form window to the given <i>pixmapFunction</i>.</p>
322
386
<p>See also <a href="qdesignerformwindowinterface.html#pixmapFunction">pixmapFunction</a>().</p>
387
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/unmanageWidget" />
323
388
<h3 class="fn"><a name="unmanageWidget"></a>void QDesignerFormWindowInterface::unmanageWidget ( <a href="qwidget.html">QWidget</a> * <i>widget</i> ) <tt> [pure virtual slot]</tt></h3>
324
389
<p>Instructs the form window not to manage the specified <i>widget</i>.</p>
325
390
<p>See also <a href="qdesignerformwindowinterface.html#aboutToUnmanageWidget">aboutToUnmanageWidget</a>() and <a href="qdesignerformwindowinterface.html#widgetUnmanaged">widgetUnmanaged</a>().</p>
391
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/widgetManaged" />
326
392
<h3 class="fn"><a name="widgetManaged"></a>void QDesignerFormWindowInterface::widgetManaged ( <a href="qwidget.html">QWidget</a> * <i>widget</i> ) <tt> [signal]</tt></h3>
327
393
<p>This signal is emitted whenever a widget on the form becomes managed. The newly managed widget is specified by <i>widget</i>.</p>
328
394
<p>See also <a href="qdesignerformwindowinterface.html#manageWidget">manageWidget</a>().</p>
395
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/widgetRemoved" />
329
396
<h3 class="fn"><a name="widgetRemoved"></a>void QDesignerFormWindowInterface::widgetRemoved ( <a href="qwidget.html">QWidget</a> * <i>widget</i> ) <tt> [signal]</tt></h3>
330
397
<p>This signal is emitted whenever a widget is removed from the form. The widget that was removed is specified by <i>widget</i>.</p>
398
<a name="//apple_ref/cpp/instm/QDesignerFormWindowInterface/widgetUnmanaged" />
331
399
<h3 class="fn"><a name="widgetUnmanaged"></a>void QDesignerFormWindowInterface::widgetUnmanaged ( <a href="qwidget.html">QWidget</a> * <i>widget</i> ) <tt> [signal]</tt></h3>
332
400
<p>This signal is emitted whenever a widget on the form becomes unmanaged. The newly released widget is specified by <i>widget</i>.</p>
333
401
<p>See also <a href="qdesignerformwindowinterface.html#unmanageWidget">unmanageWidget</a>() and <a href="qdesignerformwindowinterface.html#aboutToUnmanageWidget">aboutToUnmanageWidget</a>().</p>
334
402
<p /><address><hr /><div align="center">
335
403
<table width="100%" cellspacing="0" border="0"><tr class="address">
336
<td width="30%" align="left">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
337
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
338
<td width="30%" align="right"><div align="right">Qt 4.5.2</div></td>
339
</tr></table></div></address></body>
404
<td width="40%" align="left">Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
405
<td width="20%" align="center"><a href="trademarks.html">Trademarks</a></td>
406
<td width="40%" align="right"><div align="right">Qt 4.6.0</div></td>
407
<script type="text/javascript" src="http://www.google.com/jsapi"></script><script type="text/javascript">google.load("elements", "1", {packages: "transliteration"});</script><script type="text/javascript" src="http://www.google.com/coop/cse/t13n?form=cse-search-box&t13n_langs=en"></script><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></tr></table></div></address></body>