diff options
Diffstat (limited to 'doc/html/tqtoolbar.html')
-rw-r--r-- | doc/html/tqtoolbar.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/tqtoolbar.html b/doc/html/tqtoolbar.html index 54077b874..579d290e4 100644 --- a/doc/html/tqtoolbar.html +++ b/doc/html/tqtoolbar.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } widgets such as tool buttons. <a href="#details">More...</a> <p><tt>#include <<a href="tqtoolbar-h.html">tqtoolbar.h</a>></tt> -<p>Inherits <a href="ntqdockwindow.html">TQDockWindow</a>. +<p>Inherits <a href="tqdockwindow.html">TQDockWindow</a>. <p><a href="tqtoolbar-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -64,9 +64,9 @@ widgets such as tool buttons. represented by small icons. It's purpose is to provide quick access to frequently used commands or options. Within a <a href="tqmainwindow.html">TQMainWindow</a> the user can drag toolbars within and between the -<a href="ntqdockarea.html">dock areas</a>. Toolbars can also be dragged +<a href="tqdockarea.html">dock areas</a>. Toolbars can also be dragged out of any dock area to float freely as top-level windows. -<p> TQToolBar is a specialization of <a href="ntqdockwindow.html">TQDockWindow</a>, and so provides all +<p> TQToolBar is a specialization of <a href="tqdockwindow.html">TQDockWindow</a>, and so provides all the functionality of a TQDockWindow. <p> To use TQToolBar you simply create a TQToolBar as a child of a TQMainWindow, create a number of <a href="tqtoolbutton.html">TQToolButton</a> widgets (or other @@ -91,13 +91,13 @@ widget will automatically become visible without needing a <a href="tqwidget.htm call. (This differs from every other TQt widget container. We recommend calling show() anyway since we hope to fix this anomaly in a future release.) -<p> TQToolBars, like TQDockWindows, are located in <a href="ntqdockarea.html">TQDockArea</a>s or +<p> TQToolBars, like TQDockWindows, are located in <a href="tqdockarea.html">TQDockArea</a>s or float as top-level windows. TQMainWindow provides four TQDockAreas (top, left, right and bottom). When you create a new toolbar (as in the example above) as a child of a TQMainWindow the toolbar will be added to the top dock area. You can move it to another dock area (or float it) by calling <a href="tqmainwindow.html#moveDockWindow">TQMainWindow::moveDockWindow</a>(). TQDock -areas lay out their windows in <a href="ntqdockarea.html#lines">Lines</a>. +areas lay out their windows in <a href="tqdockarea.html#lines">Lines</a>. <p> If the main window is resized so that the area occupied by the toolbar is too small to show all its widgets a little arrow button (which looks like a right-pointing chevron, '»') will appear @@ -108,16 +108,16 @@ their textLabel property, other <a href="tqbutton.html">TQButton</a> subclasses using their text property, and TQComboBoxes are represented as submenus, with the caption text being used in the submenu item. <p> Usually a toolbar will get precisely the space it needs. However, -with <a href="ntqdockwindow.html#setHorizontalStretchable">setHorizontalStretchable</a>(), <a href="ntqdockwindow.html#setVerticalStretchable">setVerticalStretchable</a>() or +with <a href="tqdockwindow.html#setHorizontalStretchable">setHorizontalStretchable</a>(), <a href="tqdockwindow.html#setVerticalStretchable">setVerticalStretchable</a>() or <a href="#setStretchableWidget">setStretchableWidget</a>() you can tell the main window to expand the toolbar to fill all available space in the specified orientation. <p> The toolbar arranges its buttons either horizontally or vertically -(see <a href="ntqdockwindow.html#orientation">orientation</a>() for details). Generally, <a href="ntqdockarea.html">TQDockArea</a> will set the +(see <a href="tqdockwindow.html#orientation">orientation</a>() for details). Generally, <a href="tqdockarea.html">TQDockArea</a> will set the orientation correctly for you, but you can set it yourself with -<a href="ntqdockwindow.html#setOrientation">setOrientation</a>() and track any changes by connecting to the -<a href="ntqdockwindow.html#orientationChanged">orientationChanged</a>() signal. +<a href="tqdockwindow.html#setOrientation">setOrientation</a>() and track any changes by connecting to the +<a href="tqdockwindow.html#orientationChanged">orientationChanged</a>() signal. <p> You can use the <a href="#clear">clear</a>() method to remove all items from a toolbar. -<p> <center><img src="qdockwindow.png" alt="Toolbar (dock window)"></center> <blockquote><p align="center"><em> A floating TQToolbar (dock window) +<p> <center><img src="tqdockwindow.png" alt="Toolbar (dock window)"></center> <blockquote><p align="center"><em> A floating TQToolbar (dock window) </em></p> </blockquote><p> <p>See also <a href="tqtoolbutton.html">TQToolButton</a>, <a href="tqmainwindow.html">TQMainWindow</a>, <a href="http://www.iarchitect.com/visual.htm">Parts of Isys on Visual Design</a>, <a href="guibooks.html#fowler">GUI Design Handbook: Tool Bar</a>, and <a href="application.html">Main Window and Related Classes</a>. @@ -133,7 +133,7 @@ Constructs an empty horizontal toolbar. <p> The toolbar is called <em>name</em> and is a child of <em>parent</em> and is managed by <em>mainWindow</em>. The <em>label</em> and <em>newLine</em> parameters are passed straight to <a href="tqmainwindow.html#addDockWindow">TQMainWindow::addDockWindow</a>(). <em>name</em> and -the widget flags <em>f</em> are passed on to the <a href="ntqdockwindow.html">TQDockWindow</a> constructor. +the widget flags <em>f</em> are passed on to the <a href="tqdockwindow.html">TQDockWindow</a> constructor. <p> Use this constructor if you want to create torn-off (undocked, floating) toolbars or toolbars in the <a href="tqstatusbar.html">status bar</a>. @@ -170,11 +170,11 @@ Sets the widget <em>w</em> to be expanded if this toolbar is requested to stretch. <p> The request to stretch might occur because <a href="tqmainwindow.html">TQMainWindow</a> right-justifies the dock area the toolbar is in, or because this -toolbar's <a href="ntqdockwindow.html#isVerticalStretchable">isVerticalStretchable</a>() or <a href="ntqdockwindow.html#isHorizontalStretchable">isHorizontalStretchable</a>() is +toolbar's <a href="tqdockwindow.html#isVerticalStretchable">isVerticalStretchable</a>() or <a href="tqdockwindow.html#isHorizontalStretchable">isHorizontalStretchable</a>() is set to TRUE. <p> If you call this function and the toolbar is not yet stretchable, setStretchable() is called. -<p> <p>See also <a href="tqmainwindow.html#rightJustification-prop">TQMainWindow::rightJustification</a>, <a href="ntqdockwindow.html#setVerticalStretchable">setVerticalStretchable</a>(), and <a href="ntqdockwindow.html#setHorizontalStretchable">setHorizontalStretchable</a>(). +<p> <p>See also <a href="tqmainwindow.html#rightJustification-prop">TQMainWindow::rightJustification</a>, <a href="tqdockwindow.html#setVerticalStretchable">setVerticalStretchable</a>(), and <a href="tqdockwindow.html#setHorizontalStretchable">setHorizontalStretchable</a>(). <p>Examples: <a href="fileiconview-example.html#x896">fileiconview/mainwindow.cpp</a> and <a href="helpviewer-example.html#x1034">helpviewer/helpwindow.cpp</a>. <hr><h2>Property Documentation</h2> |