* Removing .qm files from Windows build as they are inbuilt as of a7adfe251
* Moving translation change code to the OpenRGBSettingsPage
* Adding a changeEvent() to applicable Widgets to facilitate language updates
* Workaround added to TabLabel to accomodate translation context origin
* Added zh_TW locale to OpenRGB.pro
* Updated all translations to include the latest untranslated strings
35 lines
705 B
C++
35 lines
705 B
C++
#ifndef OPENRGBSERVERINFOPAGE_H
|
|
#define OPENRGBSERVERINFOPAGE_H
|
|
|
|
#include <QFrame>
|
|
#include "RGBController.h"
|
|
#include "ui_OpenRGBServerInfoPage.h"
|
|
#include "NetworkServer.h"
|
|
|
|
namespace Ui {
|
|
class OpenRGBServerInfoPage;
|
|
}
|
|
|
|
class Ui::OpenRGBServerInfoPage : public QFrame
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit OpenRGBServerInfoPage(NetworkServer * server, QWidget *parent = nullptr);
|
|
~OpenRGBServerInfoPage();
|
|
|
|
public slots:
|
|
void UpdateInfo();
|
|
|
|
private slots:
|
|
void changeEvent(QEvent *event);
|
|
void on_ServerStartButton_clicked();
|
|
void on_ServerStopButton_clicked();
|
|
|
|
private:
|
|
Ui::OpenRGBServerInfoPageUi *ui;
|
|
|
|
NetworkServer* network_server;
|
|
};
|
|
|
|
#endif // OPENRGBSERVERINFOPAGE_H
|