A widget to select a stock location from a search list.
More...
#include <bpsstocklocationinput.h>
List of all members.
Public Slots |
| void | setKey (const QVariant &aKey) |
| | Set the current stock location key.
|
Signals |
| void | keyChanged (const QVariant &aKey) |
| | This signal is emitted when another stock location got selected.
|
Public Member Functions |
| | BpsStockLocationInput (BpsDatastore *aDatastore, QWidget *aParent=0) |
| QVariant | key () const |
Detailed Description
A widget to select a stock location from a search list.
The widget appears as a line input where the stock location id can be entered. Beside the line edit there is a tool button to show a search box.
Constructor & Destructor Documentation
| BpsStockLocationInput::BpsStockLocationInput |
( |
BpsDatastore * |
aDatastore, |
|
|
QWidget * |
aParent = 0 |
|
) |
| |
- Parameters:
-
| [in] | aDatastore | The datastore connection to use. |
| [in] | aParent | The parent widget. |
Member Function Documentation
| QVariant BpsStockLocationInput::key |
( |
| ) |
const |
- Returns:
- The current stock location key.
| void BpsStockLocationInput::keyChanged |
( |
const QVariant & |
aKey | ) |
[signal] |
This signal is emitted when another stock location got selected.
- Parameters:
-
| [in] | aKey | The new stock location key. |
| void BpsStockLocationInput::setKey |
( |
const QVariant & |
aKey | ) |
[slot] |
Set the current stock location key.
- Parameters:
-
| [in] | aKey | The new key to set. |
The documentation for this class was generated from the following file: