mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Создание БД из кода. Требуется рефакт.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <QDialog>
|
||||
#include <QTranslator>
|
||||
#include <QEvent>
|
||||
#include "providerdblms.h"
|
||||
|
||||
class ServerDBSettings{
|
||||
public:
|
||||
@@ -25,7 +26,7 @@ class DialogSettingsTray : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DialogSettingsTray(QWidget *parent = nullptr);
|
||||
explicit DialogSettingsTray(ProviderDBLMS* providerDBLMS, QWidget *parent = nullptr);
|
||||
~DialogSettingsTray();
|
||||
|
||||
ServerDBSettings getSettings();
|
||||
@@ -55,6 +56,8 @@ private slots:
|
||||
|
||||
void on_editPassword_textChanged(const QString &arg1);
|
||||
|
||||
void on_btnCheckDB_clicked();
|
||||
|
||||
private:
|
||||
bool saveSettings();
|
||||
|
||||
@@ -63,6 +66,8 @@ private:
|
||||
|
||||
ServerDBSettings *settings;
|
||||
|
||||
ProviderDBLMS* providerDBLMS;
|
||||
|
||||
bool flSettingsServerChanged;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user