diff options
Diffstat (limited to 'doc/html/tqmainwindow.html')
-rw-r--r-- | doc/html/tqmainwindow.html | 144 |
1 files changed, 72 insertions, 72 deletions
diff --git a/doc/html/tqmainwindow.html b/doc/html/tqmainwindow.html index a24bc8e6d..932fc1d3c 100644 --- a/doc/html/tqmainwindow.html +++ b/doc/html/tqmainwindow.html @@ -52,8 +52,8 @@ bar. <li class=fn>virtual void <a href="#setDockEnabled-2"><b>setDockEnabled</b></a> ( TQDockWindow * dw, Dock dock, bool enable )</li> <li class=fn>bool <a href="#isDockEnabled-3"><b>isDockEnabled</b></a> ( TQDockWindow * tb, Dock dock ) const</li> <li class=fn>bool <a href="#isDockEnabled-4"><b>isDockEnabled</b></a> ( TQDockWindow * dw, TQDockArea * area ) const</li> -<li class=fn>virtual void <a href="#addDockWindow"><b>addDockWindow</b></a> ( TQDockWindow * dockWindow, Dock edge = DockTop, bool newLine = FALSE )</li> -<li class=fn>virtual void <a href="#addDockWindow-2"><b>addDockWindow</b></a> ( TQDockWindow * dockWindow, const TQString & label, Dock edge = DockTop, bool newLine = FALSE )</li> +<li class=fn>virtual void <a href="#addDockWindow"><b>addDockWindow</b></a> ( TQDockWindow * dockWindow, Dock edge = DockTop, bool newLine = false )</li> +<li class=fn>virtual void <a href="#addDockWindow-2"><b>addDockWindow</b></a> ( TQDockWindow * dockWindow, const TQString & label, Dock edge = DockTop, bool newLine = false )</li> <li class=fn>virtual void <a href="#moveDockWindow"><b>moveDockWindow</b></a> ( TQDockWindow * dockWindow, Dock edge = DockTop )</li> <li class=fn>virtual void <a href="#moveDockWindow-2"><b>moveDockWindow</b></a> ( TQDockWindow * dockWindow, Dock edge, bool nl, int index, int extraOffset = -1 )</li> <li class=fn>virtual void <a href="#removeDockWindow"><b>removeDockWindow</b></a> ( TQDockWindow * dockWindow )</li> @@ -65,17 +65,17 @@ bar. <li class=fn>bool <a href="#getLocation"><b>getLocation</b></a> ( TQDockWindow * dw, Dock & dock, int & index, bool & nl, int & extraOffset ) const</li> <li class=fn>TQPtrList<TQDockWindow> <a href="#dockWindows"><b>dockWindows</b></a> ( Dock dock ) const</li> <li class=fn>TQPtrList<TQDockWindow> <a href="#dockWindows-2"><b>dockWindows</b></a> () const</li> -<li class=fn>void <a href="#lineUpDockWindows"><b>lineUpDockWindows</b></a> ( bool keepNewLines = FALSE )</li> +<li class=fn>void <a href="#lineUpDockWindows"><b>lineUpDockWindows</b></a> ( bool keepNewLines = false )</li> <li class=fn>bool <a href="#isDockMenuEnabled"><b>isDockMenuEnabled</b></a> () const</li> <li class=fn>bool <a href="#hasDockWindow"><b>hasDockWindow</b></a> ( TQDockWindow * dw )</li> -<li class=fn>void addToolBar ( TQDockWindow *, Dock = DockTop, bool newLine = FALSE ) <em>(obsolete)</em></li> -<li class=fn>void addToolBar ( TQDockWindow *, const TQString & label, Dock = DockTop, bool newLine = FALSE ) <em>(obsolete)</em></li> +<li class=fn>void addToolBar ( TQDockWindow *, Dock = DockTop, bool newLine = false ) <em>(obsolete)</em></li> +<li class=fn>void addToolBar ( TQDockWindow *, const TQString & label, Dock = DockTop, bool newLine = false ) <em>(obsolete)</em></li> <li class=fn>void moveToolBar ( TQDockWindow *, Dock = DockTop ) <em>(obsolete)</em></li> <li class=fn>void moveToolBar ( TQDockWindow *, Dock, bool nl, int index, int extraOffset = -1 ) <em>(obsolete)</em></li> <li class=fn>void removeToolBar ( TQDockWindow * ) <em>(obsolete)</em></li> <li class=fn>bool toolBarsMovable () const <em>(obsolete)</em></li> <li class=fn>TQPtrList<TQToolBar> <a href="#toolBars"><b>toolBars</b></a> ( Dock dock ) const</li> -<li class=fn>void lineUpToolBars ( bool keepNewLines = FALSE ) <em>(obsolete)</em></li> +<li class=fn>void lineUpToolBars ( bool keepNewLines = false ) <em>(obsolete)</em></li> <li class=fn>TQDockArea * <a href="#leftDock"><b>leftDock</b></a> () const</li> <li class=fn>TQDockArea * <a href="#rightDock"><b>rightDock</b></a> () const</li> <li class=fn>TQDockArea * <a href="#topDock"><b>topDock</b></a> () const</li> @@ -327,7 +327,7 @@ Movable dock windows can be lined up to minimize wasted space with <a href="#lineUpDockWindows">lineUpDockWindows</a>(). Pointers to the dock areas are available from <a href="#topDock">topDock</a>(), <a href="#leftDock">leftDock</a>(), <a href="#rightDock">rightDock</a>() and <a href="#bottomDock">bottomDock</a>(). A customize menu item is added to the pop up dock window menu if -<a href="#isCustomizable">isCustomizable</a>() returns TRUE; it returns FALSE by default. +<a href="#isCustomizable">isCustomizable</a>() returns true; it returns false by default. Reimplement isCustomizable() and <a href="#customize">customize</a>() if you want to offer this extra menu item, for example, to allow the user to change settings relating to the main window and its toolbars and dock @@ -338,12 +338,12 @@ widget inside its own movable dock window and restrict this dock window to only live within the <a href="tqt.html#Dock-enum">Top</a> or <a href="tqt.html#Dock-enum">Bottom</a> dock: <p> <pre> <a href="tqtoolbar.html">TQToolBar</a> *tb = new <a href="tqtoolbar.html">TQToolBar</a>( this ); - <a href="#addDockWindow">addDockWindow</a>( tb, tr( "Menubar" ), Top, FALSE ); + <a href="#addDockWindow">addDockWindow</a>( tb, tr( "Menubar" ), Top, false ); <a href="tqmenubar.html">TQMenuBar</a> *mb = new <a href="tqmenubar.html">TQMenuBar</a>( tb ); mb-><a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::NoFrame ); tb-><a href="tqtoolbar.html#setStretchableWidget">setStretchableWidget</a>( mb ); - <a href="#setDockEnabled">setDockEnabled</a>( tb, Left, FALSE ); - <a href="#setDockEnabled">setDockEnabled</a>( tb, Right, FALSE ); + <a href="#setDockEnabled">setDockEnabled</a>( tb, Left, false ); + <a href="#setDockEnabled">setDockEnabled</a>( tb, Right, false ); </pre> <p> An application with multiple dock windows can choose to save the @@ -414,46 +414,46 @@ TQMainWindow to be a top level widget then you will need to set <em>f</em> to 0. </h3> Destroys the object and frees any allocated resources. -<h3 class=fn>void <a name="addDockWindow"></a>TQMainWindow::addDockWindow ( <a href="tqdockwindow.html">TQDockWindow</a> * dockWindow, <a href="tqt.html#Dock-enum">Dock</a> edge = DockTop, bool newLine = FALSE )<tt> [virtual]</tt> +<h3 class=fn>void <a name="addDockWindow"></a>TQMainWindow::addDockWindow ( <a href="tqdockwindow.html">TQDockWindow</a> * dockWindow, <a href="tqt.html#Dock-enum">Dock</a> edge = DockTop, bool newLine = false )<tt> [virtual]</tt> </h3> Adds <em>dockWindow</em> to the <em>edge</em> dock area. -<p> If <em>newLine</em> is FALSE (the default) then the <em>dockWindow</em> is +<p> If <em>newLine</em> is false (the default) then the <em>dockWindow</em> is added at the end of the <em>edge</em>. For vertical edges the end is at the bottom, for horizontal edges (including <a href="tqt.html#Dock-enum">Minimized</a>) the end -is at the right. If <em>newLine</em> is TRUE a new line of dock windows +is at the right. If <em>newLine</em> is true a new line of dock windows is started with <em>dockWindow</em> as the first (left-most and top-most) dock window. <p> If <em>dockWindow</em> is managed by another main window, it is first removed from that window. -<h3 class=fn>void <a name="addDockWindow-2"></a>TQMainWindow::addDockWindow ( <a href="tqdockwindow.html">TQDockWindow</a> * dockWindow, const <a href="tqstring.html">TQString</a> & label, <a href="tqt.html#Dock-enum">Dock</a> edge = DockTop, bool newLine = FALSE )<tt> [virtual]</tt> +<h3 class=fn>void <a name="addDockWindow-2"></a>TQMainWindow::addDockWindow ( <a href="tqdockwindow.html">TQDockWindow</a> * dockWindow, const <a href="tqstring.html">TQString</a> & label, <a href="tqt.html#Dock-enum">Dock</a> edge = DockTop, bool newLine = false )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Adds <em>dockWindow</em> to the dock area with label <em>label</em>. -<p> If <em>newLine</em> is FALSE (the default) the <em>dockWindow</em> is added at +<p> If <em>newLine</em> is false (the default) the <em>dockWindow</em> is added at the end of the <em>edge</em>. For vertical edges the end is at the bottom, for horizontal edges (including <a href="tqt.html#Dock-enum">Minimized</a>) the end is -at the right. If <em>newLine</em> is TRUE a new line of dock windows is +at the right. If <em>newLine</em> is true a new line of dock windows is started with <em>dockWindow</em> as the first (left-most and top-most) dock window. <p> If <em>dockWindow</em> is managed by another main window, it is first removed from that window. -<h3 class=fn>void <a name="addToolBar"></a>TQMainWindow::addToolBar ( <a href="tqdockwindow.html">TQDockWindow</a> *, <a href="tqt.html#Dock-enum">Dock</a> = DockTop, bool newLine = FALSE ) +<h3 class=fn>void <a name="addToolBar"></a>TQMainWindow::addToolBar ( <a href="tqdockwindow.html">TQDockWindow</a> *, <a href="tqt.html#Dock-enum">Dock</a> = DockTop, bool newLine = false ) </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> -<h3 class=fn>void <a name="addToolBar-2"></a>TQMainWindow::addToolBar ( <a href="tqdockwindow.html">TQDockWindow</a> *, const <a href="tqstring.html">TQString</a> & label, <a href="tqt.html#Dock-enum">Dock</a> = DockTop, bool newLine = FALSE ) +<h3 class=fn>void <a name="addToolBar-2"></a>TQMainWindow::addToolBar ( <a href="tqdockwindow.html">TQDockWindow</a> *, const <a href="tqstring.html">TQString</a> & label, <a href="tqt.html#Dock-enum">Dock</a> = DockTop, bool newLine = false ) </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <h3 class=fn>bool <a name="appropriate"></a>TQMainWindow::appropriate ( <a href="tqdockwindow.html">TQDockWindow</a> * dw ) const </h3> -Returns TRUE if it is appropriate to include a menu item for the +Returns true if it is appropriate to include a menu item for the <em>dw</em> dock window in the dock window menu; otherwise returns -FALSE. +false. <p> The user is able to change the state (show or hide) a dock window that has a menu item by clicking the item. <p> Call <a href="#setAppropriate">setAppropriate</a>() to indicate whether or not a particular dock @@ -484,7 +484,7 @@ Creates the dock window menu which contains all toolbars (if <em>dockWindows</em <em>dockWindows</em> is <a href="#DockWindows-enum">AllDockWindows</a> - the default). <p> This function is called internally when necessary, e.g. when the user right clicks a dock area (providing <a href="#isDockMenuEnabled">isDockMenuEnabled</a>() -returns TRUE). +returns true). <p> The menu items representing the toolbars and dock windows are checkable. The visible dock windows are checked and the hidden @@ -494,9 +494,9 @@ change its state (show or hide the dock window). <p> Toolbars and dock windows which are not appropriate in the current context (see <a href="#setAppropriate">setAppropriate</a>()) are not listed in the menu. <p> The menu also has a menu item for lining up the dock windows. -<p> If <a href="#isCustomizable">isCustomizable</a>() returns TRUE, a Customize menu item is added +<p> If <a href="#isCustomizable">isCustomizable</a>() returns true, a Customize menu item is added to the menu, which if clicked will call <a href="#customize">customize</a>(). The -isCustomizable() function we provide returns FALSE and customize() +isCustomizable() function we provide returns false and customize() does nothing, so they must be reimplemented in a subclass to be useful. @@ -505,14 +505,14 @@ useful. This function is called when the user clicks the Customize menu item on the dock window menu. <p> The customize menu item will only appear if <a href="#isCustomizable">isCustomizable</a>() -returns TRUE (it returns FALSE by default). +returns true (it returns false by default). <p> The function is intended, for example, to provide the user with a means of telling the application that they wish to customize the main window, dock windows or dock areas. <p> The default implementation does nothing and the Customize menu item is not shown on the right-click menu by default. If you want the item to appear then reimplement isCustomizable() to return -TRUE, and reimplement this function to do whatever you want. +true, and reimplement this function to do whatever you want. <p> <p>See also <a href="#isCustomizable">isCustomizable</a>(). <h3 class=fn>void <a name="dockWindowPositionChanged"></a>TQMainWindow::dockWindowPositionChanged ( <a href="tqdockwindow.html">TQDockWindow</a> * dockWindow )<tt> [signal]</tt> @@ -540,18 +540,18 @@ regardless of which dock area they are in or what their state is, (e.g. irrespective of whether they are visible or not). <h3 class=fn>bool <a name="dockWindowsMovable"></a>TQMainWindow::dockWindowsMovable () const -</h3><p>Returns TRUE if the dock windows are movable; otherwise returns FALSE. +</h3><p>Returns true if the dock windows are movable; otherwise returns false. See the <a href="tqmainwindow.html#dockWindowsMovable-prop">"dockWindowsMovable"</a> property for details. <h3 class=fn>bool <a name="getLocation"></a>TQMainWindow::getLocation ( <a href="tqdockwindow.html">TQDockWindow</a> * dw, <a href="tqt.html#Dock-enum">Dock</a> & dock, int & index, bool & nl, int & extraOffset ) const </h3> Finds the location of the dock window <em>dw</em>. <p> If the <em>dw</em> dock window is found in the main window the function -returns TRUE and populates the <em>dock</em> variable with the dw's dock +returns true and populates the <em>dock</em> variable with the dw's dock area and the <em>index</em> with the dw's position within the dock area. -It also sets <em>nl</em> to TRUE if the <em>dw</em> begins a new line -(otherwise FALSE), and <em>extraOffset</em> with the dock window's offset. +It also sets <em>nl</em> to true if the <em>dw</em> begins a new line +(otherwise false), and <em>extraOffset</em> with the dock window's offset. <p> If the <em>dw</em> dock window is not found then the function returns -FALSE and the state of <em>dock</em>, <em>index</em>, <em>nl</em> and <em>extraOffset</em> +false and the state of <em>dock</em>, <em>index</em>, <em>nl</em> and <em>extraOffset</em> is undefined. <p> If you want to save and restore dock window positions then use <a href="#operator-gt-gt">operator>></a>() and <a href="#operator-lt-lt">operator<<</a>(). @@ -559,54 +559,54 @@ is undefined. <h3 class=fn>bool <a name="hasDockWindow"></a>TQMainWindow::hasDockWindow ( <a href="tqdockwindow.html">TQDockWindow</a> * dw ) </h3> -Returns TRUE if <em>dw</em> is a dock window known to the main window; -otherwise returns FALSE. +Returns true if <em>dw</em> is a dock window known to the main window; +otherwise returns false. <h3 class=fn>bool <a name="isCustomizable"></a>TQMainWindow::isCustomizable () const<tt> [virtual]</tt> </h3> -Returns TRUE if the dock area dock window menu includes the +Returns true if the dock area dock window menu includes the Customize menu item (which calls <a href="#customize">customize</a>() when clicked). -Returns FALSE by default, i.e. the popup menu will not contain a +Returns false by default, i.e. the popup menu will not contain a Customize menu item. You will need to reimplement this function -and set it to return TRUE if you wish the user to be able to see +and set it to return true if you wish the user to be able to see the dock window menu. <p> <p>See also <a href="#customize">customize</a>(). <h3 class=fn>bool <a name="isDockEnabled"></a>TQMainWindow::isDockEnabled ( <a href="tqt.html#Dock-enum">Dock</a> dock ) const </h3> -Returns TRUE if the <em>dock</em> dock area is enabled, i.e. it can -accept user dragged dock windows; otherwise returns FALSE. +Returns true if the <em>dock</em> dock area is enabled, i.e. it can +accept user dragged dock windows; otherwise returns false. <p> <p>See also <a href="#setDockEnabled">setDockEnabled</a>(). <h3 class=fn>bool <a name="isDockEnabled-2"></a>TQMainWindow::isDockEnabled ( <a href="tqdockarea.html">TQDockArea</a> * area ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Returns TRUE if dock area <em>area</em> is enabled, i.e. it can accept -user dragged dock windows; otherwise returns FALSE. +<p> Returns true if dock area <em>area</em> is enabled, i.e. it can accept +user dragged dock windows; otherwise returns false. <p> <p>See also <a href="#setDockEnabled">setDockEnabled</a>(). <h3 class=fn>bool <a name="isDockEnabled-3"></a>TQMainWindow::isDockEnabled ( <a href="tqdockwindow.html">TQDockWindow</a> * tb, <a href="tqt.html#Dock-enum">Dock</a> dock ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Returns TRUE if dock area <em>dock</em> is enabled for the dock window -<em>tb</em>; otherwise returns FALSE. +<p> Returns true if dock area <em>dock</em> is enabled for the dock window +<em>tb</em>; otherwise returns false. <p> <p>See also <a href="#setDockEnabled">setDockEnabled</a>(). <h3 class=fn>bool <a name="isDockEnabled-4"></a>TQMainWindow::isDockEnabled ( <a href="tqdockwindow.html">TQDockWindow</a> * dw, <a href="tqdockarea.html">TQDockArea</a> * area ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> Returns TRUE if dock area <em>area</em> is enabled for the dock window -<em>dw</em>; otherwise returns FALSE. +<p> Returns true if dock area <em>area</em> is enabled for the dock window +<em>dw</em>; otherwise returns false. <p> <p>See also <a href="#setDockEnabled">setDockEnabled</a>(). <h3 class=fn>bool <a name="isDockMenuEnabled"></a>TQMainWindow::isDockMenuEnabled () const </h3> -Returns TRUE, if the dock window menu is enabled; otherwise -returns FALSE. +Returns true, if the dock window menu is enabled; otherwise +returns false. <p> The menu lists the (<a href="#appropriate">appropriate</a>()) dock windows (which may be shown or hidden), and has a "Line Up Dock Windows" menu item. It will also have a "Customize" menu item if <a href="#isCustomizable">isCustomizable</a>() returns -TRUE. +true. <p> <p>See also <a href="#setDockEnabled">setDockEnabled</a>(), <a href="#lineUpDockWindows">lineUpDockWindows</a>(), <a href="#appropriate">appropriate</a>(), and <a href="#setAppropriate">setAppropriate</a>(). <h3 class=fn><a href="tqdockarea.html">TQDockArea</a> * <a name="leftDock"></a>TQMainWindow::leftDock () const @@ -614,17 +614,17 @@ TRUE. Returns the <a href="tqt.html#Dock-enum">Left</a> dock area <p> <p>See also <a href="#rightDock">rightDock</a>(), <a href="#topDock">topDock</a>(), and <a href="#bottomDock">bottomDock</a>(). -<h3 class=fn>void <a name="lineUpDockWindows"></a>TQMainWindow::lineUpDockWindows ( bool keepNewLines = FALSE ) +<h3 class=fn>void <a name="lineUpDockWindows"></a>TQMainWindow::lineUpDockWindows ( bool keepNewLines = false ) </h3> This function will line up dock windows within the visible dock areas (<a href="tqt.html#Dock-enum">Top</a>, <a href="tqt.html#Dock-enum">Left</a>, <a href="tqt.html#Dock-enum">Right</a> and <a href="tqt.html#Dock-enum">Bottom</a>) as compactly as possible. -<p> If <em>keepNewLines</em> is TRUE, all dock windows stay on their -original lines. If <em>keepNewLines</em> is FALSE then newlines may be +<p> If <em>keepNewLines</em> is true, all dock windows stay on their +original lines. If <em>keepNewLines</em> is false then newlines may be removed to achieve the most compact layout possible. -<p> The method only works if <a href="#dockWindowsMovable">dockWindowsMovable</a>() returns TRUE. +<p> The method only works if <a href="#dockWindowsMovable">dockWindowsMovable</a>() returns true. -<h3 class=fn>void <a name="lineUpToolBars"></a>TQMainWindow::lineUpToolBars ( bool keepNewLines = FALSE ) +<h3 class=fn>void <a name="lineUpToolBars"></a>TQMainWindow::lineUpToolBars ( bool keepNewLines = false ) </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> @@ -659,7 +659,7 @@ area. <p> Any dock windows with positions <em>index</em> or higher have their position number incremented and any of these on the same line are moved right (down for vertical dock areas) to make room. -<p> If <em>nl</em> is TRUE, a new dock window line is created below the line +<p> If <em>nl</em> is true, a new dock window line is created below the line in which the moved dock window appears and the moved dock window, with any others with higher positions on the same line, is moved to this new line. @@ -681,7 +681,7 @@ removed from that window. <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> <h3 class=fn>bool <a name="opaqueMoving"></a>TQMainWindow::opaqueMoving () const -</h3><p>Returns TRUE if dock windows are moved opaquely; otherwise returns FALSE. +</h3><p>Returns true if dock windows are moved opaquely; otherwise returns false. See the <a href="tqmainwindow.html#opaqueMoving-prop">"opaqueMoving"</a> property for details. <h3 class=fn>void <a name="pixmapSizeChanged"></a>TQMainWindow::pixmapSizeChanged ( bool )<tt> [signal]</tt> </h3> @@ -708,18 +708,18 @@ Returns the <a href="tqt.html#Dock-enum">Right</a> dock area <p> <p>See also <a href="#leftDock">leftDock</a>(), <a href="#topDock">topDock</a>(), and <a href="#bottomDock">bottomDock</a>(). <h3 class=fn>bool <a name="rightJustification"></a>TQMainWindow::rightJustification () const -</h3><p>Returns TRUE if the main window right-justifies its dock windows; otherwise returns FALSE. +</h3><p>Returns true if the main window right-justifies its dock windows; otherwise returns false. See the <a href="tqmainwindow.html#rightJustification-prop">"rightJustification"</a> property for details. <h3 class=fn>void <a name="setAppropriate"></a>TQMainWindow::setAppropriate ( <a href="tqdockwindow.html">TQDockWindow</a> * dw, bool a )<tt> [virtual slot]</tt> </h3> Use this function to control whether or not the <em>dw</em> dock window's caption should appear as a menu item on the dock window menu that lists the dock windows. -<p> If <em>a</em> is TRUE then the <em>dw</em> will appear as a menu item on the +<p> If <em>a</em> is true then the <em>dw</em> will appear as a menu item on the dock window menu. The user is able to change the state (show or hide) a dock window that has a menu item by clicking the item; depending on the state of your application, this may or may not be -appropriate. If <em>a</em> is FALSE the <em>dw</em> will not appear on the +appropriate. If <em>a</em> is false the <em>dw</em> will not appear on the popup menu. <p> <p>See also <a href="#showDockMenu">showDockMenu</a>(), <a href="#isCustomizable">isCustomizable</a>(), and <a href="#customize">customize</a>(). @@ -732,15 +732,15 @@ bottom dock areas. The menu bar is above the top dock area. <h3 class=fn>void <a name="setDockEnabled"></a>TQMainWindow::setDockEnabled ( <a href="tqt.html#Dock-enum">Dock</a> dock, bool enable )<tt> [virtual]</tt> </h3> -If <em>enable</em> is TRUE then users can dock windows in the <em>dock</em> -area. If <em>enable</em> is FALSE users cannot dock windows in the <em>dock</em> dock area. +If <em>enable</em> is true then users can dock windows in the <em>dock</em> +area. If <em>enable</em> is false users cannot dock windows in the <em>dock</em> dock area. <p> Users can dock (drag) dock windows into any enabled dock area. <h3 class=fn>void <a name="setDockEnabled-2"></a>TQMainWindow::setDockEnabled ( <a href="tqdockwindow.html">TQDockWindow</a> * dw, <a href="tqt.html#Dock-enum">Dock</a> dock, bool enable )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> If <em>enable</em> is TRUE then users can dock the <em>dw</em> dock window in -the <em>dock</em> area. If <em>enable</em> is FALSE users cannot dock the <em>dw</em> dock window in the <em>dock</em> area. +<p> If <em>enable</em> is true then users can dock the <em>dw</em> dock window in +the <em>dock</em> area. If <em>enable</em> is false users cannot dock the <em>dw</em> dock window in the <em>dock</em> area. <p> In general users can dock (drag) dock windows into any enabled dock area. Using this function particular dock areas can be enabled (or disabled) as docking points for particular dock @@ -748,13 +748,13 @@ windows. <h3 class=fn>void <a name="setDockMenuEnabled"></a>TQMainWindow::setDockMenuEnabled ( bool b )<tt> [virtual slot]</tt> </h3> -If <em>b</em> is TRUE, then right clicking on a dock window or dock area -will pop up the dock window menu. If <em>b</em> is FALSE, right clicking +If <em>b</em> is true, then right clicking on a dock window or dock area +will pop up the dock window menu. If <em>b</em> is false, right clicking a dock window or dock area will not pop up the menu. <p> The menu lists the (<a href="#appropriate">appropriate</a>()) dock windows (which may be shown or hidden), and has a "Line Up Dock Windows" item. It will also have a "Customize" menu item if <a href="#isCustomizable">isCustomizable</a>() returns -TRUE. +true. <p> <p>See also <a href="#lineUpDockWindows">lineUpDockWindows</a>() and <a href="#isDockMenuEnabled">isDockMenuEnabled</a>(). <h3 class=fn>void <a name="setDockWindowsMovable"></a>TQMainWindow::setDockWindowsMovable ( bool )<tt> [virtual slot]</tt> @@ -786,8 +786,8 @@ See the <a href="tqmainwindow.html#usesTextLabel-prop">"usesTextLabel"</a> prope </h3> Shows the dock menu at the position <em>globalPos</em>. The menu lists the dock windows so that they can be shown (or hidden), lined up, -and possibly customized. Returns TRUE if the menu is shown; -otherwise returns FALSE. +and possibly customized. Returns true if the menu is shown; +otherwise returns false. <p> If you want a custom menu, reimplement this function. You can create the menu from scratch or call <a href="#createDockWindowMenu">createDockWindowMenu</a>() and modify the result. @@ -831,10 +831,10 @@ Returns the <a href="tqt.html#Dock-enum">Top</a> dock area <p> <p>See also <a href="#bottomDock">bottomDock</a>(), <a href="#leftDock">leftDock</a>(), and <a href="#rightDock">rightDock</a>(). <h3 class=fn>bool <a name="usesBigPixmaps"></a>TQMainWindow::usesBigPixmaps () const -</h3><p>Returns TRUE if big pixmaps are enabled; otherwise returns FALSE. +</h3><p>Returns true if big pixmaps are enabled; otherwise returns false. See the <a href="tqmainwindow.html#usesBigPixmaps-prop">"usesBigPixmaps"</a> property for details. <h3 class=fn>bool <a name="usesTextLabel"></a>TQMainWindow::usesTextLabel () const -</h3><p>Returns TRUE if text labels for toolbar buttons are enabled; otherwise returns FALSE. +</h3><p>Returns true if text labels for toolbar buttons are enabled; otherwise returns false. See the <a href="tqmainwindow.html#usesTextLabel-prop">"usesTextLabel"</a> property for details. <h3 class=fn>void <a name="usesTextLabelChanged"></a>TQMainWindow::usesTextLabelChanged ( bool )<tt> [signal]</tt> </h3> @@ -860,14 +860,14 @@ be used for popup menus, for example: <hr><h2>Property Documentation</h2> <h3 class=fn>bool <a name="dockWindowsMovable-prop"></a>dockWindowsMovable</h3> <p>This property holds whether the dock windows are movable. -<p>If TRUE (the default), the user will be able to move movable dock +<p>If true (the default), the user will be able to move movable dock windows from one TQMainWindow dock area to another, including the <tt>TearOff</tt> area (i.e. where the dock window floats freely as a window in its own right), and the <a href="tqt.html#Dock-enum">Minimized</a> area (where only the dock window's handle is shown below the menu bar). Moveable dock windows can also be moved within TQMainWindow dock areas, i.e. to rearrange them within a dock area. -<p> If FALSE the user will not be able to move any dock windows. +<p> If false the user will not be able to move any dock windows. <p> By default dock windows are moved transparently (i.e. only an outline rectangle is shown during the drag), but this setting can be changed with <a href="#setOpaqueMoving">setOpaqueMoving</a>(). @@ -876,9 +876,9 @@ be changed with <a href="#setOpaqueMoving">setOpaqueMoving</a>(). <p>Set this property's value with <a href="#setDockWindowsMovable">setDockWindowsMovable</a>() and get this property's value with <a href="#dockWindowsMovable">dockWindowsMovable</a>(). <h3 class=fn>bool <a name="opaqueMoving-prop"></a>opaqueMoving</h3> <p>This property holds whether dock windows are moved opaquely. -<p>If TRUE the dock windows of the main window are shown opaquely +<p>If true the dock windows of the main window are shown opaquely (i.e. it shows the toolbar as it looks when docked) whilst it is -being moved. If FALSE (the default) they are shown transparently, +being moved. If false (the default) they are shown transparently, (i.e. as an outline rectangle). <p> <b>Warning:</b> Opaque moving of toolbars and dockwindows is known to have several problems. We recommend avoiding the use of this @@ -900,7 +900,7 @@ right-justify its dock windows. <p>Set this property's value with <a href="#setRightJustification">setRightJustification</a>() and get this property's value with <a href="#rightJustification">rightJustification</a>(). <h3 class=fn>bool <a name="usesBigPixmaps-prop"></a>usesBigPixmaps</h3> <p>This property holds whether big pixmaps are enabled. -<p>If FALSE (the default), the tool buttons will use small pixmaps; +<p>If false (the default), the tool buttons will use small pixmaps; otherwise big pixmaps will be used. <p> Tool buttons and other widgets that wish to respond to this setting are responsible for reading the correct state on startup, |