kstars
#include <imageviewer.h>

Public Member Functions | |
ImageViewer (const KUrl &imageURL, const QString &capText, QWidget *parent=0) | |
ImageViewer (QString FileName, QWidget *parent=0) | |
~ImageViewer () | |
Detailed Description
Image viewer window for KStars.
- Version
- 1.0
This image-viewer automatically resizes the picture. The output works with kio-slaves and not directly with the QImage save-routines because normally the image-files are in GIF-format and QT does not save these files. For other formats, like PNG, this is not so important because they can directly saved by QImage.
The download-slave works asynchron so the parent-widget can be used at this time. The save-slave works synchronously, but this is not important because the files are at this time local saved and this works not so long.
Definition at line 61 of file imageviewer.h.
Constructor & Destructor Documentation
ImageViewer::ImageViewer | ( | const KUrl & | imageURL, |
const QString & | capText, | ||
QWidget * | parent = 0 |
||
) |
Create image viewer from URL with caption.
Definition at line 64 of file imageviewer.cpp.
|
explicit |
Definition at line 97 of file imageviewer.cpp.
ImageViewer::~ImageViewer | ( | ) |
Destructor.
If there is a partially downloaded image file, delete it.
Definition at line 148 of file imageviewer.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.