diff options
Diffstat (limited to 'doc/html/qtoolbar.html')
-rw-r--r-- | doc/html/qtoolbar.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/qtoolbar.html b/doc/html/qtoolbar.html index b74ab21..0bf8205 100644 --- a/doc/html/qtoolbar.html +++ b/doc/html/qtoolbar.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="qtoolbar-h.html">qtoolbar.h</a>></tt> -<p>Inherits <a href="qdoctwindow.html">QDockWindow</a>. +<p>Inherits <a href="qdockwindow.html">QDockWindow</a>. <p><a href="qtoolbar-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -66,7 +66,7 @@ access to frequently used commands or options. Within a <a href="qmainwindow.html">QMainWindow</a> the user can drag toolbars within and between the <a href="qdockarea.html">dock areas</a>. Toolbars can also be dragged out of any dock area to float freely as top-level windows. -<p> QToolBar is a specialization of <a href="qdoctwindow.html">QDockWindow</a>, and so provides all +<p> QToolBar is a specialization of <a href="qdockwindow.html">QDockWindow</a>, and so provides all the functionality of a QDockWindow. <p> To use QToolBar you simply create a QToolBar as a child of a QMainWindow, create a number of <a href="qtoolbutton.html">QToolButton</a> widgets (or other @@ -108,16 +108,16 @@ their textLabel property, other <a href="qbutton.html">QButton</a> subclasses ar using their text property, and QComboBoxes 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="qdoctwindow.html#setHorizontalStretchable">setHorizontalStretchable</a>(), <a href="qdoctwindow.html#setVerticalStretchable">setVerticalStretchable</a>() or +with <a href="qdockwindow.html#setHorizontalStretchable">setHorizontalStretchable</a>(), <a href="qdockwindow.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="qdoctwindow.html#orientation">orientation</a>() for details). Generally, <a href="qdockarea.html">QDockArea</a> will set the +(see <a href="qdockwindow.html#orientation">orientation</a>() for details). Generally, <a href="qdockarea.html">QDockArea</a> will set the orientation correctly for you, but you can set it yourself with -<a href="qdoctwindow.html#setOrientation">setOrientation</a>() and track any changes by connecting to the -<a href="qdoctwindow.html#orientationChanged">orientationChanged</a>() signal. +<a href="qdockwindow.html#setOrientation">setOrientation</a>() and track any changes by connecting to the +<a href="qdockwindow.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="qdoctwindow.png" alt="Toolbar (dock window)"></center> <blockquote><p align="center"><em> A floating QToolbar (dock window) +<p> <center><img src="qdockwindow.png" alt="Toolbar (dock window)"></center> <blockquote><p align="center"><em> A floating QToolbar (dock window) </em></p> </blockquote><p> <p>See also <a href="qtoolbutton.html">QToolButton</a>, <a href="qmainwindow.html">QMainWindow</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="qmainwindow.html#addDockWindow">QMainWindow::addDockWindow</a>(). <em>name</em> and -the widget flags <em>f</em> are passed on to the <a href="qdoctwindow.html">QDockWindow</a> constructor. +the widget flags <em>f</em> are passed on to the <a href="qdockwindow.html">QDockWindow</a> constructor. <p> Use this constructor if you want to create torn-off (undocked, floating) toolbars or toolbars in the <a href="qstatusbar.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="qmainwindow.html">QMainWindow</a> right-justifies the dock area the toolbar is in, or because this -toolbar's <a href="qdoctwindow.html#isVerticalStretchable">isVerticalStretchable</a>() or <a href="qdoctwindow.html#isHorizontalStretchable">isHorizontalStretchable</a>() is +toolbar's <a href="qdockwindow.html#isVerticalStretchable">isVerticalStretchable</a>() or <a href="qdockwindow.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="qmainwindow.html#rightJustification-prop">QMainWindow::rightJustification</a>, <a href="qdoctwindow.html#setVerticalStretchable">setVerticalStretchable</a>(), and <a href="qdoctwindow.html#setHorizontalStretchable">setHorizontalStretchable</a>(). +<p> <p>See also <a href="qmainwindow.html#rightJustification-prop">QMainWindow::rightJustification</a>, <a href="qdockwindow.html#setVerticalStretchable">setVerticalStretchable</a>(), and <a href="qdockwindow.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> |