BPS C++ API  2.24.4
bpsbarcodeinput.h
Go to the documentation of this file.
1 
4 #ifndef BPSBARCODEINPUT_H
5 #define BPSBARCODEINPUT_H
6 
7 #include "bpsgui_global.h"
8 #include <QComboBox>
9 
14 {
15  Q_OBJECT
17 
18 public:
19 
23  BpsBarcodeInput(QWidget* aParent = nullptr);
24 
28  QString barcodeId() const;
29 
34 
35 public slots:
36 
41  void setBarcodeId(const QString& aId);
42 
43 signals:
44 
49  void barcodeIdChanged(const QString& aId);
50 };
51 
52 #endif // BPSBARCODEINPUT_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
A a read only combo box to select a BPS barcode type.
Definition: bpsbarcodeinput.h:14
QString barcodeId() const
BpsBarcodeInput(QWidget *aParent=nullptr)
void setBarcodeId(const QString &aId)
Set the current barcode type ID.
void barcodeIdChanged(const QString &aId)
This signal is emitted when another barcode type got selected.
static QMap< QString, QString > options()