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

31 lines
652 B
C++

#ifndef OPENRGBZONERESIZEDIALOG_H
#define OPENRGBZONERESIZEDIALOG_H
#include <QDialog>
#include "ui_OpenRGBZoneResizeDialog.h"
namespace Ui {
class OpenRGBZoneResizeDialog;
}
class Ui::OpenRGBZoneResizeDialog : public QDialog
{
Q_OBJECT
public:
explicit OpenRGBZoneResizeDialog(int size_min, int size_max, int size_current, QWidget *parent = nullptr);
~OpenRGBZoneResizeDialog();
int show();
private slots:
void changeEvent(QEvent *event);
void on_ResizeSlider_valueChanged(int value);
void on_ResizeBox_valueChanged(int arg1);
private:
Ui::OpenRGBZoneResizeDialogUi *ui;
};
#endif // OPENRGBZONERESIZEDIALOG_H