* 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
28 lines
413 B
C++
28 lines
413 B
C++
#ifndef TABLABEL_H
|
|
#define TABLABEL_H
|
|
|
|
#include <QWidget>
|
|
#include "ui_TabLabel.h"
|
|
|
|
namespace Ui {
|
|
class TabLabel;
|
|
}
|
|
|
|
class Ui::TabLabel : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
TabLabel(QString icon, QString name, char* original, char* context);
|
|
~TabLabel();
|
|
|
|
private:
|
|
Ui::TabLabelUi *ui;
|
|
char* label;
|
|
char* ctxt;
|
|
|
|
private slots:
|
|
void changeEvent(QEvent *event);
|
|
};
|
|
|
|
#endif // TABLABEL_H
|