Documents > BPS V2 C++ API
BpsArticleInput Class Reference

A widget to select a article from a search list. More...

#include <bpsarticleinput.h>

List of all members.

Public Slots

void setArticleKey (const QVariant &aKey)
 Set the current article key.

Signals

void articleKeyChanged (const QVariant &aKey)
 This signal is emitted when another article got selected.

Public Member Functions

QVariant articleKey () const
 BpsArticleInput (BpsDatastore *aDatastore, QWidget *aParent=0)

Detailed Description

A widget to select a article from a search list.

The widget appears as a line input where the article id can be entered. Beside the line edit there is a tool button to show a search box.


Constructor & Destructor Documentation

BpsArticleInput::BpsArticleInput ( BpsDatastore aDatastore,
QWidget *  aParent = 0 
)
Parameters:
[in]aDatastoreThe datastore connection to use.
[in]aParentThe parent widget.

Member Function Documentation

QVariant BpsArticleInput::articleKey ( ) const
Returns:
The current article key.
void BpsArticleInput::articleKeyChanged ( const QVariant &  aKey) [signal]

This signal is emitted when another article got selected.

Parameters:
[in]aKeyThe new article key.
void BpsArticleInput::setArticleKey ( const QVariant &  aKey) [slot]

Set the current article key.

Parameters:
[in]aKeyThe new key to set.

The documentation for this class was generated from the following file: