KPrCircleGroup Class Reference
#include <KPrRotationDialogImpl.h>
Inherits TQFrame.
Signals | |
| void | clicked (int id) |
Public Member Functions | |
| KPrCircleGroup (TQWidget *parent) | |
| void | setAngle (int angle) |
| void | add (KPrCircleToggle *button) |
Detailed Description
A button-group equivalent for a set of KPrCircleToggle classes.
Definition at line 103 of file KPrRotationDialogImpl.h.
Constructor & Destructor Documentation
◆ KPrCircleGroup()
| KPrCircleGroup::KPrCircleGroup | ( | TQWidget * | parent | ) |
Constructor.
- Parameters
-
parent the parent widget, as required by TQt.
Definition at line 145 of file KPrRotationDialogImpl.cpp.
Member Function Documentation
◆ add()
| void KPrCircleGroup::add | ( | KPrCircleToggle * | button | ) |
Add a KPrCircleToggle button as one of the representers of this circle.
- Parameters
-
button the button
Definition at line 159 of file KPrRotationDialogImpl.cpp.
◆ clicked
|
signal |
clicked will be emitted when one of the child buttons is clicked.
◆ setAngle()
| void KPrCircleGroup::setAngle | ( | int | angle | ) |
Set the angle the group is currently representing.
If there is a child button that registred itself (using add()) with an ID that matches the argument angle that button will be checked. All other buttons will be disabled.
- Parameters
-
angle the new angle to be represented by this circle
Definition at line 151 of file KPrRotationDialogImpl.cpp.
The documentation for this class was generated from the following files:
