#include <TBKeywordsTab.qo.h>
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 (std::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 | |
| std::vector< String > * | types |
| Displayed data types. | |
| TBTypes * | typesWidget |
| Widget to enter the value based on the type. | |
Definition at line 48 of file TBKeywordsTab.qo.h.
| casa::TBNewKeyword::TBNewKeyword | ( | std::vector< String > * | fields = NULL, |
|
| QWidget * | parent = NULL | |||
| ) |
GUI for entering a new keyword.
(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.
| casa::TBNewKeyword::~TBNewKeyword | ( | ) |
| 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.
std::vector<String>* casa::TBNewKeyword::types [private] |
Displayed data types.
Definition at line 76 of file TBKeywordsTab.qo.h.
TBTypes* casa::TBNewKeyword::typesWidget [private] |
Widget to enter the value based on the type.
Definition at line 79 of file TBKeywordsTab.qo.h.
1.6.1