chalk

kis_previewdialog.h
1/*
2 * kis_previewdialog.h -- part of Chalk
3 *
4 * Copyright (c) 2005 Sven Langkamp <longamp@reallygood.de>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 */
21#ifndef KIS_PREVIEWDIALOG_H
22#define KIS_PREVIEWDIALOG_H
23
24#include <kdialogbase.h>
25
27class TQFrame;
28
29class KisPreviewDialog: public KDialogBase {
30 typedef KDialogBase super;
31 TQ_OBJECT
32
33
34public:
35 KisPreviewDialog( TQWidget* parent = 0, const char* name = 0, bool modal = false, const TQString &caption=TQString());
36 ~KisPreviewDialog();
37
38 KisPreviewWidget* previewWidget() { return m_preview; }
39 TQFrame* container() { return m_containerFrame; }
40private:
41 KisPreviewWidget* m_preview;
42 TQFrame* m_containerFrame;
43};
44
45#endif
A widget that can be used by plugins to show a preview of the effect of the plugin to the user.