Files
lcd-image-converter/classes/imageeditor/editor.cpp
2015-01-28 21:41:56 +05:00

44 lines
1.3 KiB
C++

#include "editor.h"
#include "windoweditor.h"
//-----------------------------------------------------------------------------
namespace ImageEditor
{
//-----------------------------------------------------------------------------
Editor::Editor(QObject *parent) : QObject(parent)
{
this->mWidget = new WindowEditor();
}
//-----------------------------------------------------------------------------
Editor::~Editor()
{
delete this->mWidget;
}
//-----------------------------------------------------------------------------
QWidget *Editor::widget() const
{
return this->mWidget;
}
//-----------------------------------------------------------------------------
const QImage *Editor::image() const
{
return NULL;
}
//-----------------------------------------------------------------------------
void Editor::setImage(const QImage *_value)
{
Q_UNUSED(_value)
}
//-----------------------------------------------------------------------------
const QColor *Editor::foreColor() const
{
return NULL;
}
//-----------------------------------------------------------------------------
const QColor *Editor::backColor() const
{
return NULL;
}
//-----------------------------------------------------------------------------
} // end of namespace
//-----------------------------------------------------------------------------