Files
OpenRGB/qt/OpenRGBPluginContainer.h
Chris 2e02f1d782 Adding ability to switch language files at runtime to resolve #2743
* 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
2022-11-27 04:07:30 +00:00

33 lines
568 B
C++

#ifndef OPENRGBPLUGINCONTAINER_H
#define OPENRGBPLUGINCONTAINER_H
#include "ui_OpenRGBPluginContainer.h"
#include <QWidget>
namespace Ui
{
class OpenRGBPluginContainer;
}
class Ui::OpenRGBPluginContainer : public QWidget
{
Q_OBJECT
public:
explicit OpenRGBPluginContainer(QWidget *plugin, QWidget *parent = nullptr);
~OpenRGBPluginContainer();
void Hide();
void Show();
QWidget* plugin_widget;
private:
Ui::OpenRGBPluginContainerUi *ui;
private slots:
void changeEvent(QEvent *event);
};
#endif // OPENRGBPLUGINCONTAINER_H