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

(Not finished) Widget for entering a value based on its type. More...

#include <TBTypes.qo.h>

List of all members.

Public Member Functions

 TBTypes (String type, bool incArrays=true)
 Constructor that takes the starting type and whether or not to include arrays in the list of types available.
 ~TBTypes ()
void setType (String type)
 Sets the current display to allow values for the given type.

Private Slots

void recordChooserChanged (int index)
 Slot for when the user selects a type in the record chooser.
void arrayDimSet ()
 Slot for when the user enters the dimensions for an array.
void arrayValSet ()
 Slot for when the user sets the value of an array cell.

Private Member Functions

void setupArray ()
 Sets up the display needed for arrays.
void setupRecord ()
 Sets up the display needed for records.

Private Attributes

String type
 Current type.
vector< String > * types
 All available types.
TBTypesarrayTypes
 TBTypes panel for entering single array cell values.
TBTypesrecordTypes
 TBTypes panel for entering single record values.

Detailed Description

(Not finished) Widget for entering a value based on its type.

Synopsis

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 54 of file TBTypes.qo.h.


Constructor & Destructor Documentation

casa::TBTypes::TBTypes ( String  type,
bool  incArrays = true 
)

Constructor that takes the starting type and whether or not to include arrays in the list of types available.


Member Function Documentation

void casa::TBTypes::arrayDimSet ( ) [private, slot]

Slot for when the user enters the dimensions for an array.

void casa::TBTypes::arrayValSet ( ) [private, slot]

Slot for when the user sets the value of an array cell.

(Not implemented.)

void casa::TBTypes::recordChooserChanged ( int  index) [private, slot]

Slot for when the user selects a type in the record chooser.

Sets the current display to allow values for the given type.

void casa::TBTypes::setupArray ( ) [private]

Sets up the display needed for arrays.

void casa::TBTypes::setupRecord ( ) [private]

Sets up the display needed for records.


Member Data Documentation

TBTypes panel for entering single array cell values.

Definition at line 76 of file TBTypes.qo.h.

TBTypes panel for entering single record values.

Definition at line 79 of file TBTypes.qo.h.

Current type.

Definition at line 70 of file TBTypes.qo.h.

vector<String>* casa::TBTypes::types [private]

All available types.

Definition at line 73 of file TBTypes.qo.h.


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