2020-12-11 23:53:32 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
2020-12-15 00:44:48 +00:00
|
|
|
#include "ORGBPluginInterface.h"
|
2020-12-12 23:59:34 +00:00
|
|
|
#include "Dependencies/ResourceManager.h"
|
2020-12-11 23:53:32 +00:00
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
#include <QString>
|
|
|
|
|
#include <QtPlugin>
|
2020-12-12 17:39:01 +00:00
|
|
|
#include "QWidget"
|
|
|
|
|
#include "QLabel"
|
2020-12-12 23:59:34 +00:00
|
|
|
#include "QPushButton"
|
|
|
|
|
#include "QDialog"
|
|
|
|
|
#include "QAction"
|
2020-12-11 23:53:32 +00:00
|
|
|
|
|
|
|
|
class ORGBPlugin : public QObject, public ORGBPluginInterface
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
Q_PLUGIN_METADATA(IID ORGBPluginInterface_IID)
|
|
|
|
|
Q_INTERFACES(ORGBPluginInterface)
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
~ORGBPlugin() override {}
|
|
|
|
|
|
2020-12-15 00:44:48 +00:00
|
|
|
bool HasCustomIcon() const override;
|
|
|
|
|
QLabel* TabLabel() const override;
|
|
|
|
|
|
|
|
|
|
std::string PluginName() const override;
|
|
|
|
|
std::string PluginDesc() const override;
|
|
|
|
|
std::string PluginLocal() const override;
|
2020-12-12 17:39:01 +00:00
|
|
|
|
2020-12-12 23:59:34 +00:00
|
|
|
QWidget* CreateGUI(QWidget *Parent, ResourceManager *RM = nullptr) const override;
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void on_ExampleButton_clicked();
|
2020-12-11 23:53:32 +00:00
|
|
|
};
|