BPS C++ API  2.24.4
bpslabelerinput.h
Go to the documentation of this file.
1 
4 #ifndef BPSLABELERINPUT_H
5 #define BPSLABELERINPUT_H
6 
7 #include "bpsgui_global.h"
8 #include <QComboBox>
9 
10 class BpsDatastore;
11 
16 {
17  Q_OBJECT
19 
20 public:
21 
27  BpsLabelerInput(BpsDatastore* aDatastore, QWidget* aParent = nullptr);
28 
33 
34 public slots:
35 
40  void setLabelerKey(const QVariant& aKey);
41 
42 signals:
43 
48  void labelerKeyChanged(const QVariant& aKey);
49 };
50 
51 #endif // BPSLABELERINPUT_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 combo box to select an option from an available labeler.
Definition: bpslabelerinput.h:16
void setLabelerKey(const QVariant &aKey)
Set the current labeler table key.
BpsLabelerInput(BpsDatastore *aDatastore, QWidget *aParent=nullptr)
The constructor.
QVariant labelerKey() const
void labelerKeyChanged(const QVariant &aKey)
This signal is emitted when another option got selected.