]> Shamusworld >> Repos - architektonas/blobdiff - src/applicationwindow.h
Added pen and dropper tools, and printing support.
[architektonas] / src / applicationwindow.h
index f35ba1c2ca0270cde3465597b53c641fa1933afb..00c79178601c974c66075d9e1082fa06af97ee59 100644 (file)
@@ -2,6 +2,7 @@
 #define __APPLICATIONWINDOW_H__
 
 #include <QtWidgets>
+#include <QPrinter>
 
 // Forward declarations
 
@@ -26,6 +27,8 @@ class ApplicationWindow: public QMainWindow
                void FileOpen(void);
                void FileSave(void);
                void FileSaveAs(void);
+               void PrintPreview(void);
+               void HandlePrintRequest(QPrinter *);
                void SnapToGridTool(void);
                void FixAngle(void);
                void FixLength(void);
@@ -111,6 +114,7 @@ class ApplicationWindow: public QMainWindow
                QAction * editCopyAct;
                QAction * editPasteAct;
                QAction * selectAllAct;
+               QAction * printPreviewAct;
 
                std::vector<void *> clipboard;