source: src-qt4/life-preserver/lp-gui/LPClassic.h @ 109c737

releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 109c737 was 109c737, checked in by Ken Moore <ken@…>, 9 months ago

Add a new "Classic Backup" dialog for customizing the home-dir archive and providing status updates while it is running.

  • Property mode set to 100644
File size: 984 bytes
Line 
1#ifndef _LP_GUI_CLASSIC_BACKUP_H
2#define _LP_GUI_CLASSIC_BACKUP_H
3
4#include <QDialog>
5#include <QTimer>
6#include <QFile>
7#include <QFileInfo>
8#include <QDebug>
9#include <QProcess>
10#include <QProcessEnvironment>
11#include <QDateTime>
12#include <QFileDialog>
13
14namespace Ui{
15        class LPClassic;
16};
17
18class LPClassic : public QDialog{
19        Q_OBJECT
20public:
21        LPClassic(QWidget *parent = 0);
22        ~LPClassic();
23
24        void setHomeDir(QString home);
25
26        bool running;
27
28private:
29        Ui::LPClassic *ui;
30        QTimer *fCheck;
31        QProcess *tarProc;
32        QString tarBaseDir, tarDir, tarFile;
33        bool stopped;
34        QFileInfo *tarInfo;
35
36private slots:
37        void updateFCheck();
38        void slotTarDone();
39
40        //Exclude list controls
41        void on_tool_rmexclude_clicked();
42        void on_tool_addexcludefile_clicked();
43        void on_tool_addexcludedir_clicked();
44        void on_list_exclude_itemSelectionChanged();
45
46        //Main Buttons
47        void on_push_cancel_clicked();
48        void on_push_start_clicked();
49        void on_push_stop_clicked();
50        void on_push_finished_clicked();
51       
52};
53
54#endif
Note: See TracBrowser for help on using the repository browser.