summaryrefslogtreecommitdiff
path: root/src/tikzit.h
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-12-17 12:37:15 +0100
committerAleks Kissinger <aleks0@gmail.com>2018-12-17 12:37:15 +0100
commit6121b486e168334db70cbbe7a67afe56c0272748 (patch)
tree6e56022a7ae72eae7542ac4b420b10d2b37f4c08 /src/tikzit.h
parent2802488b5928ed1d9886e393d06938db0e825a32 (diff)
preview almost works
Diffstat (limited to 'src/tikzit.h')
-rw-r--r--src/tikzit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tikzit.h b/src/tikzit.h
index 5fed22c..3d4847d 100644
--- a/src/tikzit.h
+++ b/src/tikzit.h
@@ -60,6 +60,8 @@
#include "propertypalette.h"
#include "stylepalette.h"
#include "tikzstyles.h"
+#include "latexprocess.h"
+#include "previewwindow.h"
#include <QObject>
#include <QVector>
@@ -137,6 +139,8 @@ public slots:
void setCheckForUpdates(bool check);
void checkForUpdates();
void updateReply(QNetworkReply *reply);
+ void makePreview();
+ void cleanupLatex();
private:
// void createMenu();
@@ -153,6 +157,8 @@ private:
StyleEditor *_styleEditor;
QStringList _colNames;
QVector<QColor> _cols;
+ LatexProcess *_latex;
+ PreviewWindow *_preview;
};
extern Tikzit *tikzit;