Documents > BPS V2 C++ API
BpsPartnerInput Class Reference

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

#include <bpspartnerinput.h>

List of all members.

Public Slots

void setPartnerKey (const QVariant &aKey)
 Set the current partner key.

Signals

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

Public Member Functions

 BpsPartnerInput (BpsDatastore *aDatastore, QWidget *aParent=0)
QVariant partnerKey () const

Detailed Description

A widget to select a partner from a search list.

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

bpspartnerinput.png

Constructor & Destructor Documentation

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

Member Function Documentation

QVariant BpsPartnerInput::partnerKey ( ) const
Returns:
The current partner key.
void BpsPartnerInput::partnerKeyChanged ( const QVariant &  aKey) [signal]

This signal is emitted when another partner got selected.

Parameters:
[in]aKeyThe new partner key.
void BpsPartnerInput::setPartnerKey ( const QVariant &  aKey) [slot]

Set the current partner key.

Parameters:
[in]aKeyThe new key to set.

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