From 31a78ae551b781eccc47546a2f6d4bf121af24cf Mon Sep 17 00:00:00 2001 From: Aleks Kissinger Date: Thu, 2 Aug 2018 17:44:37 +0200 Subject: started style editor --- src/tikzit.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/tikzit.cpp') diff --git a/src/tikzit.cpp b/src/tikzit.cpp index 9a4e166..1dc8bd9 100644 --- a/src/tikzit.cpp +++ b/src/tikzit.cpp @@ -47,6 +47,8 @@ void Tikzit::init(QApplication *app) //_stylePalette = new StylePalette(dummy); _styles = new TikzStyles(this); + _styleEditor = new StyleEditor(); + //_stylePalette->show(); _windows << new MainWindow(); _windows[0]->show(); @@ -176,6 +178,11 @@ void Tikzit::loadStyles(QString fileName) } } +void Tikzit::showStyleEditor() +{ + _styleEditor->show(); +} + QString Tikzit::styleFile() const { return _styleFile; -- cgit v1.2.3