kalarm/lib
ButtonGroup Class Reference
#include <buttongroup.h>
Detailed Description
A QButtonGroup with signal on new selection, plus Qt 2 compatibility.The ButtonGroup class provides an enhanced version of the QButtonGroup class.
It emits an additional signal, buttonSet(int), whenever any of its buttons changes state, for whatever reason, including programmatic control. (The QButtonGroup class only emits signals when buttons are clicked on by the user.) The class also provides Qt 2 compatibility.
- Author:
- David Jarvie <software@astrojar.org.uk>
Definition at line 38 of file buttongroup.h.
Signals | |
void | buttonSet (int id) |
Public Member Functions | |
ButtonGroup (QWidget *parent, const char *name=0) | |
ButtonGroup (const QString &title, QWidget *parent, const char *name=0) | |
ButtonGroup (int strips, Qt::Orientation orient, QWidget *parent, const char *name=0) | |
ButtonGroup (int strips, Qt::Orientation orient, const QString &title, QWidget *parent, const char *name=0) | |
int | insert (QButton *button, int id=-1) |
virtual void | setButton (int id) |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 29 of file buttongroup.cpp. |
|
Constructor.
Definition at line 35 of file buttongroup.cpp. |
|
Constructor.
Definition at line 41 of file buttongroup.cpp. |
|
Constructor.
Definition at line 47 of file buttongroup.cpp. |
Member Function Documentation
|
Signal emitted whenever whenever any button in the group changes state, for whatever reason.
|
|
Inserts a button in the group. This overrides the insert() method of QButtonGroup, which should really be a virtual method...
Definition at line 57 of file buttongroup.cpp. |
|
Sets the button with the specified identifier to be on. If this is an exclusive group, all other buttons in the group will be set off. The buttonSet() signal is emitted.
Definition at line 79 of file buttongroup.h. |
The documentation for this class was generated from the following files: