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

35 lines
810 B
C++

#ifndef SUPPORTEDDEVICESPAGE_H
#define SUPPORTEDDEVICESPAGE_H
#include "DetectorTableModel.h"
#include "ui_OpenRGBSupportedDevicesPage.h"
#include <QWidget>
#include <QSortFilterProxyModel>
namespace Ui {
class OpenRGBSupportedDevicesPage;
}
class Ui::OpenRGBSupportedDevicesPage : public QWidget
{
Q_OBJECT
public:
explicit OpenRGBSupportedDevicesPage(QWidget *parent = nullptr);
~OpenRGBSupportedDevicesPage();
DetectorTableModel* detectorTableModel;
QSortFilterProxyModel* detectorSortModel;
private slots:
void changeEvent(QEvent *event);
void on_SaveButton_clicked();
void on_Filter_textChanged(const QString &arg1);
void on_ToggleAllCheckbox_toggled(const bool checked);
private:
Ui::OpenRGBSupportedDevicesPageUi *ui;
};
#endif // SUPPORTEDDEVICESPAGE_H