Newer
Older
Import / applications / HighwayDash / Tools / Editor / Editor.h
@John Ryland John Ryland on 22 Dec 2020 504 bytes import NUC files
#ifndef EDITOR_H
#define EDITOR_H


/*
    This file is Copyright.
    (C) Copyright 2016
    John Ryland
*/


#include <memory>
#include <QWidget>


class Editor : public QWidget
{
public:
  Editor(QWidget* a_parent=0);
  ~Editor();
  void paintEvent(QPaintEvent* pe) override;
  void timerEvent(QTimerEvent* te) override;
  void keyPressEvent(QKeyEvent* ke) override;
  void mousePressEvent(QMouseEvent* me) override;
private:
  struct Pimpl;
  std::unique_ptr<Pimpl> m_pimpl;
};


#endif // EDITOR_H