MIsc changes
This commit is contained in:
parent
0f37f74dda
commit
089c793df7
8 changed files with 314 additions and 409 deletions
|
|
@ -5,12 +5,21 @@
|
|||
#include "ConnectionConfig.h"
|
||||
#include <QProcess>
|
||||
|
||||
namespace Ui {
|
||||
class BackupDialog;
|
||||
}
|
||||
|
||||
class QStringList;
|
||||
|
||||
class QLabel;
|
||||
class QPushButton;
|
||||
class QTabWidget;
|
||||
class QVBoxLayout;
|
||||
class QHBoxLayout;
|
||||
class QComboBox;
|
||||
class QSpinBox;
|
||||
class QCheckBox;
|
||||
class QPlainTextEdit;
|
||||
class QLineEdit;
|
||||
class QFormLayout;
|
||||
|
||||
|
||||
class BackupDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
@ -23,11 +32,42 @@ public:
|
|||
|
||||
void disconnectCurrentProcess();
|
||||
void setConfig(const ConnectionConfig &cfg);
|
||||
void retranslateUi();
|
||||
private:
|
||||
Ui::BackupDialog *ui;
|
||||
|
||||
QProcess *m_process = nullptr;
|
||||
ConnectionConfig m_config;
|
||||
|
||||
QPushButton *btnStart;
|
||||
QTabWidget *tabWidget;
|
||||
QWidget *tab;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QFormLayout *formLayout;
|
||||
QWidget *widget;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QLineEdit *editFilename;
|
||||
QPushButton *selectDestination;
|
||||
QComboBox *backupFormat;
|
||||
QSpinBox *jobs;
|
||||
QCheckBox *chkbxVerbose;
|
||||
QSpinBox *compression;
|
||||
QCheckBox *chkbxIncludeBlobs;
|
||||
QCheckBox *chkbxClean;
|
||||
QCheckBox *chkbxCreate;
|
||||
QCheckBox *noOwner;
|
||||
QCheckBox *oids;
|
||||
QComboBox *what;
|
||||
QCheckBox *noAcl;
|
||||
QWidget *tab_2;
|
||||
QVBoxLayout *verticalLayout_2;
|
||||
QPlainTextEdit *stdOutput;
|
||||
QLabel *label;
|
||||
QLabel *label_2;
|
||||
QLabel *label_3;
|
||||
QLabel *label_4;
|
||||
QLabel *label_5;
|
||||
|
||||
|
||||
void writeOutput(const QString &s);
|
||||
|
||||
void setParams(QStringList &args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue