diff options
Diffstat (limited to 'doc/html/ntqdialog.html')
-rw-r--r-- | doc/html/ntqdialog.html | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/ntqdialog.html b/doc/html/ntqdialog.html index c35bac26b..e2f8a76ca 100644 --- a/doc/html/ntqdialog.html +++ b/doc/html/ntqdialog.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQDialog class is the base class of dialog windows. <a href="#details">More...</a> <p><tt>#include <<a href="qdialog-h.html">ntqdialog.h</a>></tt> -<p>Inherits <a href="ntqwidget.html">TQWidget</a>. +<p>Inherits <a href="tqwidget.html">TQWidget</a>. <p>Inherited by <a href="ntqcolordialog.html">TQColorDialog</a>, <a href="ntqerrormessage.html">TQErrorMessage</a>, <a href="ntqfiledialog.html">TQFileDialog</a>, <a href="ntqfontdialog.html">TQFontDialog</a>, <a href="ntqinputdialog.html">TQInputDialog</a>, <a href="ntqmessagebox.html">TQMessageBox</a>, <a href="qmotifdialog.html">TQMotifDialog</a>, <a href="ntqprogressdialog.html">TQProgressDialog</a>, <a href="ntqtabdialog.html">TQTabDialog</a>, and <a href="ntqwizard.html">TQWizard</a>. <p><a href="qdialog-members.html">List of all member functions.</a> <h2>Public Members</h2> @@ -148,9 +148,9 @@ full dialog that shows all the options. Typically an extensible dialog will initially appear as a partial dialog, but with a "More" toggle button. If the user presses the "More" button down, the full dialog will appear. The extension widget will be resized -to its <a href="ntqwidget.html#sizeHint">sizeHint</a>(). If orientation is <a href="ntqt.html#Orientation-enum">Horizontal</a> the extension -widget's <a href="ntqwidget.html#height">height</a>() will be expanded to the height() of the dialog. -If the orientation is <a href="ntqt.html#Orientation-enum">Vertical</a> the extension widget's <a href="ntqwidget.html#width">width</a>() +to its <a href="tqwidget.html#sizeHint">sizeHint</a>(). If orientation is <a href="ntqt.html#Orientation-enum">Horizontal</a> the extension +widget's <a href="tqwidget.html#height">height</a>() will be expanded to the height() of the dialog. +If the orientation is <a href="ntqt.html#Orientation-enum">Vertical</a> the extension widget's <a href="tqwidget.html#width">width</a>() will be expanded to the width() of the dialog. Extensibility is controlled with <a href="#setExtension">setExtension</a>(), <a href="#setOrientation">setOrientation</a>() and <a href="#showExtension">showExtension</a>(). @@ -173,7 +173,7 @@ dialog is deleted after exec() returns. <pre> <a href="ntqfiledialog.html">TQFileDialog</a> *dlg = new <a href="ntqfiledialog.html">TQFileDialog</a>( workingDirectory, <a href="ntqstring.html#TQString-null">TQString::null</a>, 0, 0, TRUE ); - <a name="x2130"></a> dlg-><a href="ntqwidget.html#setCaption">setCaption</a>( TQFileDialog::<a href="tqobject.html#tr">tr</a>( "Open" ) ); + <a name="x2130"></a> dlg-><a href="tqwidget.html#setCaption">setCaption</a>( TQFileDialog::<a href="tqobject.html#tr">tr</a>( "Open" ) ); <a name="x2128"></a> dlg-><a href="ntqfiledialog.html#setMode">setMode</a>( TQFileDialog::ExistingFile ); <a href="ntqstring.html">TQString</a> result; <a name="x2126"></a> if ( dlg-><a href="#exec">exec</a>() == TQDialog::<a href="#DialogCode-enum">Accepted</a> ) { @@ -193,12 +193,12 @@ event loop. </pre><pre> int scale = 10; </pre><pre> LifeDialog *life = new LifeDialog( scale ); <a name="x2133"></a> a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( life ); - <a name="x2134"></a> life-><a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - Life"); - <a name="x2135"></a> life-><a href="ntqwidget.html#show">show</a>(); + <a name="x2134"></a> life-><a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - Life"); + <a name="x2135"></a> life-><a href="tqwidget.html#show">show</a>(); </pre><pre> <a name="x2132"></a> return a.<a href="ntqapplication.html#exec">exec</a>(); } </pre> -<p> <p>See also <a href="ntqtabdialog.html">TQTabDialog</a>, <a href="ntqwidget.html">TQWidget</a>, <a href="ntqprogressdialog.html">TQProgressDialog</a>, <a href="guibooks.html#fowler">GUI Design Handbook: Dialogs, Standard</a>, <a href="abstractwidgets.html">Abstract Widget Classes</a>, and <a href="dialogs.html">Dialog Classes</a>. +<p> <p>See also <a href="ntqtabdialog.html">TQTabDialog</a>, <a href="tqwidget.html">TQWidget</a>, <a href="ntqprogressdialog.html">TQProgressDialog</a>, <a href="guibooks.html#fowler">GUI Design Handbook: Dialogs, Standard</a>, <a href="abstractwidgets.html">Abstract Widget Classes</a>, and <a href="dialogs.html">Dialog Classes</a>. <hr><h2>Member Type Documentation</h2> <h3 class=fn><a name="DialogCode-enum"></a>TQDialog::DialogCode</h3> @@ -208,13 +208,13 @@ event loop. <li><tt>TQDialog::Rejected</tt> </ul><p> <hr><h2>Member Function Documentation</h2> -<h3 class=fn>explicit <a name="TQDialog"></a>TQDialog::TQDialog ( <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 ) +<h3 class=fn>explicit <a name="TQDialog"></a>TQDialog::TQDialog ( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 ) </h3> Constructs a dialog called <em>name</em>, with parent <em>parent</em>. <p> A dialog is always a top-level widget, but if it has a parent, its default location is centered on top of the parent. It will also share the parent's taskbar entry. -<p> The widget flags <em>f</em> are passed on to the <a href="ntqwidget.html">TQWidget</a> constructor. +<p> The widget flags <em>f</em> are passed on to the <a href="tqwidget.html">TQWidget</a> constructor. If, for example, you don't want a What's This button in the titlebar of the dialog, pass WStyle_Customize | WStyle_NormalBorder | WStyle_Title | WStyle_SysMenu in <em>f</em>. @@ -222,7 +222,7 @@ WStyle_Title | WStyle_SysMenu in <em>f</em>. <a href="#setModal">setModal</a>() function that can be used for obtaining a modal behavior when calling <a href="#show">show</a>(). This is rarely needed, because modal dialogs are usually invoked using <a href="#exec">exec</a>(), which ignores the <em>modal</em> flag. -<p> <p>See also <a href="ntqwidget.html#setWFlags">TQWidget::setWFlags</a>() and <a href="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. +<p> <p>See also <a href="tqwidget.html#setWFlags">TQWidget::setWFlags</a>() and <a href="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>. <h3 class=fn><a name="~TQDialog"></a>TQDialog::~TQDialog () </h3> @@ -238,7 +238,7 @@ Hides the modal dialog and sets the result code to <a href="#DialogCode-enum">Ac </h3> Closes the dialog and sets its result code to <em>r</em>. If this dialog is shown with <a href="#exec">exec</a>(), <a href="#done">done</a>() causes the local event loop to finish, and exec() to return <em>r</em>. -<p> As with <a href="ntqwidget.html#close">TQWidget::close</a>(), done() deletes the dialog if the <a href="ntqt.html#WidgetFlags-enum">WDestructiveClose</a> flag is set. If the dialog is the application's +<p> As with <a href="tqwidget.html#close">TQWidget::close</a>(), done() deletes the dialog if the <a href="ntqt.html#WidgetFlags-enum">WDestructiveClose</a> flag is set. If the dialog is the application's main widget, the application terminates. If the dialog is the last window closed, the <a href="ntqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>() signal is emitted. @@ -253,7 +253,7 @@ application until they close the dialog. <p> <p>See also <a href="#show">show</a>() and <a href="#result">result</a>(). <p>Examples: <a href="canvas-chart-example.html#x2877">chart/chartform.cpp</a>, <a href="motif-dialog-example.html#x2706">dialog/mainwindow.cpp</a>, <a href="i18n-example.html#x1936">i18n/main.cpp</a>, <a href="ftpclient-example.html#x739">network/ftpclient/ftpmainwindow.ui.h</a>, <a href="ntqdialog.html#x2126">network/networkprotocol/view.cpp</a>, <a href="qdir-example.html#x1812">qdir/qdir.cpp</a>, and <a href="wizard-example.html#x16">wizard/main.cpp</a>. -<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="extension"></a>TQDialog::extension () const +<h3 class=fn><a href="tqwidget.html">TQWidget</a> * <a name="extension"></a>TQDialog::extension () const </h3> Returns the dialog's extension or 0 if no extension has been defined. @@ -281,7 +281,7 @@ Hides the modal dialog and sets the result code to <a href="#DialogCode-enum">Re <p> Returns the modal dialog's result code, <a href="#DialogCode-enum">Accepted</a> or <a href="#DialogCode-enum">Rejected</a>. <p> Do not call this function if the dialog was constructed with the <a href="ntqt.html#WidgetFlags-enum">WDestructiveClose</a> flag. -<h3 class=fn>void <a name="setExtension"></a>TQDialog::setExtension ( <a href="ntqwidget.html">TQWidget</a> * extension ) +<h3 class=fn>void <a name="setExtension"></a>TQDialog::setExtension ( <a href="tqwidget.html">TQWidget</a> * extension ) </h3> Sets the widget, <em>extension</em>, to be the dialog's extension, deleting any previous extension. The dialog takes ownership of the @@ -317,7 +317,7 @@ of the <a href="#modal-prop">modal</a> property. <p> <p>See also <a href="#exec">exec</a>() and <a href="#modal-prop">modal</a>. <p>Examples: <a href="movies-example.html#x494">movies/main.cpp</a>, <a href="regexptester-example.html#x2511">regexptester/main.cpp</a>, <a href="showimg-example.html#x1317">showimg/showimg.cpp</a>, and <a href="sql.html#x2220">sql/overview/form1/main.cpp</a>. -<p>Reimplemented from <a href="ntqwidget.html#show">TQWidget</a>. +<p>Reimplemented from <a href="tqwidget.html#show">TQWidget</a>. <h3 class=fn>void <a name="showExtension"></a>TQDialog::showExtension ( bool showIt )<tt> [protected slot]</tt> </h3> If <em>showIt</em> is TRUE, the dialog's extension is shown; otherwise the |