kpresenter
KPrCircleGroup Class Reference
#include <KPrRotationDialogImpl.h>
Detailed Description
A button-group equivalent for a set of KPrCircleToggle classes.
Definition at line 102 of file KPrRotationDialogImpl.h.
Signals | |
void | clicked (int id) |
Public Member Functions | |
KPrCircleGroup (QWidget *parent) | |
void | setAngle (int angle) |
void | add (KPrCircleToggle *button) |
Constructor & Destructor Documentation
KPrCircleGroup::KPrCircleGroup | ( | QWidget * | parent | ) |
Constructor.
- Parameters:
-
parent the parent widget, as required by Qt.
Definition at line 146 of file KPrRotationDialogImpl.cpp.
Member Function Documentation
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 152 of file KPrRotationDialogImpl.cpp.
void KPrCircleGroup::add | ( | KPrCircleToggle * | button | ) |
Add a KPrCircleToggle button as one of the representers of this circle.
- Parameters:
-
button the button
Definition at line 160 of file KPrRotationDialogImpl.cpp.
void KPrCircleGroup::clicked | ( | int | id | ) | [signal] |
clicked will be emitted when one of the child buttons is clicked.
The documentation for this class was generated from the following files: