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

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
skymapqdraw.h
Go to the documentation of this file.
1 /***************************************************************************
2  skymapqdraw.h - K Desktop Planetarium
3  -------------------
4  begin : Tue Dec 21 2010 07:10 AM UTC-6
5  copyright : (C) 2010 Akarsh Simha
6  email : akarsh.simha@kdemail.net
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef SKYMAPQDRAW_H_
19 #define SKYMAPQDRAW_H_
20 
21 #include "skymapdrawabstract.h"
22 
23 #include<QWidget>
24 
32 class SkyMapQDraw : public QWidget, public SkyMapDrawAbstract {
33 
34  Q_OBJECT
35 
36  public:
40  explicit SkyMapQDraw( SkyMap *parent );
41 
45  ~SkyMapQDraw();
46 
47  protected:
48 
49  virtual void paintEvent( QPaintEvent *e );
50 
51  virtual void resizeEvent( QResizeEvent *e );
52 
53  QPixmap *m_SkyPixmap;
54 
55 };
56 
57 #endif
QWidget
SkyMapQDraw::SkyMapQDraw
SkyMapQDraw(SkyMap *parent)
Constructor.
Definition: skymapqdraw.cpp:23
SkyMapQDraw::m_SkyPixmap
QPixmap * m_SkyPixmap
Definition: skymapqdraw.h:53
SkyMapQDraw::resizeEvent
virtual void resizeEvent(QResizeEvent *e)
Definition: skymapqdraw.cpp:95
SkyMapQDraw::~SkyMapQDraw
~SkyMapQDraw()
Destructor.
Definition: skymapqdraw.cpp:27
SkyMapQDraw::paintEvent
virtual void paintEvent(QPaintEvent *e)
Overridden paintEvent method.
Definition: skymapqdraw.cpp:31
skymapdrawabstract.h
SkyMapQDraw
This class draws the SkyMap using native QPainter.
Definition: skymapqdraw.h:32
SkyMapDrawAbstract
This class defines the methods that both rendering engines (GLPainter and QPainter) must implement...
Definition: skymapdrawabstract.h:40
SkyMap
This is the canvas on which the sky is painted.
Definition: skymap.h:72
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:21 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