SIEdit/app/panels/mxhd.h
2022-06-27 09:44:50 -07:00

29 lines
511 B
C++

#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:
virtual void OnOpeningData(si::Chunk *chunk) override;
virtual void OnClosingData(si::Chunk *chunk) override;
private:
QSpinBox *major_version_edit_;
QSpinBox *minor_version_edit_;
QSpinBox *buffer_alignment_edit_;
QSpinBox *buffer_count_edit_;
};
#endif // MXHDPANEL_H