mirror of
https://github.com/FAUSheppy/speech-server-client-qt
synced 2025-12-06 08:51:35 +01:00
implement about window
This commit is contained in:
16
about.h
16
about.h
@@ -1,19 +1,31 @@
|
||||
#ifndef ABOUT_H
|
||||
#define ABOUT_H
|
||||
|
||||
#include <QBoxLayout>
|
||||
#include <QGroupBox>
|
||||
#include <QLabel>
|
||||
#include <QMainWindow>
|
||||
#include <QNetworkReply>
|
||||
#include <QSettings>
|
||||
|
||||
class About : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit About(QWidget *parent = nullptr);
|
||||
explicit About(QWidget *parent = nullptr, QSettings *settings = nullptr);
|
||||
~About();
|
||||
|
||||
private slots:
|
||||
void handleServerVersion(QNetworkReply*);
|
||||
private:
|
||||
QGridLayout* mainLayout;
|
||||
QGridLayout* layoutSoftwareinfo;
|
||||
QLabel* serverInfo;
|
||||
QGroupBox* softwareInfoGroup;
|
||||
QSettings* mySettings;
|
||||
QString* getCurrentVersion();
|
||||
QString *getServerVersion();
|
||||
QString* getServerVersion();
|
||||
};
|
||||
|
||||
#endif // ABOUT_H
|
||||
|
||||
Reference in New Issue
Block a user