#ifndef UBUPDATEDLG_H #define UBUPDATEDLG_H #include #include #include #include #include #include #include #include class UBUpdateDlg : public QDialog { Q_OBJECT public: UBUpdateDlg(QWidget *parent = 0, int nbFiles = 0, const QString& bkpPath = ""); ~UBUpdateDlg(); QString backupPath(); public slots: void onFilesUpdated(bool bResult); signals: void updateFiles(); private slots: void onBrowse(); void onUpdate(); void transitioningFile(QString fileName); private: QVBoxLayout* mMainLayout; QLabel* mNbFilesLabel; QLabel* mBkpLabel; QLineEdit* mBkpPath; QPushButton* mBrowseBttn; QDialogButtonBox* mpDlgBttn; QVBoxLayout* mLayout; QHBoxLayout* mHLayout; QStackedWidget* mStackedWidget; QWidget* mDialogWidget; QWidget* mProgressWidget; QHBoxLayout* mProgressLayout; QLabel* mProgressLabel; }; #endif // UBUPDATEDLG_H