#include <tdetoolbarradiogroup.h>
Inherits TQObject.
Public Slots | |
void | slotToggled (int) |
Public Member Functions | |
TDEToolBarRadioGroup (TDEToolBar *_parent, const char *_name=0) | |
~TDEToolBarRadioGroup () | |
void | addButton (int id) |
void | removeButton (int id) |
Detailed Description
Class for group of radio butons in toolbar.
TDEToolBarRadioGroup is class for group of radio butons in toolbar. Take toggle buttons which you already inserted into toolbar, create TDEToolBarRadioGroup instance and add them here. All buttons will emit signals toggled (bool) (or you can use sitgnal toggled (int id) from toolbar). When one button is set down, all others are unset. All buttons emit signals - those who "go down" and those who "go up".
Definition at line 49 of file tdetoolbarradiogroup.h.
Constructor & Destructor Documentation
◆ TDEToolBarRadioGroup()
TDEToolBarRadioGroup::TDEToolBarRadioGroup | ( | TDEToolBar * | _parent, |
const char * | _name = 0 |
||
) |
◆ ~TDEToolBarRadioGroup()
TDEToolBarRadioGroup::~TDEToolBarRadioGroup | ( | ) |
Destructor.
Definition at line 42 of file tdetoolbarradiogroup.cpp.
Member Function Documentation
◆ addButton()
void TDEToolBarRadioGroup::addButton | ( | int | id | ) |
Adds button to group.
Button cannot be unset by mouse clicks (you must press some other button tounset this one)
Definition at line 47 of file tdetoolbarradiogroup.cpp.
◆ removeButton()
void TDEToolBarRadioGroup::removeButton | ( | int | id | ) |
Removes button from group, making it again toggle button (i.e.
You can unset it with mouse).
Definition at line 54 of file tdetoolbarradiogroup.cpp.
◆ slotToggled
|
slot |
Internal - nothing for you here.
Definition at line 62 of file tdetoolbarradiogroup.cpp.
The documentation for this class was generated from the following files: