#ifndef PRIORITYARRAY_H #define PRIORITYARRAY_H #include #include #include #include #include #include #include "Field.h" class PriorityArray : public Field { Q_OBJECT public: PriorityArray(QWidget *parent, int db_id, int PropId, int BacType, QString label = QString(), QGridLayout *layout = NULL, int row = 0, int col = 0); public slots: void drawWindow(); void saveValues(); protected: void SetValue(QVariant value); int calculateLength() { return 16; } QCheckBox *checkBoxes[16]; QLineEdit *editBoxes[16]; QComboBox *comboBoxes[16]; QDialog *PAWindow; }; #endif