#ifndef BASEDIALOG_H #define BASEDIALOG_H #include #include "ui_basedialog.h" class CBaseDialog : public QDialog { Q_OBJECT public: CBaseDialog(QWidget *parent = 0); ~CBaseDialog(); private: virtual void paintEvent(QPaintEvent * event); protected: Ui::CBaseDialog base_ui; }; #endif // BASEDIALOG_H