You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
759 B
42 lines
759 B
14 years ago
|
#ifndef UBUPDATEDLG_H
|
||
|
#define UBUPDATEDLG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include <QLabel>
|
||
|
#include <QPushButton>
|
||
|
#include <QLineEdit>
|
||
|
#include <QDialogButtonBox>
|
||
|
#include <QVBoxLayout>
|
||
|
#include <QHBoxLayout>
|
||
|
|
||
|
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();
|
||
|
|
||
|
private:
|
||
|
QLabel mNbFilesLabel;
|
||
|
QLabel mBkpLabel;
|
||
|
QLineEdit mBkpPath;
|
||
|
QPushButton mBrowseBttn;
|
||
|
QDialogButtonBox* mpDlgBttn;
|
||
|
QVBoxLayout mLayout;
|
||
|
QHBoxLayout mHLayout;
|
||
|
};
|
||
|
|
||
|
#endif // UBUPDATEDLG_H
|