casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Slots | Private Attributes
casa::QtRSOption Class Reference

Widget that can be used to input a String, String choice, double, bool, String array, or String choice array. More...

#include <QtSingleRegionShape.qo.h>

List of all members.

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< Stringm_choices
QToolButton * m_lessButton
QToolButton * m_moreButton

Detailed Description

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.


Constructor & Destructor Documentation

casa::QtRSOption::QtRSOption ( RegionShape::OptionType  type,
const String name,
const RSOption value,
const vector< String > &  choices 
)

Constructor.

Destructor.


Member Function Documentation

void casa::QtRSOption::lessArray ( ) [private, slot]

Remove an array widget.

void casa::QtRSOption::moreArray ( ) [private, slot]

     

Add another array widget.

Returns entered value.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following file: