ctkButtonGroup Class Reference

#include <Libs/Widgets/ctkButtonGroup.h>

List of all members.

Public Member Functions

 ctkButtonGroup (QObject *_parent=0)

Protected Slots

void onButtonClicked (QAbstractButton *button)
void onButtonPressed (QAbstractButton *button)

Private Member Functions


Detailed Description

ctkButtonGroup is a QButtonGroup with a different behavior when exclusive. An exclusive ctkButtonGroup switches off the previously checked button when a new button is checked. Use ctkButtonGroup the same way than QButtonGroup (see QButtonGroup doc). i.e. : ctkButtonGroup* buttonGroup = new ctkButtonGroup(parent); buttonGroup->addButton(button1); buttonGroup->addButton(button2); By default ctkButtonGroup is exclusive.

Definition at line 43 of file ctkButtonGroup.h.

Constructor & Destructor Documentation

ctkButtonGroup::ctkButtonGroup ( QObject *  _parent = 0  )  [explicit]

Definition at line 38 of file ctkButtonGroup.cpp.

Member Function Documentation

ctkButtonGroup::CTK_DECLARE_PRIVATE ( ctkButtonGroup   )  [private]
void ctkButtonGroup::onButtonClicked ( QAbstractButton *  button  )  [protected, slot]

Definition at line 47 of file ctkButtonGroup.cpp.

void ctkButtonGroup::onButtonPressed ( QAbstractButton *  button  )  [protected, slot]

Definition at line 60 of file ctkButtonGroup.cpp.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 21 May 2010 for CTK by  doxygen 1.6.1