A combo box to select an option from a relation table.
More...
#include <bpsrelationinput.h>
List of all members.
Public Slots |
| void | setRelationKey (const QVariant &aKey) |
| | Set the current relation table key.
|
Signals |
| void | relationKeyChanged (const QVariant &aKey) |
| | This signal is emitted when another option got selected.
|
Public Member Functions |
| | BpsRelationInput (BpsDatastore *aDatastore, const QString &aRelTable, const QString &aRelColumn, QWidget *aParent=0) |
| QVariant | relationKey () const |
Detailed Description
A combo box to select an option from a relation table.
Constructor & Destructor Documentation
| BpsRelationInput::BpsRelationInput |
( |
BpsDatastore * |
aDatastore, |
|
|
const QString & |
aRelTable, |
|
|
const QString & |
aRelColumn, |
|
|
QWidget * |
aParent = 0 |
|
) |
| |
- Parameters:
-
| [in] | aDatastore | The datastore connection to use. |
| [in] | aRelTable | The relation table name. |
| [in] | aRelColumn | The relation table column for display. May also be a function call or concatenated string for example. |
| [in] | aParent | The parent widget. |
Member Function Documentation
| QVariant BpsRelationInput::relationKey |
( |
| ) |
const |
- Returns:
- The current relation table key.
| void BpsRelationInput::relationKeyChanged |
( |
const QVariant & |
aKey | ) |
[signal] |
This signal is emitted when another option got selected.
- Parameters:
-
| [in] | aKey | The new relation table key. |
| void BpsRelationInput::setRelationKey |
( |
const QVariant & |
aKey | ) |
[slot] |
Set the current relation table key.
- Parameters:
-
| [in] | aKey | The new key to set. |
The documentation for this class was generated from the following file: