OpenRGB/qt/TabLabel.h
2025-06-18 17:53:14 -05:00

34 lines
832 B
C++

/*---------------------------------------------------------*\
| TabLabel.h |
| |
| Qt widget for OpenRGB tab label |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <QWidget>
namespace Ui
{
class TabLabel;
}
class TabLabel : public QWidget
{
Q_OBJECT
public:
TabLabel(int icon, QString name, char* original, char* context);
~TabLabel();
private:
Ui::TabLabel *ui;
char* label;
char* ctxt;
private slots:
void changeEvent(QEvent *event);
};