casa
$Rev:20696$
|
Panel to hold one item in a record (i.e., a key and a value). More...
#include <ValuePanel.qo.h>
Signals | |
void | valueChanged () |
Emitted when the user changes the value. | |
Public Member Functions | |
RecordItemPanel (String paramName) | |
Default constructor. | |
~RecordItemPanel () | |
Destructor. | |
String | name () |
Returns the current key name entered. | |
StandardValuePanel * | value () |
Returns the value panel used. | |
void | getValue (Record &record) |
Insert the key/value pair into the given record. | |
Private Slots | |
void | changedValue () |
Connecting the various widgets to emit the valueChanged signal. | |
Private Attributes | |
QLineEdit * | m_name |
Key line edit. | |
StandardValuePanel * | m_value |
Value panel. |
Panel to hold one item in a record (i.e., a key and a value).
A RecordItemPanel basically consists of a QLineEdit and a StandardValuePanel set to be a variant.
Definition at line 266 of file ValuePanel.qo.h.
casa::RecordItemPanel::RecordItemPanel | ( | String | paramName | ) |
Default constructor.
casa::RecordItemPanel::~RecordItemPanel | ( | ) |
Destructor.
void casa::RecordItemPanel::changedValue | ( | ) | [inline, private, slot] |
Connecting the various widgets to emit the valueChanged signal.
Definition at line 298 of file ValuePanel.qo.h.
void casa::RecordItemPanel::getValue | ( | Record & | record | ) |
Insert the key/value pair into the given record.
String casa::RecordItemPanel::name | ( | ) |
Returns the current key name entered.
StandardValuePanel* casa::RecordItemPanel::value | ( | ) |
Returns the value panel used.
void casa::RecordItemPanel::valueChanged | ( | ) | [signal] |
Emitted when the user changes the value.
QLineEdit* casa::RecordItemPanel::m_name [private] |
Key line edit.
Definition at line 291 of file ValuePanel.qo.h.
StandardValuePanel* casa::RecordItemPanel::m_value [private] |
Value panel.
Definition at line 294 of file ValuePanel.qo.h.