Added toolbar() function.

This commit is contained in:
Radu Ursu 2002-02-27 13:19:48 +00:00
parent 2140a2b393
commit 0436dae157
2 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,10 @@ The standard toolbar includes the basic tools used for zooming and translating.
the standard tools. The first param it is a pointer to a Qt\_widget object, the
second is a pointer to a QMainWindow object, that contain the toolbar.}
\ccMethod{QToolBar* toolbar();}{Returns a pointer to the QToolBar
private member. To use the standard toolbar in an application, you
need this function in order to get the pointer to the toolbar.}
\ccExample
\ccIncludeExampleCode{Qt_widget/basic/tutorial5/tutorial5.C}

View File

@ -27,6 +27,10 @@ The standard toolbar includes the basic tools used for zooming and translating.
the standard tools. The first param it is a pointer to a Qt\_widget object, the
second is a pointer to a QMainWindow object, that contain the toolbar.}
\ccMethod{QToolBar* toolbar();}{Returns a pointer to the QToolBar
private member. To use the standard toolbar in an application, you
need this function in order to get the pointer to the toolbar.}
\ccExample
\ccIncludeExampleCode{Qt_widget/basic/tutorial5/tutorial5.C}