• 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
skymapgldraw.h
Go to the documentation of this file.
1 /***************************************************************************
2  skymapgldraw.h - K Desktop Planetarium
3  -------------------
4  begin : Wed Dec 29 2010 03:24 AM UTC -06:00
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 SKYMAPGLDRAW_H_
19 #define SKYMAPGLDRAW_H_
20 
21 #include "skymapdrawabstract.h"
22 
23 #include <QGLWidget>
31 class SkyMapGLDraw : public QGLWidget, public SkyMapDrawAbstract {
32 
33  Q_OBJECT
34 
35  public:
39  explicit SkyMapGLDraw( SkyMap *parent );
40 
41  protected:
42 
43  virtual void paintEvent( QPaintEvent *e );
44 
45  virtual void initializeGL();
46 
47  virtual void resizeGL( int, int );
48 
49 };
50 
51 #endif
SkyMapGLDraw::SkyMapGLDraw
SkyMapGLDraw(SkyMap *parent)
Constructor.
Definition: skymapgldraw.cpp:28
SkyMapGLDraw::paintEvent
virtual void paintEvent(QPaintEvent *e)
Overridden paintEvent method.
Definition: skymapgldraw.cpp:49
SkyMapGLDraw::resizeGL
virtual void resizeGL(int, int)
Definition: skymapgldraw.cpp:42
SkyMapGLDraw
This class draws the SkyMap using OpenGL.
Definition: skymapgldraw.h:31
SkyMapGLDraw::initializeGL
virtual void initializeGL()
Definition: skymapgldraw.cpp:38
skymapdrawabstract.h
QGLWidget
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