новые иконки в OpenBoard
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.
OpenBoard/src/gui/UBUpdateDlg.h

53 lines
1.0 KiB

#ifndef UBUPDATEDLG_H
#define UBUPDATEDLG_H
#include <QDialog>
#include <QLabel>
#include <QPushButton>
#include <QLineEdit>
#include <QDialogButtonBox>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QStackedWidget>
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