stec-platform
mysqlconfdialog.h
1 #ifndef MYSQLCONFDIALOG_H
2 #define MYSQLCONFDIALOG_H
3 
4 #include <QDialog>
5 #include "platformg_global.h"
6 
7 namespace Ui {
8 class MySqlConfDialog;
9 }
10 
16 class PLATFORMGSHARED_EXPORT MySqlConfDialog : public QDialog
17 {
18  Q_OBJECT
19 
20 private:
21 
22  bool tok;
23  Ui::MySqlConfDialog *ui;
24 
25 
26 public:
27 
38  MySqlConfDialog(QString &ipAddress, QString &port,
39  QString &database, QString &user, QString &passwd, QString &dtype, QWidget *parent = 0);
40 
42  virtual ~MySqlConfDialog();
43 
44  bool Ok() { return tok; }
45 
46 
58  static bool GetInformation( QString &ipAddress, QString &port,
59  QString &database, QString &user, QString &passwd, QString &dtype, QWidget *parent = NULL);
60 
61 public slots :
62  void slot_ok();
63  void Postgresql();
64 
65 };
66 
67 #endif // MYSQLCONFDIALOG_H
The MySqlConfDialog class Configures the sql database with default parameters.
Definition: mysqlconfdialog.h:17