casa
5.7.0-16
|
(Not finished) Widget for entering a value based on its type. More...
#include <TBTypes.qo.h>
Public Member Functions | |
TBTypes (casacore::String type, bool incArrays=true) | |
Constructor that takes the starting type and whether or not to include arrays in the list of types available. More... | |
~TBTypes () | |
void | setType (casacore::String type) |
Sets the current display to allow values for the given type. More... | |
Private Slots | |
void | recordChooserChanged (int index) |
Slot for when the user selects a type in the record chooser. More... | |
void | arrayDimSet () |
Slot for when the user enters the dimensions for an array. More... | |
void | arrayValSet () |
Slot for when the user sets the value of an array cell. More... | |
Private Member Functions | |
void | setupArray () |
Sets up the display needed for arrays. More... | |
void | setupRecord () |
Sets up the display needed for records. More... | |
Private Attributes | |
casacore::String | type |
Current type. More... | |
std::vector< casacore::String > * | types |
All available types. More... | |
TBTypes * | arrayTypes |
TBTypes panel for entering single array cell values. More... | |
TBTypes * | recordTypes |
TBTypes panel for entering single record values. More... | |
(Not finished) Widget for entering a value based on its type.
TBTypes is a widget with a number of different panels. Each panel has a different type of input that correspondings to different data types. (For example, when entering a number a text field is used whereas entering a complex has two spinners.) Using the TBTypes::setType() method, the different panels are shown or hidden as necessary. Important: the functionality of actually collecting the input is not yet implemented.
Definition at line 51 of file TBTypes.qo.h.
casa::TBTypes::TBTypes | ( | casacore::String | type, |
bool | incArrays = true |
||
) |
Constructor that takes the starting type and whether or not to include arrays in the list of types available.
casa::TBTypes::~TBTypes | ( | ) |
|
privateslot |
Slot for when the user enters the dimensions for an array.
|
privateslot |
Slot for when the user sets the value of an array cell.
(Not implemented.)
|
privateslot |
Slot for when the user selects a type in the record chooser.
void casa::TBTypes::setType | ( | casacore::String | type | ) |
Sets the current display to allow values for the given type.
|
private |
Sets up the display needed for arrays.
|
private |
Sets up the display needed for records.
|
private |
TBTypes panel for entering single array cell values.
Definition at line 73 of file TBTypes.qo.h.
|
private |
TBTypes panel for entering single record values.
Definition at line 76 of file TBTypes.qo.h.
|
private |
Current type.
Definition at line 67 of file TBTypes.qo.h.
|
private |
All available types.
Definition at line 70 of file TBTypes.qo.h.