2022-06-24 13:46:25 -04:00
|
|
|
#ifndef MXHDPANEL_H
|
|
|
|
#define MXHDPANEL_H
|
|
|
|
|
|
|
|
#include <QLineEdit>
|
|
|
|
#include <QSpinBox>
|
|
|
|
|
|
|
|
#include "panel.h"
|
|
|
|
|
|
|
|
class MxHdPanel : public Panel
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit MxHdPanel(QWidget *parent = nullptr);
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
protected:
|
2022-06-27 12:44:50 -04:00
|
|
|
virtual void OnOpeningData(si::Chunk *chunk) override;
|
|
|
|
virtual void OnClosingData(si::Chunk *chunk) override;
|
2022-06-24 13:46:25 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
QSpinBox *major_version_edit_;
|
|
|
|
QSpinBox *minor_version_edit_;
|
|
|
|
QSpinBox *buffer_alignment_edit_;
|
|
|
|
QSpinBox *buffer_count_edit_;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXHDPANEL_H
|