• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

Public Member Functions | List of all members
ImageViewer Class Reference

#include <imageviewer.h>

Inheritance diagram for ImageViewer:
Inheritance graph
[legend]

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.

Author
Thomas Kabelmann
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.

ImageViewer::ImageViewer ( QString  FileName,
QWidget *  parent = 0 
)
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:
  • imageviewer.h
  • imageviewer.cpp
This file is part of the KDE documentation.
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.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal