#ifndef _QCamRadioBox_hpp_ #define _QCamRadioBox_hpp_ #include class QRadioButton; class QVGroupBox; class QButtonGroup; class QHBox; class QCamRadioBox: public QVGroupBox { Q_OBJECT public: QCamRadioBox(const char * label,QWidget * parent, int numOfbutton, int valueList[], int maxPerRow=100, const char * labelList[]=NULL); ~QCamRadioBox(); public slots: /// to update the frame rate void update(int value); signals: void change(int value); protected slots: void buttonClicked(int id); private: QButtonGroup *bg_; QHBox ** rowTable_; QRadioButton ** buttonTable_; int * valueList_; int numOfButton_; }; #endif