[kpropdlg Index] [kpropdlg Hierarchy] [Headers]
This class provides a box with radio buttons More...
#include <../kpropradio.h>
Inherits: QButtonGroup
This class provides a box with radio buttons. You can add Radio buttons which will be aligned verticaly. From the box you can exclusively select 1 button. The number of the button can be read from getState().
[public]
Contructor of the box. The 'text' is the title of the box.
[public virtual]
Destructor. Deletes all the radiobuttons.
[public]
You can preset a radiobutton with this method. button is the number of the button
[public]
Returns the number of the selected button. Returns -1 if no button is selected.
[public]
Add a radio button to the box. 'text' is the text for the radio button. 'state' is the state of the button. If it's TRUE, the button is selected, and all other buttons are deselected.
[public]
set the group to modify
[public]
Returns the group to be modified
[public]
set the key to modify
[public]
returns the Key to be modified
[public]
Set the KConfig object to operate upon.
[public]
Returns the current KConfig object
[public slot virtual]
Write the config key value. .
[public slot virtual]
Read the config key value into the widget. .
[protected virtual]
Handles a resize of the radio box.
[protected virtual]
If the font changes for this widget, this method is called.It will call sizeUpdate() to resize the widget.
[protected]
This method will set the minimum size for the box and all contained widgets so that all buttons will fit.
Documentation generated by fester@cal040052 on Sat Oct 10 12:30:32 /etc/localtime 1998 | Kdoc |