BPS C++ API  2.24.4
bpspartnerinput.h
Go to the documentation of this file.
1 
4 #ifndef BPSPARTNERINPUT_H
5 #define BPSPARTNERINPUT_H
6 
7 #include "bpsgui_global.h"
8 #include <QWidget>
9 #include <QVariant>
10 
11 class BpsDatastore;
12 
21 {
22  Q_OBJECT
24 
25 public:
26 
31  BpsPartnerInput(BpsDatastore* aDatastore, QWidget* aParent = nullptr);
32 
37 
38 public slots:
39 
44  void setPartnerKey(const QVariant& aKey);
45 
46 signals:
47 
52  void partnerKeyChanged(const QVariant& aKey);
53 
55 protected:
56  virtual bool focusNextPrevChild(bool aNext);
58 };
59 
60 #endif // BPSPARTNERINPUT_H
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
Public include file for BPS GUI library macros.
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition: bpsgui_global.h:22
BPS datastore class.
Definition: bpsdatastore.h:61
A widget to select a partner from a search list.
Definition: bpspartnerinput.h:21
void setPartnerKey(const QVariant &aKey)
Set the current partner key.
BpsPartnerInput(BpsDatastore *aDatastore, QWidget *aParent=nullptr)
QVariant partnerKey() const
void partnerKeyChanged(const QVariant &aKey)
This signal is emitted when another partner got selected.
virtual bool focusNextPrevChild(bool next)