open-hyperion/ORGBExamplePlugin.cpp
2020-12-12 11:39:01 -06:00

26 lines
571 B
C++

#include "ORGBExamplePlugin.h"
#include <QDebug>
std::string ORGBPlugin::PluginName() const
{
return "ExamplePlugin";
}
std::string ORGBPlugin::PluginDesc() const
{
return "This is an Example plugin for OpenRGB";
}
std::string ORGBPlugin::PluginLocal() const
{
return "InfoTab";
}
QWidget* ORGBPlugin::CreateGUI(QWidget *Parent) const
{
QWidget *ORGBExamplePage = new QWidget(Parent);
QLabel *ORGBExampleLabel = new QLabel(ORGBExamplePage);
ORGBExampleLabel->setText("This is an example page added by plugins");
return ORGBExamplePage;
}