OpenRGB/qt/OpenRGBZonesBulkResizer.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

41 lines
892 B
C++

#ifndef OPENRGBZONESBULKRESIZER_H
#define OPENRGBZONESBULKRESIZER_H
#include "ui_OpenRGBZonesBulkResizer.h"
#include "RGBController.h"
#include <QWidget>
namespace Ui {
class OpenRGBZonesBulkResizer;
}
class Ui::OpenRGBZonesBulkResizer : public QWidget
{
Q_OBJECT
public:
static void RunChecks(QWidget *parent);
explicit OpenRGBZonesBulkResizer(QWidget*, const std::vector<std::tuple<RGBController*, unsigned int>>&);
~OpenRGBZonesBulkResizer();
private:
Ui::OpenRGBZonesBulkResizerUi *ui;
const std::vector<std::tuple<RGBController*, unsigned int>>& unconfigured_zones;
void CreateZoneWidget(RGBController*, unsigned int);
void SaveDoNotRunState();
signals:
void CloseRequest();
private slots:
void changeEvent(QEvent *event);
void on_save_button_clicked();
void on_ignore_button_clicked();
};
#endif // OPENRGBZONESBULKRESIZER_H