#ifndef DLGVARLENGTH_H #define DLGVARLENGTH_H #include namespace Ui { class DlgVarLength; } class DlgVarLength : public QDialog { Q_OBJECT public: explicit DlgVarLength(QWidget *parent = 0); ~DlgVarLength(); int headLen; int endLen; short varLen; short varLen1; bool varEn; void applyUI(int len); public slots: void pushButtonOK_Pressed(); Q_SIGNALS: void on_set(); private: Ui::DlgVarLength *ui; }; #endif // DLGVARLENGTH_H