A QGroupBox holding several radio buttons. More...
#include <StdMeshersGUI_RadioButtonsGrpWdg.h>

Public Member Functions | |
| StdMeshersGUI_RadioButtonsGrpWdg (const QString &title) | |
| Creates a QGroupBox with a given title. More... | |
| void | setButtonLabels (const QStringList &buttonLabels, const QStringList &buttonIcons=QStringList()) |
| Creates a given number of button labels with given labels (QString's) More... | |
| void | setChecked (int id) |
| Set checked a radio button with a give id. More... | |
| int | checkedId () const |
| Return id (zero based) of a checked radio button. More... | |
| QButtonGroup * | getButtonGroup () |
Private Attributes | |
| QButtonGroup * | myButtonGrp |
A QGroupBox holding several radio buttons.
| StdMeshersGUI_RadioButtonsGrpWdg::StdMeshersGUI_RadioButtonsGrpWdg | ( | const QString & | title | ) |
Creates a QGroupBox with a given title.
References myButtonGrp.
| int StdMeshersGUI_RadioButtonsGrpWdg::checkedId | ( | ) | const |
Return id (zero based) of a checked radio button.
References myButtonGrp.
Referenced by StdMeshersGUI_StdHypothesisCreator::getParamFromCustomWidget().
| QButtonGroup* StdMeshersGUI_RadioButtonsGrpWdg::getButtonGroup | ( | ) |
Referenced by StdMeshersGUI_StdHypothesisCreator::stdParams().
| void StdMeshersGUI_RadioButtonsGrpWdg::setButtonLabels | ( | const QStringList & | buttonLabels, |
| const QStringList & | buttonIcons = QStringList() |
||
| ) |
Creates a given number of button labels with given labels (QString's)
References MARGIN, myButtonGrp, SMESHGUI::resourceMgr(), and SPACING.
Referenced by StdMeshersGUI_StdHypothesisCreator::stdParams().
| void StdMeshersGUI_RadioButtonsGrpWdg::setChecked | ( | int | id | ) |
Set checked a radio button with a give id.
References myButtonGrp.
Referenced by StdMeshersGUI_StdHypothesisCreator::stdParams().
|
private |
Referenced by checkedId(), setButtonLabels(), setChecked(), and StdMeshersGUI_RadioButtonsGrpWdg().