#include <QToolBar.h>
Inheritance diagram for QToolBar:


Public Methods | |
| virtual void | bringToFront (QWidget *widget) |
| brings the given widget to the front. Must be a child widget | |
| virtual void | draw (QEvent *e) |
| draws itself with OpenGL. Here is the OpenGL drawing code | |
| virtual void | layout () |
| layout the children widgets. This method is called every time the size is changed. Have to be overwritten for respond on size changes | |
| virtual bool | canDrag (QEvent *e) |
| have to return true if widget should be dragged with mouse. This method is overwritten in sub classes. If returns true, widget will be dragged | |
| virtual bool | processEvent (QEvent *e) |
| processing mouse/keyboard events which are in widgets region. Mouse coordinates are relative to Owner | |
| virtual bool | processMouseOwner (QEvent *e) |
| processing mouse events which are in Owner widget region. Mouse coordinates are relative to Owner | |
| virtual void | childrenChanged () |
| called if a child is added/removed | |
| virtual bool | canFocus (QEvent *e) |
| defines whether control can have keyboard focus. Should return true if Widget wants to get keyboard focus | |
| virtual void | Init () |
| initialization code | |
| virtual void | CleanUp () |
| clean up code | |
| virtual int | getMoverWidth () |
| getter method for MoverWidth | |
| virtual void | setMoverWidth (int newValue) |
| setter method for MoverWidth | |
| void | print () |
| prints itself to the cout | |
| QToolBar (QWidget *aOwner) | |
| Constructor. | |
| virtual | ~QToolBar () |
| Destructor. | |
| virtual void | bringToFront (QWidget *widget) |
| brings the given widget to the front. Must be a child widget | |
| virtual void | draw (QEvent *e) |
| draws itself with OpenGL. Here is the OpenGL drawing code | |
| virtual void | layout () |
| layout the children widgets. This method is called every time the size is changed. Have to be overwritten for respond on size changes | |
| virtual bool | canDrag (QEvent *e) |
| have to return true if widget should be dragged with mouse. This method is overwritten in sub classes. If returns true, widget will be dragged | |
| virtual bool | processEvent (QEvent *e) |
| processing mouse/keyboard events which are in widgets region. Mouse coordinates are relative to Owner | |
| virtual bool | processMouseOwner (QEvent *e) |
| processing mouse events which are in Owner widget region. Mouse coordinates are relative to Owner | |
| virtual void | childrenChanged () |
| called if a child is added/removed | |
| virtual bool | canFocus (QEvent *e) |
| defines whether control can have keyboard focus. Should return true if Widget wants to get keyboard focus | |
| virtual void | Init () |
| initialization code | |
| virtual void | CleanUp () |
| clean up code | |
| virtual int | getMoverWidth () |
| getter method for MoverWidth | |
| virtual void | setMoverWidth (int newValue) |
| setter method for MoverWidth | |
| void | print () |
| prints itself to the cout | |
| QToolBar (QWidget *aOwner) | |
| Constructor. | |
| virtual | ~QToolBar () |
| Destructor. | |
Protected Attributes | |
| int | MoverWidth |
| Width of the left area, which is used to move the Toolbar. | |
Definition at line 16 of file QToolBar.h.
|
|
Constructor.
Definition at line 127 of file QToolBar.cpp. |
|
|
Destructor.
Definition at line 137 of file QToolBar.cpp. |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
brings the given widget to the front. Must be a child widget
Reimplemented from QWidget. |
|
|
brings the given widget to the front. Must be a child widget
Reimplemented from QWidget. Definition at line 14 of file QToolBar.cpp. |
|
|
have to return true if widget should be dragged with mouse. This method is overwritten in sub classes. If returns true, widget will be dragged
Reimplemented from QWidget. |
|
|
have to return true if widget should be dragged with mouse. This method is overwritten in sub classes. If returns true, widget will be dragged
Reimplemented from QWidget. Definition at line 61 of file QToolBar.cpp. References QEvent::getX(), QWidget::Left, and MoverWidth. |
|
|
defines whether control can have keyboard focus. Should return true if Widget wants to get keyboard focus
Reimplemented from QWidget. |
|
|
defines whether control can have keyboard focus. Should return true if Widget wants to get keyboard focus
Reimplemented from QWidget. Definition at line 85 of file QToolBar.cpp. |
|
|
called if a child is added/removed
Reimplemented from QWidget. |
|
|
called if a child is added/removed
Reimplemented from QWidget. Definition at line 79 of file QToolBar.cpp. References layout(). |
|
|
clean up code
Reimplemented from QWidget. |
|
|
clean up code
Reimplemented from QWidget. Definition at line 98 of file QToolBar.cpp. |
|
|
draws itself with OpenGL. Here is the OpenGL drawing code
Reimplemented from QWidget. |
|
|
draws itself with OpenGL. Here is the OpenGL drawing code
Reimplemented from QWidget. Definition at line 20 of file QToolBar.cpp. References QLookAndFeel::drawBevel(), QLookAndFeel::drawRect(), QLookAndFeel::getBackGroundColor(), QWidget::Height, QWidget::LookAndFeel, QColor::setAsCurrent(), and QWidget::Width. |
|
|
getter method for MoverWidth
|
|
|
getter method for MoverWidth
Definition at line 104 of file QToolBar.cpp. References MoverWidth. |
|
|
initialization code
Reimplemented from QWidget. |
|
|
initialization code
Reimplemented from QWidget. Definition at line 91 of file QToolBar.cpp. References QWidget::Height, and QWidget::Width. |
|
|
layout the children widgets. This method is called every time the size is changed. Have to be overwritten for respond on size changes
Reimplemented from QWidget. |
|
|
layout the children widgets. This method is called every time the size is changed. Have to be overwritten for respond on size changes
Reimplemented from QWidget. Definition at line 37 of file QToolBar.cpp. References QWidget::Children, QWidget::Height, MoverWidth, and QWidget::Width. Referenced by childrenChanged(), and main(). |
|
|
prints itself to the cout
Reimplemented from QWidget. |
|
|
prints itself to the cout
Reimplemented from QWidget. Definition at line 118 of file QToolBar.cpp. |
|
|
processing mouse/keyboard events which are in widgets region. Mouse coordinates are relative to Owner
Reimplemented from QWidget. |
|
|
processing mouse/keyboard events which are in widgets region. Mouse coordinates are relative to Owner
Reimplemented from QWidget. Definition at line 67 of file QToolBar.cpp. |
|
|
processing mouse events which are in Owner widget region. Mouse coordinates are relative to Owner
Reimplemented from QWidget. |
|
|
processing mouse events which are in Owner widget region. Mouse coordinates are relative to Owner
Reimplemented from QWidget. Definition at line 73 of file QToolBar.cpp. |
|
|
setter method for MoverWidth
|
|
|
setter method for MoverWidth
Definition at line 110 of file QToolBar.cpp. References MoverWidth. |
|
|
Width of the left area, which is used to move the Toolbar.
Definition at line 21 of file QToolBar.h. Referenced by canDrag(), getMoverWidth(), layout(), and setMoverWidth(). |
1.2.18