mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-23 23:37:48 -05:00
37 lines
930 B
C++
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);
|
|
};
|