summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorLukáš Lalinský <lalinsky@gmail.com>2009-07-10 00:04:56 +0200
committerLukáš Lalinský <lalinsky@gmail.com>2009-07-10 00:04:56 +0200
commit54897073cfdbd6f2ca595e6234d517384847ee9f (patch)
tree38281cc05b5d4dcb7d8c1bd35f8580c71a0a3a48 /src/mainwindow.h
parent5e8edb28accb356032615addd6ac916ce7027687 (diff)
downloaddbmodel-54897073cfdbd6f2ca595e6234d517384847ee9f.tar.xz
Print preview
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 4f059cc..6c1a094 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -26,6 +26,8 @@
#include "diagramview.h"
#include "diagramdocument.h"
+class QPrinter;
+
class MainWindow: public QMainWindow
{
Q_OBJECT
@@ -54,6 +56,8 @@ public slots:
bool saveAs();
void exportDocument();
void print();
+ void printPreview();
+ void paintOnPrinter(QPrinter *);
void setViewScale(const QString &scale);
void about();