summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqtoolbar.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqtoolbar.3qt')
-rw-r--r--doc/man/man3/tqtoolbar.3qt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man/man3/tqtoolbar.3qt b/doc/man/man3/tqtoolbar.3qt
index cc5f6d130..3db564029 100644
--- a/doc/man/man3/tqtoolbar.3qt
+++ b/doc/man/man3/tqtoolbar.3qt
@@ -71,13 +71,13 @@ To use TQToolBar you simply create a TQToolBar as a child of a TQMainWindow, cre
.PP
This extract from the application/application.cpp example shows the creation of a new toolbar as a child of a TQMainWindow and adding two TQActions.
.PP
-You may use most widgets within a toolbar, with TQToolButton and QComboBox being the most common.
+You may use most widgets within a toolbar, with TQToolButton and TQComboBox being the most common.
.PP
If you create a new widget on an already visible TQToolBar, this widget will automatically become visible without needing a show() 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.)
.PP
TQToolBars, like QDockWindows, are located in QDockAreas or float as top-level windows. TQMainWindow provides four QDockAreas (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 TQMainWindow::moveDockWindow(). QDock areas lay out their windows in Lines.
.PP
-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 at the right or bottom of the toolbar depending on its orientation. Clicking this button pops up a menu that shows the 'overflowing' items. TQToolButtons are represented in the menu using their textLabel property, other QButton subclasses are represented using their text property, and QComboBoxes are represented as submenus, with the caption text being used in the submenu item.
+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 at the right or bottom of the toolbar depending on its orientation. Clicking this button pops up a menu that shows the 'overflowing' items. TQToolButtons are represented in the menu using their textLabel property, other QButton subclasses are represented using their text property, and TQComboBoxes are represented as submenus, with the caption text being used in the submenu item.
.PP
Usually a toolbar will get precisely the space it needs. However, with setHorizontalStretchable(), setVerticalStretchable() or setStretchableWidget() you can tell the main window to expand the toolbar to fill all available space in the specified orientation.
.PP