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

37 lines
930 B
C++

/*---------------------------------------------------------*\
| OpenRGBPluginContainer.h |
| |
| User interface entry for OpenRGB plugin container widget|
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <QWidget>
namespace Ui
{
class OpenRGBPluginContainer;
}
class OpenRGBPluginContainer : public QWidget
{
Q_OBJECT
public:
explicit OpenRGBPluginContainer(QWidget *plugin, QWidget *parent = nullptr);
~OpenRGBPluginContainer();
void Hide();
void Show();
QWidget* plugin_widget;
private:
Ui::OpenRGBPluginContainer *ui;
private slots:
void changeEvent(QEvent *event);
};