27 lines
624 B
C++
27 lines
624 B
C++
#ifndef RM_GROUP_COMBO_BOX_H
|
|
#define RM_GROUP_COMBO_BOX_H
|
|
|
|
#include <QWidget>
|
|
#include <QGroupBox>
|
|
#include <QComboBox>
|
|
#include <QList>
|
|
#include <QVBoxLayout>
|
|
|
|
class RMComboBox;
|
|
class QJsonObject;
|
|
|
|
class RMGroupComboBox : public QGroupBox
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
#if (USE_JSON_SETTINGS)
|
|
explicit RMGroupComboBox(QWidget *parent,int index);
|
|
#else // USE_JSON_SETTINGS
|
|
explicit RMGroupComboBox(QWidget *parent,QString title, QStringList items,unsigned char* value,QList<int> indexMap = QList<int>());
|
|
#endif // USE_JSON_SETTINGS
|
|
QVBoxLayout* layout;
|
|
RMComboBox* comboBox;
|
|
};
|
|
|
|
#endif // RM_GROUP_COMBO_BOX_H
|