diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-31 18:33:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-31 18:41:44 +0900 |
commit | e42ec295c2134770a1eb07032f5f22ca4ba1daa6 (patch) | |
tree | 1ecbc3ad607c79f1ce75ba953f9fe46ea1425b85 /doc/man/man3/tqtoolbar.3qt | |
parent | 0917fbb5387978eb7b2e2fd68bcb6beaa8c46505 (diff) | |
download | tqt3-e42ec295c2134770a1eb07032f5f22ca4ba1daa6.tar.gz tqt3-e42ec295c2134770a1eb07032f5f22ca4ba1daa6.zip |
Rename remaining ntq[d-h]* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqtoolbar.3qt')
-rw-r--r-- | doc/man/man3/tqtoolbar.3qt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqtoolbar.3qt b/doc/man/man3/tqtoolbar.3qt index 7cf57b298..5fe26530b 100644 --- a/doc/man/man3/tqtoolbar.3qt +++ b/doc/man/man3/tqtoolbar.3qt @@ -11,7 +11,7 @@ TQToolBar \- Movable panel containing widgets such as tool buttons .SH SYNOPSIS \fC#include <tqtoolbar.h>\fR .PP -Inherits QDockWindow. +Inherits TQDockWindow. .PP .SS "Public Members" .in +1c @@ -54,7 +54,7 @@ The TQToolBar class provides a movable panel containing widgets such as tool but .PP A toolbar is a panel that contains a set of controls, usually represented by small icons. It's purpose is to provide quick access to frequently used commands or options. Within a TQMainWindow the user can drag toolbars within and between the dock areas. Toolbars can also be dragged out of any dock area to float freely as top-level windows. .PP -TQToolBar is a specialization of QDockWindow, and so provides all the functionality of a QDockWindow. +TQToolBar is a specialization of TQDockWindow, and so provides all the functionality of a TQDockWindow. .PP To use TQToolBar you simply create a TQToolBar as a child of a TQMainWindow, create a number of TQToolButton widgets (or other widgets) in left to right (or top to bottom) order and call addSeparator() when you want a separator. When a toolbar is floated the caption used is the label given in the constructor call. This can be changed with setLabel(). .PP @@ -75,13 +75,13 @@ You may use most widgets within a toolbar, with TQToolButton and TQComboBox bein .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. +TQToolBars, like TQDockWindows, are located in TQDockAreas 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 TQMainWindow::moveDockWindow(). TQDock 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 TQButton 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 -The toolbar arranges its buttons either horizontally or vertically (see orientation() for details). Generally, QDockArea will set the orientation correctly for you, but you can set it yourself with setOrientation() and track any changes by connecting to the orientationChanged() signal. +The toolbar arranges its buttons either horizontally or vertically (see orientation() for details). Generally, TQDockArea will set the orientation correctly for you, but you can set it yourself with setOrientation() and track any changes by connecting to the orientationChanged() signal. .PP You can use the clear() method to remove all items from a toolbar. .PP @@ -98,7 +98,7 @@ See also TQToolButton, TQMainWindow, Parts of Isys on Visual Design, GUI Design .SH "TQToolBar::TQToolBar ( const TQString & label, TQMainWindow * mainWindow, TQWidget * parent, bool newLine = FALSE, const char * name = 0, WFlags f = 0 )" Constructs an empty horizontal toolbar. .PP -The toolbar is called \fIname\fR and is a child of \fIparent\fR and is managed by \fImainWindow\fR. The \fIlabel\fR and \fInewLine\fR parameters are passed straight to TQMainWindow::addDockWindow(). \fIname\fR and the widget flags \fIf\fR are passed on to the QDockWindow constructor. +The toolbar is called \fIname\fR and is a child of \fIparent\fR and is managed by \fImainWindow\fR. The \fIlabel\fR and \fInewLine\fR parameters are passed straight to TQMainWindow::addDockWindow(). \fIname\fR and the widget flags \fIf\fR are passed on to the TQDockWindow constructor. .PP Use this constructor if you want to create torn-off (undocked, floating) toolbars or toolbars in the status bar. .SH "TQToolBar::TQToolBar ( TQMainWindow * parent = 0, const char * name = 0 )" |