#ifndef MXCHPANEL_H #define MXCHPANEL_H #include #include #include #include #include #include "panel.h" class MxChPanel : public Panel { Q_OBJECT public: explicit MxChPanel(QWidget *parent = nullptr); protected: virtual void OnOpeningData(void *data) override; virtual void OnClosingData(void *data) override; private: QLineEdit *flag_edit_; QSpinBox *obj_edit_; QSpinBox *ms_offset_edit_; QSpinBox *data_sz_edit_; QTextEdit *data_edit_; QPushButton *show_data_btn_; QVector flag_checkboxes_; private slots: void FlagCheckBoxClicked(bool e); void ShowDataField(); }; #endif // MXCHPANEL_H