Use qtpaths directly
[kdepim.git] / grantleeeditor / headerthemeeditor / editorpage.h
blob21bffcce0a4b450cfb19b44fe9a7bc90570d252c
1 /*
2 Copyright (c) 2013-2015 Montel Laurent <montel@kde.org>
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License, version 2, as
6 published by the Free Software Foundation.
8 This program is distributed in the hope that it will be useful, but
9 WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 General Public License for more details.
13 You should have received a copy of the GNU General Public License along
14 with this program; if not, write to the Free Software Foundation, Inc.,
15 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 #ifndef EDITORPAGE_H
19 #define EDITORPAGE_H
21 #include "grantleethemeeditor/editorpage.h"
23 class ThemeTemplateWidget;
24 class EditorWidget;
25 class QSplitter;
26 namespace GrantleeThemeEditor
28 class EditorWidget;
29 class PreviewWidget;
32 class EditorPage : public GrantleeThemeEditor::EditorPage
34 Q_OBJECT
35 public:
36 explicit EditorPage(GrantleeThemeEditor::EditorPage::PageType type, const QString &projectDirectory, QWidget *parent = Q_NULLPTR);
37 ~EditorPage();
39 GrantleeThemeEditor::PreviewWidget *preview() const;
41 private:
42 ThemeTemplateWidget *mThemeTemplate;
43 QSplitter *mMainSplitter;
44 QSplitter *mWidgetSplitter;
47 #endif // EDITORPAGE_H