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

#include <TBKeywordsTab.qo.h>

List of all members.

Signals

void newKeyword (int field, String name, String type, void *value)
 newKeyword is emitted when the user has entered a new keyword.

Public Member Functions

 TBNewKeyword (vector< String > *fields=NULL, QWidget *parent=NULL)
 GUI for entering a new keyword.
 ~TBNewKeyword ()

Private Slots

void typeChanged (int index)
 Catches when the user changes the type and changes the types widget accordingly.

Private Attributes

vector< String > * types
 Displayed data types.
TBTypestypesWidget
 Widget to enter the value based on the type.

Detailed Description

Definition at line 51 of file TBKeywordsTab.qo.h.


Constructor & Destructor Documentation

casa::TBNewKeyword::TBNewKeyword ( vector< String > *  fields = NULL,
QWidget *  parent = NULL 
)

GUI for entering a new keyword.

Synopsis

(Not Completed.) A TBNewKeyword is a dialog that allows the user to enter a new keyword. The parent/caller is responsible for connecting the signal and actually adding the new keyword. Constructor that takes an optional vector of fields for entering a new field keyword. If this vector is null, a table keyword is entered.


Member Function Documentation

void casa::TBNewKeyword::newKeyword ( int  field,
String  name,
String  type,
void *  value 
) [signal]

newKeyword is emitted when the user has entered a new keyword.

The field index is -1 for a table keyword; otherwise it holds the index of the field to which the keyword should be added.

void casa::TBNewKeyword::typeChanged ( int  index) [private, slot]

Catches when the user changes the type and changes the types widget accordingly.


Member Data Documentation

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

Displayed data types.

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

Widget to enter the value based on the type.

Definition at line 82 of file TBKeywordsTab.qo.h.


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