Skip to content
Snippets Groups Projects
Commit 8c662c64 authored by Sacha Percot-Tétu's avatar Sacha Percot-Tétu
Browse files

Added class EIImageService

EIImageService is the main GenericInterface::Service who manage the
application's specific stuff.
parent 15e2b59b
No related branches found
No related tags found
No related merge requests found
#include <GenericInterface.h>
#include "EIImageService.h"
using namespace genericinterface;
using namespace std;
EIImageService::EIImageService(GenericInterface* gi) {
_gi = gi;
_operationBar = new OperationBar();
}
void EIImageService::display(GenericInterface* gi)
{
QDockWidget* _operationDock = new QDockWidget("Oprations", gi);
_operationDock->setWidget(_operationBar);
gi->addDockWidget(Qt::LeftDockWidgetArea, _operationDock);
}
void EIImageService::connect(GenericInterface* gi)
{
}
\ No newline at end of file
#ifndef EIIMAGESERVICE_H
#define EIIMAGESERVICE_H
#include <Service.h>
#include <Plugin.h>
#include "../Widgets/OperationBar.h"
class EIImageService : public QObject, public genericinterface::Service
{
Q_OBJECT
public:
EIImageService(genericinterface::GenericInterface* gi);
void display(genericinterface::GenericInterface* gi);
void connect(genericinterface::GenericInterface* gi);
public slots:
private:
genericinterface::GenericInterface* _gi;
OperationBar* _operationBar;
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment