diff options
Diffstat (limited to 'doc/html/ntqdockwindow.html')
-rw-r--r-- | doc/html/ntqdockwindow.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/ntqdockwindow.html b/doc/html/ntqdockwindow.html index df2517ef4..8d18a0987 100644 --- a/doc/html/ntqdockwindow.html +++ b/doc/html/ntqdockwindow.html @@ -37,7 +37,7 @@ desktop. <a href="#details">More...</a> <p><tt>#include <<a href="qdockwindow-h.html">ntqdockwindow.h</a>></tt> <p>Inherits <a href="ntqframe.html">TQFrame</a>. -<p>Inherited by <a href="ntqtoolbar.html">TQToolBar</a>. +<p>Inherited by <a href="tqtoolbar.html">TQToolBar</a>. <p><a href="qdockwindow-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -111,10 +111,10 @@ desktop. <p> <p> This class handles moving, resizing, docking and undocking dock -windows. <a href="ntqtoolbar.html">TQToolBar</a> is a subclass of TQDockWindow so the +windows. <a href="tqtoolbar.html">TQToolBar</a> is a subclass of TQDockWindow so the functionality provided for dock windows is available with the same API for toolbars. -<p> <center><img src="qmainwindow-qdockareas.png" alt="TQDockWindows in a TQDockArea"></center> <blockquote><p align="center"><em> Two TQDockWindows (<a href="ntqtoolbar.html">TQToolBar</a>s) in a <a href="ntqdockarea.html">TQDockArea</a> +<p> <center><img src="tqmainwindow-qdockareas.png" alt="TQDockWindows in a TQDockArea"></center> <blockquote><p align="center"><em> Two TQDockWindows (<a href="tqtoolbar.html">TQToolBar</a>s) in a <a href="ntqdockarea.html">TQDockArea</a> </em></p> </blockquote><p> <center><img src="qdockwindow.png" alt="A TQDockWindow"></center> <blockquote><p align="center"><em> A Floating TQDockWindow </em></p> @@ -130,7 +130,7 @@ If the user clicks the close button (which does not appear on dock windows by default - see <a href="#closeMode-prop">closeMode</a>) the dock window will disappear. You can control whether or not a dock window has a close button with <a href="#setCloseMode">setCloseMode</a>(). -<p> <a href="ntqmainwindow.html">TQMainWindow</a> provides four dock areas (top, left, right and bottom) +<p> <a href="tqmainwindow.html">TQMainWindow</a> provides four dock areas (top, left, right and bottom) which can be used by dock windows. For many applications using the dock areas provided by TQMainWindow is sufficient. (See the <a href="ntqdockarea.html">TQDockArea</a> documentation if you want to create your own dock areas.) In TQMainWindow a right-click popup menu (the dock window @@ -141,12 +141,12 @@ have a <a href="tqwidget.html#setCaption">caption</a>.) or a TQMainWindow as its parent if you want it docked. Pass 0 for the parent if you want it floated. <p> <pre> - <a href="ntqtoolbar.html">TQToolBar</a> *fileTools = new <a href="ntqtoolbar.html">TQToolBar</a>( this, "File Actions" ); + <a href="tqtoolbar.html">TQToolBar</a> *fileTools = new <a href="tqtoolbar.html">TQToolBar</a>( this, "File Actions" ); moveDockWindow( fileTools, Left ); </pre> -<p> In the example above we create a new <a href="ntqtoolbar.html">TQToolBar</a> in the constructor -of a <a href="ntqmainwindow.html">TQMainWindow</a> subclass (so that the <em>this</em> pointer points to +<p> In the example above we create a new <a href="tqtoolbar.html">TQToolBar</a> in the constructor +of a <a href="tqmainwindow.html">TQMainWindow</a> subclass (so that the <em>this</em> pointer points to the TQMainWindow). By default the toolbar will be added to the <a href="ntqt.html#Dock-enum">Top</a> dock area, but we've moved it to the <a href="ntqt.html#Dock-enum">Left</a> dock area. <p> A dock window is often used to contain a single widget. In these cases the widget can be set by calling <a href="#setWidget">setWidget</a>(). If you're @@ -171,8 +171,8 @@ level windows, e.g. by dragging a corner or edge. <p> Dock windows can be docked and undocked using <a href="#dock">dock</a>() and <a href="#undock">undock</a>(). A dock window's orientation can be set with setOrientation(). You can also use <a href="ntqdockarea.html#moveDockWindow">TQDockArea::moveDockWindow</a>(). If you're using a -<a href="ntqmainwindow.html">TQMainWindow</a>, <a href="ntqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>() and -<a href="ntqmainwindow.html#removeDockWindow">TQMainWindow::removeDockWindow</a>() are available. +<a href="tqmainwindow.html">TQMainWindow</a>, <a href="tqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>() and +<a href="tqmainwindow.html#removeDockWindow">TQMainWindow::removeDockWindow</a>() are available. <p> A dock window can have some preferred settings, for example, you can set a preferred offset from the left edge (or top edge for vertical dock areas) of the dock area using <a href="#setOffset">setOffset</a>(). If you'd @@ -219,12 +219,12 @@ floating. Constructs a TQDockWindow with parent <em>parent</em>, called <em>name</em> and with widget flags <em>f</em>. <p> If <em>p</em> is <a href="#Place-enum">InDock</a>, the dock window is docked into a dock area -and <em>parent</em> <em>must</em> be a <a href="ntqdockarea.html">TQDockArea</a> or a <a href="ntqmainwindow.html">TQMainWindow</a>. If the <em>parent</em> is a TQMainWindow the dock window will be docked in the main +and <em>parent</em> <em>must</em> be a <a href="ntqdockarea.html">TQDockArea</a> or a <a href="tqmainwindow.html">TQMainWindow</a>. If the <em>parent</em> is a TQMainWindow the dock window will be docked in the main window's <a href="ntqt.html#Dock-enum">Top</a> dock area. <p> If <em>p</em> is <a href="#Place-enum">OutsideDock</a>, the dock window is created as a floating window. <p> We recommend creating the dock area <a href="#Place-enum">InDock</a> with a TQMainWindow -as parent then calling <a href="ntqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>() to move the +as parent then calling <a href="tqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>() to move the dock window where you want it. <h3 class=fn><a name="TQDockWindow-2"></a>TQDockWindow::TQDockWindow ( <a href="tqwidget.html">TQWidget</a> * parent, const char * name = 0, WFlags f = 0 ) @@ -261,10 +261,10 @@ area it was docked in does not exist (e.g. the dock area has been deleted), nothing happens. <p> The dock window will dock with the dock area regardless of the return value of <a href="ntqdockarea.html#isDockWindowAccepted">TQDockArea::isDockWindowAccepted</a>(). -<p> <p>See also <a href="#undock">undock</a>(), <a href="ntqdockarea.html#moveDockWindow">TQDockArea::moveDockWindow</a>(), <a href="ntqdockarea.html#removeDockWindow">TQDockArea::removeDockWindow</a>(), <a href="ntqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>(), <a href="ntqmainwindow.html#removeDockWindow">TQMainWindow::removeDockWindow</a>(), and <a href="ntqdockarea.html#isDockWindowAccepted">TQDockArea::isDockWindowAccepted</a>(). +<p> <p>See also <a href="#undock">undock</a>(), <a href="ntqdockarea.html#moveDockWindow">TQDockArea::moveDockWindow</a>(), <a href="ntqdockarea.html#removeDockWindow">TQDockArea::removeDockWindow</a>(), <a href="tqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>(), <a href="tqmainwindow.html#removeDockWindow">TQMainWindow::removeDockWindow</a>(), and <a href="ntqdockarea.html#isDockWindowAccepted">TQDockArea::isDockWindowAccepted</a>(). <p> -<h3 class=fn><a href="ntqsize.html">TQSize</a> <a name="fixedExtent"></a>TQDockWindow::fixedExtent () const +<h3 class=fn><a href="tqsize.html">TQSize</a> <a name="fixedExtent"></a>TQDockWindow::fixedExtent () const </h3> Returns the dock window's preferred size (fixed extent). <p> <p>See also <a href="#setFixedExtentWidth">setFixedExtentWidth</a>() and <a href="#setFixedExtentHeight">setFixedExtentHeight</a>(). @@ -326,14 +326,14 @@ changed. The new orientation is <em>o</em>. <p> This function returns where the dock window is placed. This is either <a href="#Place-enum">InDock</a> or <a href="#Place-enum">OutsideDock</a>. -<p> <p>See also <a href="ntqdockarea.html#moveDockWindow">TQDockArea::moveDockWindow</a>(), <a href="ntqdockarea.html#removeDockWindow">TQDockArea::removeDockWindow</a>(), <a href="ntqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>(), and <a href="ntqmainwindow.html#removeDockWindow">TQMainWindow::removeDockWindow</a>(). +<p> <p>See also <a href="ntqdockarea.html#moveDockWindow">TQDockArea::moveDockWindow</a>(), <a href="ntqdockarea.html#removeDockWindow">TQDockArea::removeDockWindow</a>(), <a href="tqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>(), and <a href="tqmainwindow.html#removeDockWindow">TQMainWindow::removeDockWindow</a>(). <h3 class=fn>void <a name="placeChanged"></a>TQDockWindow::placeChanged ( <a href="ntqdockwindow.html#Place-enum">TQDockWindow::Place</a> p )<tt> [signal]</tt> </h3> <p> This signal is emitted when the dock window is docked (<em>p</em> is <a href="#Place-enum">InDock</a>), undocked (<em>p</em> is <a href="#Place-enum">OutsideDock</a>) or moved inside the the dock area. -<p> <p>See also <a href="ntqdockarea.html#moveDockWindow">TQDockArea::moveDockWindow</a>(), <a href="ntqdockarea.html#removeDockWindow">TQDockArea::removeDockWindow</a>(), <a href="ntqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>(), and <a href="ntqmainwindow.html#removeDockWindow">TQMainWindow::removeDockWindow</a>(). +<p> <p>See also <a href="ntqdockarea.html#moveDockWindow">TQDockArea::moveDockWindow</a>(), <a href="ntqdockarea.html#removeDockWindow">TQDockArea::removeDockWindow</a>(), <a href="tqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>(), and <a href="tqmainwindow.html#removeDockWindow">TQMainWindow::removeDockWindow</a>(). <h3 class=fn>void <a name="setCloseMode"></a>TQDockWindow::setCloseMode ( int m )<tt> [virtual]</tt> </h3><p>Sets the close mode of a dock window to <em>m</em>. @@ -397,7 +397,7 @@ Sets the dock window's main widget to <em>w</em>. <p> Undocks the TQDockWindow from its current dock area if it is docked; otherwise does nothing. -<p> <p>See also <a href="#dock">dock</a>(), <a href="ntqdockarea.html#moveDockWindow">TQDockArea::moveDockWindow</a>(), <a href="ntqdockarea.html#removeDockWindow">TQDockArea::removeDockWindow</a>(), <a href="ntqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>(), and <a href="ntqmainwindow.html#removeDockWindow">TQMainWindow::removeDockWindow</a>(). +<p> <p>See also <a href="#dock">dock</a>(), <a href="ntqdockarea.html#moveDockWindow">TQDockArea::moveDockWindow</a>(), <a href="ntqdockarea.html#removeDockWindow">TQDockArea::removeDockWindow</a>(), <a href="tqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>(), and <a href="tqmainwindow.html#removeDockWindow">TQMainWindow::removeDockWindow</a>(). <h3 class=fn>void <a name="visibilityChanged"></a>TQDockWindow::visibilityChanged ( bool visible )<tt> [signal]</tt> </h3> @@ -407,7 +407,7 @@ relatively to its dock area is changed. If <em>visible</em> is TRUE, the TQDockWindow is now visible to the dock area, otherwise it has been hidden. <p> A dock window can be hidden if it has a close button which the -user has clicked. In the case of a <a href="ntqmainwindow.html">TQMainWindow</a> a dock window can +user has clicked. In the case of a <a href="tqmainwindow.html">TQMainWindow</a> a dock window can have its visibility changed (hidden or shown) by clicking its name in the dock window menu that lists the TQMainWindow's dock windows. |