2022-06-27 12:44:50 -04:00
|
|
|
#ifndef MXCHPANEL_H
|
|
|
|
#define MXCHPANEL_H
|
|
|
|
|
|
|
|
#include <QCheckBox>
|
|
|
|
#include <QLineEdit>
|
|
|
|
#include <QSpinBox>
|
|
|
|
#include <QTextEdit>
|
|
|
|
|
|
|
|
#include "panel.h"
|
|
|
|
|
|
|
|
class MxChPanel : public Panel
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit MxChPanel(QWidget *parent = nullptr);
|
|
|
|
|
|
|
|
protected:
|
2022-07-10 23:51:49 -04:00
|
|
|
virtual void OnOpeningData(void *data) override;
|
|
|
|
virtual void OnClosingData(void *data) override;
|
2022-06-27 12:44:50 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
QLineEdit *flag_edit_;
|
|
|
|
QSpinBox *obj_edit_;
|
|
|
|
QSpinBox *ms_offset_edit_;
|
|
|
|
QSpinBox *data_sz_edit_;
|
|
|
|
|
|
|
|
QVector<QCheckBox*> flag_checkboxes_;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void FlagCheckBoxClicked(bool e);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXCHPANEL_H
|