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:
|
2020-12-24 14:59:15 +00:00
|
|
|
virtual ~ORGBPlugin() {};
|
2020-12-11 23:53:32 +00:00
|
|
|
|
2020-12-24 14:59:15 +00:00
|
|
|
PluginInfo PInfo;
|
2020-12-15 00:44:48 +00:00
|
|
|
|
2020-12-24 14:59:15 +00:00
|
|
|
virtual PluginInfo DefineNeeded() override;
|
2020-12-12 17:39:01 +00:00
|
|
|
|
2020-12-24 14:59:15 +00:00
|
|
|
virtual PluginInfo init(json Settings , bool DarkTheme) override;
|
2020-12-12 23:59:34 +00:00
|
|
|
|
2020-12-24 14:59:15 +00:00
|
|
|
virtual QWidget *CreateGUI(QWidget *Parent) override;
|
2020-12-12 23:59:34 +00:00
|
|
|
private slots:
|
|
|
|
|
void on_ExampleButton_clicked();
|
2020-12-11 23:53:32 +00:00
|
|
|
};
|