OpenRGB/qt/OpenRGBPluginContainer.h
morg 8ee0b12ef8 Auto hide/show plugin containers
Commit amended for code style and to add comments by Adam Honse <calcprogrammer1@gmail.com>
2021-05-02 00:01:52 -05:00

28 lines
514 B
C++

#ifndef OPENRGBPLUGINCONTAINER_H
#define OPENRGBPLUGINCONTAINER_H
#include "ui_OpenRGBPluginContainer.h"
#include <QWidget>
namespace Ui
{
class OpenRGBPluginContainer;
}
class Ui::OpenRGBPluginContainer : public QWidget
{
Q_OBJECT
public:
explicit OpenRGBPluginContainer(QWidget *plugin, QWidget *parent = nullptr);
~OpenRGBPluginContainer();
void Hide();
void Show();
private:
Ui::OpenRGBPluginContainerUi *ui;
QWidget* plugin_widget;
};
#endif // OPENRGBPLUGINCONTAINER_H