mirror of
https://github.com/sudoxnym/open-hyperion.git
synced 2026-04-15 03:56:57 +00:00
26 lines
571 B
C++
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;
|
|
}
|