casa  $Rev:20696$
Signals | Public Member Functions | Private Slots | Private Attributes
casa::RecordItemPanel Class Reference

Panel to hold one item in a record (i.e., a key and a value). More...

#include <ValuePanel.qo.h>

List of all members.

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.
StandardValuePanelvalue ()
 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.
StandardValuePanelm_value
 Value panel.

Detailed Description

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.


Constructor & Destructor Documentation

casa::RecordItemPanel::RecordItemPanel ( String  paramName)

Default constructor.

casa::RecordItemPanel::~RecordItemPanel ( )

Destructor.


Member Function Documentation

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.


Member Data Documentation

QLineEdit* casa::RecordItemPanel::m_name [private]

Key line edit.

Definition at line 291 of file ValuePanel.qo.h.

Value panel.

Definition at line 294 of file ValuePanel.qo.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines