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


Public Methods | |
| 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 QRadioButtonGroup * | getRadioButtonGroup () |
| getter method for RadioButtonGroup | |
| virtual void | setRadioButtonGroup (QRadioButtonGroup *newValue) |
| setter method for RadioButtonGroup | |
| void | print () |
| prints itself to the cout | |
| QRadioButton (QWidget *aOwner) | |
| Constructor. | |
| virtual | ~QRadioButton () |
| Destructor. | |
| 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 QRadioButtonGroup * | getRadioButtonGroup () |
| getter method for RadioButtonGroup | |
| virtual void | setRadioButtonGroup (QRadioButtonGroup *newValue) |
| setter method for RadioButtonGroup | |
| void | print () |
| prints itself to the cout | |
| QRadioButton (QWidget *aOwner) | |
| Constructor. | |
| virtual | ~QRadioButton () |
| Destructor. | |
Protected Attributes | |
| QRadioButtonGroup * | RadioButtonGroup |
| reference to a group | |
| QRadioButtonGroup * | RadioButtonGroup |
| reference to a group | |
Definition at line 17 of file QRadioButton.h.
|
|
Constructor.
Definition at line 116 of file QRadioButton.cpp. |
|
|
Destructor.
Definition at line 126 of file QRadioButton.cpp. |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
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 QCheckBox. |
|
|
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 QCheckBox. Definition at line 28 of file QRadioButton.cpp. |
|
|
defines whether control can have keyboard focus. Should return true if Widget wants to get keyboard focus
Reimplemented from QCheckBox. |
|
|
defines whether control can have keyboard focus. Should return true if Widget wants to get keyboard focus
Reimplemented from QCheckBox. Definition at line 63 of file QRadioButton.cpp. |
|
|
called if a child is added/removed
Reimplemented from QCheckBox. |
|
|
called if a child is added/removed
Reimplemented from QCheckBox. Definition at line 58 of file QRadioButton.cpp. |
|
|
clean up code
Reimplemented from QCheckBox. |
|
|
clean up code
Reimplemented from QCheckBox. Definition at line 75 of file QRadioButton.cpp. |
|
|
draws itself with OpenGL. Here is the OpenGL drawing code
Reimplemented from QCheckBox. |
|
|
draws itself with OpenGL. Here is the OpenGL drawing code
Reimplemented from QCheckBox. Definition at line 14 of file QRadioButton.cpp. References QCheckBox::BoxSize, QCheckBox::Caption, QFont::drawInternal(), QLookAndFeel::drawRadioButton(), QCheckBox::Font, QFont::getSize(), QWidget::LookAndFeel, and QCheckBox::State. |
|
|
getter method for RadioButtonGroup
|
|
|
getter method for RadioButtonGroup
Definition at line 80 of file QRadioButton.cpp. References RadioButtonGroup. |
|
|
initialization code
Reimplemented from QCheckBox. |
|
|
initialization code
Reimplemented from QCheckBox. Definition at line 69 of file QRadioButton.cpp. References QCheckBox::Init(). |
|
|
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 QCheckBox. |
|
|
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 QCheckBox. Definition at line 22 of file QRadioButton.cpp. References QCheckBox::layout(). |
|
|
prints itself to the cout
Reimplemented from QCheckBox. |
|
|
prints itself to the cout
Reimplemented from QCheckBox. Definition at line 107 of file QRadioButton.cpp. |
|
|
processing mouse/keyboard events which are in widgets region. Mouse coordinates are relative to Owner
Reimplemented from QCheckBox. |
|
|
processing mouse/keyboard events which are in widgets region. Mouse coordinates are relative to Owner
Reimplemented from QCheckBox. Definition at line 34 of file QRadioButton.cpp. References QEvent::getType(), QCheckBox::processEvent(), RadioButtonGroup, and QRadioButtonGroup::setAsSelected(). |
|
|
processing mouse events which are in Owner widget region. Mouse coordinates are relative to Owner
Reimplemented from QCheckBox. |
|
|
processing mouse events which are in Owner widget region. Mouse coordinates are relative to Owner
Reimplemented from QCheckBox. Definition at line 52 of file QRadioButton.cpp. |
|
|
setter method for RadioButtonGroup
|
|
|
setter method for RadioButtonGroup
Definition at line 86 of file QRadioButton.cpp. References QRadioButtonGroup::add(), RadioButtonGroup, and QRadioButtonGroup::remove(). Referenced by MyWindow::MyWindow(). |
|
|
reference to a group
Definition at line 22 of file QRadioButton.h. |
|
|
reference to a group
Definition at line 21 of file QRadioButton.h. Referenced by getRadioButtonGroup(), processEvent(), and setRadioButtonGroup(). |
1.2.18