krita

kis_previewdialog.h

00001 /*
00002  *  kis_previewdialog.h -- part of Krita
00003  *
00004  *  Copyright (c) 2005 Sven Langkamp <longamp@reallygood.de>
00005  *
00006  *  This program is free software; you can redistribute it and/or modify
00007  *  it under the terms of the GNU General Public License as published by
00008  *  the Free Software Foundation; either version 2 of the License, or
00009  *  (at your option) any later version.
00010  *
00011  *  This program is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *  GNU General Public License for more details.
00015  *
00016  *  You should have received a copy of the GNU General Public License
00017  *  along with this program; if not, write to the Free Software
00018  *  Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019  * Boston, MA 02110-1301, USA.
00020  */
00021 #ifndef KIS_PREVIEWDIALOG_H
00022 #define KIS_PREVIEWDIALOG_H
00023 
00024 #include <kdialogbase.h>
00025 
00026 class KisPreviewWidget;
00027 class QFrame;
00028 
00029 class KisPreviewDialog: public KDialogBase {
00030     typedef KDialogBase super;
00031     Q_OBJECT
00032 
00033 public:
00034     KisPreviewDialog( QWidget* parent = 0, const char* name = 0, bool modal = false, const QString &caption=QString::null);
00035     ~KisPreviewDialog();
00036 
00037     KisPreviewWidget* previewWidget() { return m_preview; }
00038     QFrame* container() { return m_containerFrame; }
00039 private:
00040     KisPreviewWidget* m_preview;
00041     QFrame* m_containerFrame;
00042 };
00043 
00044 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys