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