From fbb6a5a1570666ad283afac6e545c578e65475b8 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 11 Oct 2022 19:21:52 +0200 Subject: client merge done --- client/client.pro | 26 ++++---- client/esp/MyTcpSocket.pro | 28 -------- client/esp/main.cpp | 29 -------- client/esp/mytcpsocket.cpp | 44 ------------ client/esp/mytcpsocket.h | 32 --------- client/esp/timetest.cpp | 18 ----- client/esp/timetest.h | 27 -------- client/main.cpp | 59 +++++++++-------- client/mytcpsocket.cpp | 44 ++++++++++++ client/mytcpsocket.h | 32 +++++++++ client/timetest.cpp | 18 +++++ client/timetest.h | 27 ++++++++ client/ui_dbconnector.h | 162 +++++++++++++++++++++++++++++++++++++++++++++ client/ui_mainwindow.h | 143 +++++++++++++++++++++++++++++++++++++++ 14 files changed, 471 insertions(+), 218 deletions(-) delete mode 100644 client/esp/MyTcpSocket.pro delete mode 100644 client/esp/main.cpp delete mode 100644 client/esp/mytcpsocket.cpp delete mode 100644 client/esp/mytcpsocket.h delete mode 100644 client/esp/timetest.cpp delete mode 100644 client/esp/timetest.h create mode 100644 client/mytcpsocket.cpp create mode 100644 client/mytcpsocket.h create mode 100644 client/timetest.cpp create mode 100644 client/timetest.h create mode 100644 client/ui_dbconnector.h create mode 100644 client/ui_mainwindow.h diff --git a/client/client.pro b/client/client.pro index 0de0a33..d680fba 100644 --- a/client/client.pro +++ b/client/client.pro @@ -1,23 +1,23 @@ -QT += core gui sql charts +QT += core gui sql charts network HEADERS += \ - dbconnector.h \ - main.h \ - mainwindow.h -# chart.h \ -# chartview.h + dbconnector.h \ + main.h \ + mainwindow.h \ + mytcpsocket.h \ + timetest.h SOURCES += \ - dbconnector.cpp \ - main.cpp \ - mainwindow.cpp -# chart.cpp \ -# chartview.cpp + dbconnector.cpp \ + main.cpp \ + mainwindow.cpp \ + mytcpsocket.cpp \ + timetest.cpp FORMS += \ - dbconnector.ui \ - mainwindow.ui + dbconnector.ui \ + mainwindow.ui INSTALLS += target CONFIG += force_debug_info diff --git a/client/esp/MyTcpSocket.pro b/client/esp/MyTcpSocket.pro deleted file mode 100644 index eb1a19e..0000000 --- a/client/esp/MyTcpSocket.pro +++ /dev/null @@ -1,28 +0,0 @@ -QT += core -QT -= gui -QT += network - -TARGET = QTcpSocket - -CONFIG += console -CONFIG -= app_bundle - - -TEMPLATE = app -# You can make your code fail to compile if it uses deprecated APIs. -# In order to do so, uncomment the following line. -#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 - -SOURCES += \ - main.cpp \ - mytcpsocket.cpp \ - timetest.cpp - -# Default rules for deployment. -qnx: target.path = /tmp/$${TARGET}/bin -else: unix:!android: target.path = /opt/$${TARGET}/bin -!isEmpty(target.path): INSTALLS += target - -HEADERS += \ - mytcpsocket.h \ - timetest.h diff --git a/client/esp/main.cpp b/client/esp/main.cpp deleted file mode 100644 index 753b946..0000000 --- a/client/esp/main.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include "mytcpsocket.h" -#include "timetest.h" - -int main(int argc, char *argv[]) -{ - QCoreApplication a(argc, argv); -// qint16 startTime= 46; -TimeTest time; - - -//while(1){ - -// -// qint16 minuut = time.myfunction(); - -// if(minuut == startTime) -// { -// qDebug() << "Tijd: " << minuut; -// startTime+=1; - -// } -//} -MyTcpSocket s; -s.doConnect(); - - - return a.exec(); -} diff --git a/client/esp/mytcpsocket.cpp b/client/esp/mytcpsocket.cpp deleted file mode 100644 index 92dd67a..0000000 --- a/client/esp/mytcpsocket.cpp +++ /dev/null @@ -1,44 +0,0 @@ -#include - -MyTcpSocket::MyTcpSocket(QObject *parent) : - QObject(parent) -{ -} - -void MyTcpSocket::doConnect() -{ - socket = new QTcpSocket(this); - - connect(socket, SIGNAL(connected()),this, SLOT(connected())); - connect(socket, SIGNAL(disconnected()),this, SLOT(disconnected())); - // connect(socket, SIGNAL(bytesWritten(qint64)),this, SLOT(bytesWritten(qint64))); - connect(socket, SIGNAL(readyRead()),this, SLOT(readyRead())); - qDebug() << "connectig..."; - - socket->connectToHost("192.168.137.141",80); - - if(!socket->waitForConnected(5000)){ - qDebug()<<"Error: "<< socket->errorString(); - } -} - -void MyTcpSocket::connected(){ - qDebug() << "connected..."; - - socket->write("Weerdata: Temp:?\r\n\r\n\r\n\r\n"); - -} -void MyTcpSocket::disconnected(){ - qDebug() << "disconnected..."; - -} - -void MyTcpSocket::bytesWritten(qint64 bytes){ - qDebug() << bytes << "bytes written..."; - -} -void MyTcpSocket::readyRead(){ - qDebug() << "reading..."; - - qDebug() << socket->readAll(); -} diff --git a/client/esp/mytcpsocket.h b/client/esp/mytcpsocket.h deleted file mode 100644 index 4a7e543..0000000 --- a/client/esp/mytcpsocket.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef MYTCPSOCKET_H -#define MYTCPSOCKET_H - -#include -#include -#include -#include - -class MyTcpSocket : public QObject -{ - Q_OBJECT -public: - explicit MyTcpSocket(QObject *parent = 0); - - void doConnect(); -signals: -public slots: - void connected(); - void disconnected(); - void bytesWritten(qint64 bytes); - void readyRead(); -private: - QTcpSocket *socket; - - - - - -}; - - -#endif // MYTCPSOCKET_H diff --git a/client/esp/timetest.cpp b/client/esp/timetest.cpp deleted file mode 100644 index 2e575f2..0000000 --- a/client/esp/timetest.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "timetest.h" - -TimeTest::TimeTest(QObject *parent) : QObject(parent) -{ - timer = new QTimer(this); - connect(timer, SIGNAL(timeout()),this,SLOT(myfunction())); - timer->start(5000); -} - -qint16 TimeTest::myfunction() -{ - QTime time = QTime::currentTime(); - qint16 time_text = time.minute(); - - return time_text; - - -} diff --git a/client/esp/timetest.h b/client/esp/timetest.h deleted file mode 100644 index aa1d8a5..0000000 --- a/client/esp/timetest.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef TIMETEST_H -#define TIMETEST_H -#include -#include -#include -#include - -class TimeTest : public QObject -{ - Q_OBJECT -public: - explicit TimeTest(QObject *parent = 0); - -signals: -public slots: - qint16 myfunction(); - -private: - QTimer *timer; - - - - -}; - - -#endif // TIMETEST_H diff --git a/client/main.cpp b/client/main.cpp index 84706bf..0f6b816 100644 --- a/client/main.cpp +++ b/client/main.cpp @@ -14,50 +14,55 @@ #include "mainwindow.h" #include "main.h" #include "ui_mainwindow.h" +#include "mytcpsocket.h" +#include "timetest.h" QSqlDatabase dbRef = QSqlDatabase(); int main(int argc, char *argv[]) { - QApplication a(argc, argv); - MainWindow w; - dbRef = QSqlDatabase::addDatabase("QMYSQL"); + QApplication a(argc, argv); + TimeTest time; + MyTcpSocket s; + // s.doConnect(); + MainWindow w; + dbRef = QSqlDatabase::addDatabase("QMYSQL"); - w.show(); - return a.exec(); + w.show(); + return a.exec(); } /* QT_CHARTS_USE_NAMESPACE int main(int argc, char *argv[]) { - QApplication a(argc, argv); + QApplication a(argc, argv); //![1] - QLineSeries *series = new QLineSeries(); - for (int i = 0; i < 500; i++) { - QPointF p((qreal) i, qSin(M_PI / 50 * i) * 100); - p.ry() += QRandomGenerator::global()->bounded(20); - *series << p; - } + QLineSeries *series = new QLineSeries(); + for (int i = 0; i < 500; i++) { + QPointF p((qreal) i, qSin(M_PI / 50 * i) * 100); + p.ry() += QRandomGenerator::global()->bounded(20); + *series << p; + } //![1] - Chart *chart = new Chart(); - chart->addSeries(series); - chart->setTitle("Zoom in/out example"); - chart->setAnimationOptions(QChart::SeriesAnimations); - chart->legend()->hide(); - chart->createDefaultAxes(); + Chart *chart = new Chart(); + chart->addSeries(series); + chart->setTitle("Zoom in/out example"); + chart->setAnimationOptions(QChart::SeriesAnimations); + chart->legend()->hide(); + chart->createDefaultAxes(); - ChartView *chartView = new ChartView(chart); - chartView->setRenderHint(QPainter::Antialiasing); + ChartView *chartView = new ChartView(chart); + chartView->setRenderHint(QPainter::Antialiasing); - QMainWindow window; - window.setCentralWidget(chartView); - window.resize(400, 300); - window.grabGesture(Qt::PanGesture); - window.grabGesture(Qt::PinchGesture); - window.show(); + QMainWindow window; + window.setCentralWidget(chartView); + window.resize(400, 300); + window.grabGesture(Qt::PanGesture); + window.grabGesture(Qt::PinchGesture); + window.show(); - return a.exec(); + return a.exec(); } */ diff --git a/client/mytcpsocket.cpp b/client/mytcpsocket.cpp new file mode 100644 index 0000000..92dd67a --- /dev/null +++ b/client/mytcpsocket.cpp @@ -0,0 +1,44 @@ +#include + +MyTcpSocket::MyTcpSocket(QObject *parent) : + QObject(parent) +{ +} + +void MyTcpSocket::doConnect() +{ + socket = new QTcpSocket(this); + + connect(socket, SIGNAL(connected()),this, SLOT(connected())); + connect(socket, SIGNAL(disconnected()),this, SLOT(disconnected())); + // connect(socket, SIGNAL(bytesWritten(qint64)),this, SLOT(bytesWritten(qint64))); + connect(socket, SIGNAL(readyRead()),this, SLOT(readyRead())); + qDebug() << "connectig..."; + + socket->connectToHost("192.168.137.141",80); + + if(!socket->waitForConnected(5000)){ + qDebug()<<"Error: "<< socket->errorString(); + } +} + +void MyTcpSocket::connected(){ + qDebug() << "connected..."; + + socket->write("Weerdata: Temp:?\r\n\r\n\r\n\r\n"); + +} +void MyTcpSocket::disconnected(){ + qDebug() << "disconnected..."; + +} + +void MyTcpSocket::bytesWritten(qint64 bytes){ + qDebug() << bytes << "bytes written..."; + +} +void MyTcpSocket::readyRead(){ + qDebug() << "reading..."; + + qDebug() << socket->readAll(); +} diff --git a/client/mytcpsocket.h b/client/mytcpsocket.h new file mode 100644 index 0000000..4a7e543 --- /dev/null +++ b/client/mytcpsocket.h @@ -0,0 +1,32 @@ +#ifndef MYTCPSOCKET_H +#define MYTCPSOCKET_H + +#include +#include +#include +#include + +class MyTcpSocket : public QObject +{ + Q_OBJECT +public: + explicit MyTcpSocket(QObject *parent = 0); + + void doConnect(); +signals: +public slots: + void connected(); + void disconnected(); + void bytesWritten(qint64 bytes); + void readyRead(); +private: + QTcpSocket *socket; + + + + + +}; + + +#endif // MYTCPSOCKET_H diff --git a/client/timetest.cpp b/client/timetest.cpp new file mode 100644 index 0000000..2e575f2 --- /dev/null +++ b/client/timetest.cpp @@ -0,0 +1,18 @@ +#include "timetest.h" + +TimeTest::TimeTest(QObject *parent) : QObject(parent) +{ + timer = new QTimer(this); + connect(timer, SIGNAL(timeout()),this,SLOT(myfunction())); + timer->start(5000); +} + +qint16 TimeTest::myfunction() +{ + QTime time = QTime::currentTime(); + qint16 time_text = time.minute(); + + return time_text; + + +} diff --git a/client/timetest.h b/client/timetest.h new file mode 100644 index 0000000..aa1d8a5 --- /dev/null +++ b/client/timetest.h @@ -0,0 +1,27 @@ +#ifndef TIMETEST_H +#define TIMETEST_H +#include +#include +#include +#include + +class TimeTest : public QObject +{ + Q_OBJECT +public: + explicit TimeTest(QObject *parent = 0); + +signals: +public slots: + qint16 myfunction(); + +private: + QTimer *timer; + + + + +}; + + +#endif // TIMETEST_H diff --git a/client/ui_dbconnector.h b/client/ui_dbconnector.h new file mode 100644 index 0000000..afb6f11 --- /dev/null +++ b/client/ui_dbconnector.h @@ -0,0 +1,162 @@ +/******************************************************************************** +** Form generated from reading UI file 'dbconnector.ui' +** +** Created by: Qt User Interface Compiler version 5.15.6 +** +** WARNING! All changes made in this file will be lost when recompiling UI file! +********************************************************************************/ + +#ifndef UI_DBCONNECTOR_H +#define UI_DBCONNECTOR_H + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QT_BEGIN_NAMESPACE + +class Ui_dbConnector +{ +public: + QWidget *formLayoutWidget; + QFormLayout *formLayout; + QLabel *label_3; + QLineEdit *lineEdit_adress; + QLabel *label_4; + QLineEdit *lineEdit_database; + QFrame *line; + QLabel *label; + QLineEdit *lineEdit_username; + QLabel *label_2; + QLineEdit *lineEdit_password; + QLabel *connectLabel; + QHBoxLayout *horizontalLayout; + QPushButton *pushButton_login; + QPushButton *pushButton_cancel; + + void setupUi(QDialog *dbConnector) + { + if (dbConnector->objectName().isEmpty()) + dbConnector->setObjectName(QString::fromUtf8("dbConnector")); + dbConnector->resize(362, 273); + formLayoutWidget = new QWidget(dbConnector); + formLayoutWidget->setObjectName(QString::fromUtf8("formLayoutWidget")); + formLayoutWidget->setGeometry(QRect(60, 60, 241, 173)); + formLayout = new QFormLayout(formLayoutWidget); + formLayout->setObjectName(QString::fromUtf8("formLayout")); + formLayout->setContentsMargins(0, 0, 0, 0); + label_3 = new QLabel(formLayoutWidget); + label_3->setObjectName(QString::fromUtf8("label_3")); + + formLayout->setWidget(0, QFormLayout::LabelRole, label_3); + + lineEdit_adress = new QLineEdit(formLayoutWidget); + lineEdit_adress->setObjectName(QString::fromUtf8("lineEdit_adress")); + + formLayout->setWidget(0, QFormLayout::FieldRole, lineEdit_adress); + + label_4 = new QLabel(formLayoutWidget); + label_4->setObjectName(QString::fromUtf8("label_4")); + + formLayout->setWidget(1, QFormLayout::LabelRole, label_4); + + lineEdit_database = new QLineEdit(formLayoutWidget); + lineEdit_database->setObjectName(QString::fromUtf8("lineEdit_database")); + + formLayout->setWidget(1, QFormLayout::FieldRole, lineEdit_database); + + line = new QFrame(formLayoutWidget); + line->setObjectName(QString::fromUtf8("line")); + line->setFrameShape(QFrame::HLine); + line->setFrameShadow(QFrame::Sunken); + + formLayout->setWidget(2, QFormLayout::SpanningRole, line); + + label = new QLabel(formLayoutWidget); + label->setObjectName(QString::fromUtf8("label")); + + formLayout->setWidget(3, QFormLayout::LabelRole, label); + + lineEdit_username = new QLineEdit(formLayoutWidget); + lineEdit_username->setObjectName(QString::fromUtf8("lineEdit_username")); + lineEdit_username->setEchoMode(QLineEdit::PasswordEchoOnEdit); + + formLayout->setWidget(3, QFormLayout::FieldRole, lineEdit_username); + + label_2 = new QLabel(formLayoutWidget); + label_2->setObjectName(QString::fromUtf8("label_2")); + + formLayout->setWidget(4, QFormLayout::LabelRole, label_2); + + lineEdit_password = new QLineEdit(formLayoutWidget); + lineEdit_password->setObjectName(QString::fromUtf8("lineEdit_password")); + QFont font; + font.setUnderline(false); + font.setStrikeOut(false); + font.setKerning(true); + lineEdit_password->setFont(font); + lineEdit_password->setEchoMode(QLineEdit::Password); + + formLayout->setWidget(4, QFormLayout::FieldRole, lineEdit_password); + + connectLabel = new QLabel(formLayoutWidget); + connectLabel->setObjectName(QString::fromUtf8("connectLabel")); + + formLayout->setWidget(5, QFormLayout::LabelRole, connectLabel); + + horizontalLayout = new QHBoxLayout(); + horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); + pushButton_login = new QPushButton(formLayoutWidget); + pushButton_login->setObjectName(QString::fromUtf8("pushButton_login")); + + horizontalLayout->addWidget(pushButton_login); + + pushButton_cancel = new QPushButton(formLayoutWidget); + pushButton_cancel->setObjectName(QString::fromUtf8("pushButton_cancel")); + + horizontalLayout->addWidget(pushButton_cancel); + + + formLayout->setLayout(5, QFormLayout::FieldRole, horizontalLayout); + + + retranslateUi(dbConnector); + + QMetaObject::connectSlotsByName(dbConnector); + } // setupUi + + void retranslateUi(QDialog *dbConnector) + { + dbConnector->setWindowTitle(QCoreApplication::translate("dbConnector", "Dialog", nullptr)); + label_3->setText(QCoreApplication::translate("dbConnector", "Adress", nullptr)); + lineEdit_adress->setText(QCoreApplication::translate("dbConnector", "localhost", nullptr)); + lineEdit_adress->setPlaceholderText(QCoreApplication::translate("dbConnector", "Hostname/IP-Adress", nullptr)); + label_4->setText(QCoreApplication::translate("dbConnector", "Database", nullptr)); + lineEdit_database->setPlaceholderText(QCoreApplication::translate("dbConnector", "Database name", nullptr)); + label->setText(QCoreApplication::translate("dbConnector", "Username", nullptr)); + lineEdit_username->setText(QCoreApplication::translate("dbConnector", "root", nullptr)); + lineEdit_username->setPlaceholderText(QCoreApplication::translate("dbConnector", "Username", nullptr)); + label_2->setText(QCoreApplication::translate("dbConnector", "Password", nullptr)); + lineEdit_password->setText(QString()); + lineEdit_password->setPlaceholderText(QCoreApplication::translate("dbConnector", "Password", nullptr)); + connectLabel->setText(QCoreApplication::translate("dbConnector", "Connect", nullptr)); + pushButton_login->setText(QCoreApplication::translate("dbConnector", "Login", nullptr)); + pushButton_cancel->setText(QCoreApplication::translate("dbConnector", "Cancel", nullptr)); + } // retranslateUi + +}; + +namespace Ui { + class dbConnector: public Ui_dbConnector {}; +} // namespace Ui + +QT_END_NAMESPACE + +#endif // UI_DBCONNECTOR_H diff --git a/client/ui_mainwindow.h b/client/ui_mainwindow.h new file mode 100644 index 0000000..8854685 --- /dev/null +++ b/client/ui_mainwindow.h @@ -0,0 +1,143 @@ +/******************************************************************************** +** Form generated from reading UI file 'mainwindow.ui' +** +** Created by: Qt User Interface Compiler version 5.15.6 +** +** WARNING! All changes made in this file will be lost when recompiling UI file! +********************************************************************************/ + +#ifndef UI_MAINWINDOW_H +#define UI_MAINWINDOW_H + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +QT_BEGIN_NAMESPACE + +class Ui_MainWindow +{ +public: + QAction *actionAbout; + QAction *actionRefresh; + QAction *actionLOAD; + QAction *actionQuerry; + QAction *actionConnection; + QAction *actionDisconnenct; + QAction *actionQuerry_2; + QAction *actionStatus; + QWidget *centralwidget; + QPushButton *pushButton; + QWidget *verticalLayoutWidget; + QVBoxLayout *verticalLayout; + QTableView *tableView; + QMenuBar *menubar; + QMenu *menuAbouy; + QMenu *menuTEMP; + QMenu *menuDatabase; + QStatusBar *statusbar; + + void setupUi(QMainWindow *MainWindow) + { + if (MainWindow->objectName().isEmpty()) + MainWindow->setObjectName(QString::fromUtf8("MainWindow")); + MainWindow->resize(800, 600); + actionAbout = new QAction(MainWindow); + actionAbout->setObjectName(QString::fromUtf8("actionAbout")); + actionRefresh = new QAction(MainWindow); + actionRefresh->setObjectName(QString::fromUtf8("actionRefresh")); + actionLOAD = new QAction(MainWindow); + actionLOAD->setObjectName(QString::fromUtf8("actionLOAD")); + actionQuerry = new QAction(MainWindow); + actionQuerry->setObjectName(QString::fromUtf8("actionQuerry")); + actionConnection = new QAction(MainWindow); + actionConnection->setObjectName(QString::fromUtf8("actionConnection")); + actionDisconnenct = new QAction(MainWindow); + actionDisconnenct->setObjectName(QString::fromUtf8("actionDisconnenct")); + actionQuerry_2 = new QAction(MainWindow); + actionQuerry_2->setObjectName(QString::fromUtf8("actionQuerry_2")); + actionStatus = new QAction(MainWindow); + actionStatus->setObjectName(QString::fromUtf8("actionStatus")); + centralwidget = new QWidget(MainWindow); + centralwidget->setObjectName(QString::fromUtf8("centralwidget")); + pushButton = new QPushButton(centralwidget); + pushButton->setObjectName(QString::fromUtf8("pushButton")); + pushButton->setEnabled(true); + pushButton->setGeometry(QRect(310, 0, 121, 41)); + verticalLayoutWidget = new QWidget(centralwidget); + verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget")); + verticalLayoutWidget->setGeometry(QRect(-10, 40, 801, 401)); + verticalLayout = new QVBoxLayout(verticalLayoutWidget); + verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); + verticalLayout->setContentsMargins(0, 0, 0, 0); + tableView = new QTableView(verticalLayoutWidget); + tableView->setObjectName(QString::fromUtf8("tableView")); + + verticalLayout->addWidget(tableView); + + MainWindow->setCentralWidget(centralwidget); + menubar = new QMenuBar(MainWindow); + menubar->setObjectName(QString::fromUtf8("menubar")); + menubar->setGeometry(QRect(0, 0, 800, 21)); + menuAbouy = new QMenu(menubar); + menuAbouy->setObjectName(QString::fromUtf8("menuAbouy")); + menuTEMP = new QMenu(menubar); + menuTEMP->setObjectName(QString::fromUtf8("menuTEMP")); + menuDatabase = new QMenu(menubar); + menuDatabase->setObjectName(QString::fromUtf8("menuDatabase")); + MainWindow->setMenuBar(menubar); + statusbar = new QStatusBar(MainWindow); + statusbar->setObjectName(QString::fromUtf8("statusbar")); + MainWindow->setStatusBar(statusbar); + + menubar->addAction(menuAbouy->menuAction()); + menubar->addAction(menuTEMP->menuAction()); + menubar->addAction(menuDatabase->menuAction()); + menuAbouy->addAction(actionAbout); + menuAbouy->addAction(actionRefresh); + menuTEMP->addAction(actionLOAD); + menuTEMP->addAction(actionQuerry); + menuDatabase->addAction(actionConnection); + menuDatabase->addAction(actionDisconnenct); + menuDatabase->addAction(actionStatus); + + retranslateUi(MainWindow); + + QMetaObject::connectSlotsByName(MainWindow); + } // setupUi + + void retranslateUi(QMainWindow *MainWindow) + { + MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow", "MainWindow", nullptr)); + actionAbout->setText(QCoreApplication::translate("MainWindow", "About", nullptr)); + actionRefresh->setText(QCoreApplication::translate("MainWindow", "Refresh", nullptr)); + actionLOAD->setText(QCoreApplication::translate("MainWindow", "Load", nullptr)); + actionQuerry->setText(QCoreApplication::translate("MainWindow", "Query", nullptr)); + actionConnection->setText(QCoreApplication::translate("MainWindow", "Connect", nullptr)); + actionDisconnenct->setText(QCoreApplication::translate("MainWindow", "Disconnenct", nullptr)); + actionQuerry_2->setText(QCoreApplication::translate("MainWindow", "Querry", nullptr)); + actionStatus->setText(QCoreApplication::translate("MainWindow", "Status", nullptr)); + pushButton->setText(QCoreApplication::translate("MainWindow", "DoesSomething", nullptr)); + menuAbouy->setTitle(QCoreApplication::translate("MainWindow", "Home", nullptr)); + menuTEMP->setTitle(QCoreApplication::translate("MainWindow", "TEMP", nullptr)); + menuDatabase->setTitle(QCoreApplication::translate("MainWindow", "Database", nullptr)); + } // retranslateUi + +}; + +namespace Ui { + class MainWindow: public Ui_MainWindow {}; +} // namespace Ui + +QT_END_NAMESPACE + +#endif // UI_MAINWINDOW_H -- cgit v1.2.3