/*
This file is Copyright.
(C) Copyright 2016
John Ryland
*/
#include "Editor.h"
#include <QPainter>
struct Editor::Pimpl
{
// private implementation details here
};
Editor::Editor(QWidget* a_parent)
: QWidget(a_parent)
, m_pimpl(std::unique_ptr<Pimpl>(new Pimpl()))
{
}
Editor::~Editor()
{
}
void Editor::paintEvent(QPaintEvent* /*pe*/)
{
QPainter p(this);
p.drawRect(10, 10, 100, 100);
}
void Editor::timerEvent(QTimerEvent* /*pe*/)
{
}
void Editor::keyPressEvent(QKeyEvent* /*pe*/)
{
}
void Editor::mousePressEvent(QMouseEvent* /*pe*/)
{
}