Main Page   Namespace List   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

QRadioButtonGroup Class Reference

Radio Button Group. More...

#include <QRadioButtonGroup.h>

Collaboration diagram for QRadioButtonGroup:

Collaboration graph
[legend]

Public Methods

void add (QRadioButton *button)
 adds a button to this group

void remove (QRadioButton *button)
 removes a button from this group

void setAsSelected (QRadioButton *button)
 sets given radio button as selected

void print ()
 prints itself to the cout

 QRadioButtonGroup ()
 Constructor.

virtual ~QRadioButtonGroup ()
 Destructor.

void add (QRadioButton *button)
 adds a button to this group

void remove (QRadioButton *button)
 removes a button from this group

void setAsSelected (QRadioButton *button)
 sets given radio button as selected

void print ()
 prints itself to the cout

 QRadioButtonGroup ()
 Constructor.

virtual ~QRadioButtonGroup ()
 Destructor.


Protected Attributes

list< QRadioButton * > Items
 radio buttons in the group

list< QRadioButton * > Items
 radio buttons in the group


Detailed Description

Radio Button Group.

Definition at line 16 of file QRadioButtonGroup.h.


Constructor & Destructor Documentation

QRadioButtonGroup::QRadioButtonGroup  
 

Constructor.

Definition at line 58 of file QRadioButtonGroup.cpp.

QRadioButtonGroup::~QRadioButtonGroup   [virtual]
 

Destructor.

Definition at line 65 of file QRadioButtonGroup.cpp.

QRadioButtonGroup::QRadioButtonGroup  
 

Constructor.

virtual QRadioButtonGroup::~QRadioButtonGroup   [virtual]
 

Destructor.


Member Function Documentation

void QRadioButtonGroup::add QRadioButton   button
 

adds a button to this group

void QRadioButtonGroup::add QRadioButton   button
 

adds a button to this group

Definition at line 14 of file QRadioButtonGroup.cpp.

References Items.

Referenced by QRadioButton::setRadioButtonGroup().

void QRadioButtonGroup::print  
 

prints itself to the cout

void QRadioButtonGroup::print  
 

prints itself to the cout

Definition at line 48 of file QRadioButtonGroup.cpp.

void QRadioButtonGroup::remove QRadioButton   button
 

removes a button from this group

void QRadioButtonGroup::remove QRadioButton   button
 

removes a button from this group

Definition at line 21 of file QRadioButtonGroup.cpp.

References Items.

Referenced by QRadioButton::setRadioButtonGroup().

void QRadioButtonGroup::setAsSelected QRadioButton   button
 

sets given radio button as selected

void QRadioButtonGroup::setAsSelected QRadioButton   button
 

sets given radio button as selected

Definition at line 27 of file QRadioButtonGroup.cpp.

References Items.

Referenced by QRadioButton::processEvent().


Field Documentation

list<QRadioButton*> QRadioButtonGroup::Items [protected]
 

radio buttons in the group

Definition at line 21 of file QRadioButtonGroup.h.

list<QRadioButton*> QRadioButtonGroup::Items [protected]
 

radio buttons in the group

Definition at line 20 of file QRadioButtonGroup.h.

Referenced by add(), remove(), and setAsSelected().


The documentation for this class was generated from the following files:
Generated on Thu Mar 18 18:34:31 2004 for miniQT by doxygen1.2.18