• 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
  • printing
fovsnapshot.h
Go to the documentation of this file.
1 /***************************************************************************
2  fovsnapshot.h - K Desktop Planetarium
3  -------------------
4  begin : Sun Aug 14 2011
5  copyright : (C) 2011 by Rafał Kułaga
6  email : rl.kulaga@gmail.com
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 FOVSNAPSHOT_H
19 #define FOVSNAPSHOT_H
20 
21 #include "fov.h"
22 #include "skypoint.h"
23 #include "QPixmap"
24 #include "QString"
25 
26 class FOV;
27 
35 class FovSnapshot
36 {
37 public:
45  FovSnapshot(const QPixmap &pixmap, const QString description, FOV *fov, const SkyPoint &center);
46 
51  QPixmap getPixmap() { return m_Pixmap; }
52 
57  QString getDescription() { return m_Description; }
58 
63  FOV* getFov() { return m_Fov; }
64 
69  SkyPoint getCentralPoint() { return m_CentralPoint; }
70 
75  void setPixmap(const QPixmap &pixmap) { m_Pixmap = pixmap; }
76 
81  void setDescription(const QString &description) { m_Description = description; }
82 
87  void setFov(FOV *fov) { m_Fov = fov; }
88 
93  void setCentralPoint(const SkyPoint &point) { m_CentralPoint = point; }
94 
95 private:
96  QPixmap m_Pixmap;
97  QString m_Description;
98  FOV *m_Fov;
99  SkyPoint m_CentralPoint;
100 };
101 
102 #endif // FOVSNAPSHOT_H
FovSnapshot::setPixmap
void setPixmap(const QPixmap &pixmap)
Set snapshot image.
Definition: fovsnapshot.h:75
FOV
class encapulating a Field-of-View symbol
Definition: fov.h:32
FovSnapshot::getDescription
QString getDescription()
Get snapshot description.
Definition: fovsnapshot.h:57
fov.h
FovSnapshot::getCentralPoint
SkyPoint getCentralPoint()
Get central point of the snapshot.
Definition: fovsnapshot.h:69
SkyPoint
The sky coordinates of a point in the sky.
Definition: skypoint.h:50
FovSnapshot::setFov
void setFov(FOV *fov)
Set snapshot FOV symbol.
Definition: fovsnapshot.h:87
FovSnapshot::getFov
FOV * getFov()
Get FOV symbol at which snapshot was captured.
Definition: fovsnapshot.h:63
FovSnapshot::setCentralPoint
void setCentralPoint(const SkyPoint &point)
Set central point of the snapshot.
Definition: fovsnapshot.h:93
FovSnapshot
Class that represents single field of view snapshot.
Definition: fovsnapshot.h:35
skypoint.h
FovSnapshot::setDescription
void setDescription(const QString &description)
Set snapshot description.
Definition: fovsnapshot.h:81
FovSnapshot::FovSnapshot
FovSnapshot(const QPixmap &pixmap, const QString description, FOV *fov, const SkyPoint &center)
Constructor.
Definition: fovsnapshot.cpp:20
FovSnapshot::getPixmap
QPixmap getPixmap()
Get snapshot image.
Definition: fovsnapshot.h:51
description
static const char description[]
Definition: main.cpp:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:19 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