Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
imagetaskwindow.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
5 #include <QMainWindow>
6 
7 class QEvent;
8 
9 namespace geometrize
10 {
11 
12 namespace task
13 {
14 class ImageTask;
15 }
16 
17 }
18 
19 namespace geometrize
20 {
21 
22 namespace dialog
23 {
24 
28 class ImageTaskWindow : public QMainWindow
29 {
30  Q_OBJECT
31 
32 public:
33  explicit ImageTaskWindow();
34  virtual ~ImageTaskWindow();
35 
41 
46  void setImageTask(task::ImageTask* task);
47 
48 signals:
54  void willSwitchImageTask(task::ImageTask* lastTask, task::ImageTask* nextTask);
55 
61  void didSwitchImageTask(task::ImageTask* lastTask, task::ImageTask* currentTask);
62 
67 
72 
73 protected:
74  void changeEvent(QEvent*) override;
75 
76 private slots:
81 
82 private:
84  std::unique_ptr<ImageTaskWindowImpl> d;
85 };
86 
87 }
88 
89 }
void on_actionSave_Settings_Template_triggered()
Definition: imagetaskwindow.cpp:825
void didSaveSettingsTemplate()
didSaveSettingsTemplate Signal dispatched immediately after a settings template based on the current ...
void on_actionLoad_Settings_Template_triggered()
Definition: imagetaskwindow.cpp:820
The ImageTaskWindow class encapsulates the UI for manipiulating, running and viewing an image task th...
Definition: imagetaskwindow.h:28
void setImageTask(task::ImageTask *task)
setImageTask Sets the current image task shown by the window.
Definition: imagetaskwindow.cpp:810
void on_actionExit_triggered()
Definition: imagetaskwindow.cpp:815
std::unique_ptr< ImageTaskWindowImpl > d
Definition: imagetaskwindow.h:83
void willSwitchImageTask(task::ImageTask *lastTask, task::ImageTask *nextTask)
willSwitchImageTask Signal dispatched immediately before an image task is set on the image task windo...
void on_actionReveal_Launch_Window_triggered()
Definition: imagetaskwindow.cpp:830
void changeEvent(QEvent *) override
Definition: imagetaskwindow.cpp:835
void didSwitchImageTask(task::ImageTask *lastTask, task::ImageTask *currentTask)
didSwitchImageTask Signal dispatched immediately after an image task is set on the image task window...
virtual ~ImageTaskWindow()
Definition: imagetaskwindow.cpp:801
ImageTaskWindow()
Definition: imagetaskwindow.cpp:795
void didLoadSettingsTemplate()
didLoadSettingsTemplate Signal dispatched immediately after a settings template is applied to the ima...
task::ImageTask * getImageTask()
getImageTask Gets a pointer to the current image task shown by the window.
Definition: imagetaskwindow.cpp:805
The ImageTask class transforms a source image into a collection of shapes approximating the source im...
Definition: imagetask.h:50