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

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • lib
  • marble
SunControlWidget.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2008 David Roberts <dvdr18@gmail.com>
9 // Copyright 2008 Inge Wallin <inge@lysator.liu.se>
10 // Copyright 2010 Harshit Jain <hjain.itbhu@gmail.com>
11 //
12 
13 #ifndef MARBLE_SUNCONTROLWIDGET_H
14 #define MARBLE_SUNCONTROLWIDGET_H
15 
16 #include <QDateTime>
17 #include <QTime>
18 #include <QDialog>
19 
20 #include "marble_export.h"
21 
22 namespace Ui
23 {
24  class SunControlWidget;
25 }
26 
27 namespace Marble
28 {
29 class MarbleWidget;
30 
31 class MARBLE_EXPORT SunControlWidget : public QDialog
32 {
33  Q_OBJECT
34 
35  public:
36  explicit SunControlWidget( MarbleWidget *marbleWidget, QWidget* parent = 0 );
37  virtual ~SunControlWidget();
38  void setSunShading( bool );
39 
40  private Q_SLOTS:
41  void apply();
42 
43  Q_SIGNALS:
44  void showSun( bool show );
45  void isLockedToSubSolarPoint( bool show );
46  void isSubSolarPointIconVisible( bool show );
47 
48  protected:
49  Q_DISABLE_COPY( SunControlWidget )
50 
51  void showEvent(QShowEvent* event);
52 
53  Ui::SunControlWidget *m_uiWidget;
54  MarbleWidget *const m_marbleWidget;
55  QString m_shadow;
56 };
57 
58 }
59 
60 #endif
QDialog
QWidget
Marble::SunControlWidget
Definition: SunControlWidget.h:31
Marble::SunControlWidget::m_shadow
QString m_shadow
Definition: SunControlWidget.h:55
Marble::MarbleWidget
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:102
Marble::SunControlWidget::m_marbleWidget
MarbleWidget *const m_marbleWidget
Definition: SunControlWidget.h:54
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
marble_export.h
MarbleWidget
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
Marble::SunControlWidget::m_uiWidget
Ui::SunControlWidget * m_uiWidget
Definition: SunControlWidget.h:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • 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