casa
$Rev:20696$
|
Widget that can be used to input a String, String choice, double, bool, String array, or String choice array. More...
#include <QtSingleRegionShape.qo.h>
Public Member Functions | |
QtRSOption (RegionShape::OptionType type, const String &name, const RSOption &value, const vector< String > &choices) | |
Constructor. | |
~QtRSOption () | |
Destructor. | |
RSOption | value () const |
Returns entered value. | |
Private Slots | |
void | moreArray () |
void | lessArray () |
Remove an array widget. | |
Private Attributes | |
RegionShape::OptionType | m_type |
Type. | |
QLineEdit * | m_string |
Value widgets. | |
QComboBox * | m_choice |
QDoubleSpinBox * | m_double |
QCheckBox * | m_bool |
vector< QLineEdit * > | m_stringArray |
vector< QComboBox * > | m_choiceArray |
vector< String > | m_choices |
QToolButton * | m_lessButton |
QToolButton * | m_moreButton |
Widget that can be used to input a String, String choice, double, bool, String array, or String choice array.
Definition at line 129 of file QtSingleRegionShape.qo.h.
casa::QtRSOption::QtRSOption | ( | RegionShape::OptionType | type, |
const String & | name, | ||
const RSOption & | value, | ||
const vector< String > & | choices | ||
) |
Constructor.
Destructor.
void casa::QtRSOption::lessArray | ( | ) | [private, slot] |
Remove an array widget.
void casa::QtRSOption::moreArray | ( | ) | [private, slot] |
Add another array widget.
RSOption casa::QtRSOption::value | ( | ) | const |
Returns entered value.
QCheckBox* casa::QtRSOption::m_bool [private] |
Definition at line 152 of file QtSingleRegionShape.qo.h.
QComboBox* casa::QtRSOption::m_choice [private] |
Definition at line 150 of file QtSingleRegionShape.qo.h.
vector<QComboBox*> casa::QtRSOption::m_choiceArray [private] |
Definition at line 154 of file QtSingleRegionShape.qo.h.
vector<String> casa::QtRSOption::m_choices [private] |
Definition at line 155 of file QtSingleRegionShape.qo.h.
QDoubleSpinBox* casa::QtRSOption::m_double [private] |
Definition at line 151 of file QtSingleRegionShape.qo.h.
QToolButton* casa::QtRSOption::m_lessButton [private] |
Definition at line 156 of file QtSingleRegionShape.qo.h.
QToolButton * casa::QtRSOption::m_moreButton [private] |
Definition at line 156 of file QtSingleRegionShape.qo.h.
QLineEdit* casa::QtRSOption::m_string [private] |
Value widgets.
Definition at line 149 of file QtSingleRegionShape.qo.h.
vector<QLineEdit*> casa::QtRSOption::m_stringArray [private] |
Definition at line 153 of file QtSingleRegionShape.qo.h.
Type.
Definition at line 145 of file QtSingleRegionShape.qo.h.