#ifndef BINARYEXPORTDIALOG_H #define BINARYEXPORTDIALOG_H #include "exportdialog.h" class QPlainTextEdit; class QSpinBox; /** * @brief Export dialog for binary/raw data with hex preview. * * Shows a hex dump preview of the data and provides options * for raw binary export. */ class BinaryExportDialog : public ExportDialog { Q_OBJECT public: explicit BinaryExportDialog(QWidget *parent = nullptr); protected: void setupPreview() override; void updatePreview() override; QStringList supportedFormats() const override; private: void updateHexPreview(); QPlainTextEdit* mHexPreview; QLabel* mSizeLabel; // Preview settings int mBytesPerLine; int mPreviewBytes; // How many bytes to show in preview }; #endif // BINARYEXPORTDIALOG_H