diff options
Diffstat (limited to 'renamedlgplugins/images/imagevisualizer.h')
-rw-r--r-- | renamedlgplugins/images/imagevisualizer.h | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/renamedlgplugins/images/imagevisualizer.h b/renamedlgplugins/images/imagevisualizer.h new file mode 100644 index 0000000..391fad2 --- /dev/null +++ b/renamedlgplugins/images/imagevisualizer.h @@ -0,0 +1,66 @@ +/* This file is part of the KDE project + Copyright (C) 2002 Holger Freyther <freyther@yahoo.com> + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; version 2 + of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; see the file COPYING. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#ifndef imagevisualizer_h +#define imagevisualizer_h + +#include <qvbox.h> + +class QPixmap; +class QLabel; +class ImageVisualizer : public QVBox +{ + Q_OBJECT +public: + ImageVisualizer(QWidget *parent, const char *name, const QString &fileName ); + +private: + void loadImage( const QString& path ); + +private slots: + void downloadImage( const QString& url ); + +private: + QLabel *pic; + QLabel *description; +}; +#endif + + + + + + + + + + + + + + + + + + + + + + + |