QCamRadioBox Class Reference

Handle some radiobox buttons in a QButtonGroup. More...

#include <QCamRadioBox.hpp>

List of all members.

Public Slots

void update (int value)
 set the state of the radiobox.

Signals

void change (int value)
 send when a checkbox is checked.

Public Member Functions

 QCamRadioBox (const char *label, QWidget *parent, int numOfbutton, int valueList[], const char *labelList[]=NULL, int maxPerRow=100)


Detailed Description

Handle some radiobox buttons in a QButtonGroup.


Constructor & Destructor Documentation

QCamRadioBox::QCamRadioBox ( const char *  label,
QWidget *  parent,
int  numOfbutton,
int  valueList[],
const char *  labelList[] = NULL,
int  maxPerRow = 100 
)

Parameters:
label  label of the box
numOfbutton  num of buttons
valueList  value assossiated to the button by signal change()
labelList  labels of the buttons
maxPerRow  max number of checkbox by row


Member Function Documentation

void QCamRadioBox::update ( int  value  )  [slot]

set the state of the radiobox.

The given value must be one of the valueList.


The documentation for this class was generated from the following files:
Generated on Sat Oct 27 09:21:09 2007 for QastroCam by  doxygen 1.5.1