Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
imagetaskpixmapscene.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
5 #include <QGraphicsScene>
6 #include <QMouseEvent>
7 #include <QWheelEvent>
8 
9 #include "imagetaskscene.h"
10 
11 namespace geometrize
12 {
13 
14 namespace scene
15 {
16 
21 {
22  Q_OBJECT
23 
24 public:
25  explicit ImageTaskPixmapScene(QObject* parent = nullptr);
26  virtual ~ImageTaskPixmapScene();
27 
32  void setWorkingPixmap(const QPixmap& pixmap);
33 
34 private:
36  std::unique_ptr<ImageTaskPixmapSceneImpl> d;
37 };
38 
39 }
40 
41 }
The ImageTaskPixmapScene class models a graphics scene for viewing the pixmap-based results of image ...
Definition: imagetaskpixmapscene.h:20
virtual ~ImageTaskPixmapScene()
Definition: imagetaskpixmapscene.cpp:39
void setWorkingPixmap(const QPixmap &pixmap)
setWorkingPixmap Sets the pixmap that provides the current/working image visualization.
Definition: imagetaskpixmapscene.cpp:43
std::unique_ptr< ImageTaskPixmapSceneImpl > d
Definition: imagetaskpixmapscene.h:35
The ImageTaskScene class models a graphics scene for viewing the results of image tasks...
Definition: imagetaskscene.h:24
ImageTaskPixmapScene(QObject *parent=nullptr)
Definition: imagetaskpixmapscene.cpp:35