• 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
MarbleNavigator.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 2005-2007 Torsten Rahn <tackat@kde.org>
9 // Copyright 2007 Inge Wallin <ingwa@kde.org>
10 //
11 
12 //
13 // This widget is a control box for the Marble widget.
14 //
15 
16 #ifndef MARBLE_MARBLENAVIGATOR_H
17 #define MARBLE_MARBLENAVIGATOR_H
18 
19 
20 #include <QWidget>
21 
22 #include "marble_export.h"
23 
24 
32 class QResizeEvent;
33 
34 namespace Marble
35 {
36 
37 class MarbleNavigatorPrivate;
38 
52 class MARBLE_EXPORT MarbleNavigator : public QWidget
53 {
54  Q_OBJECT
55 
56  public:
61  explicit MarbleNavigator(QWidget *parent = 0);
62  ~MarbleNavigator();
63 
68  int minimumZoom() const;
69 
70  Q_SIGNALS:
74  void goHome();
78  void zoomIn();
82  void zoomOut();
87  void zoomChanged(int zoom);
88 
92  void moveLeft();
96  void moveRight();
100  void moveUp();
104  void moveDown();
105  //void centerOn(const QModelIndex&);
106 
107  public Q_SLOTS:
117  void changeZoom(int zoom);
118 
119  protected:
126  void resizeEvent ( QResizeEvent * );
127 
128  private:
129  Q_DISABLE_COPY( MarbleNavigator )
130  MarbleNavigatorPrivate * const d;
131 };
132 
133 }
134 
135 #endif
QWidget
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::MarbleNavigator
A widget class that contains simple controls for a MarbleWidget.
Definition: MarbleNavigator.h:52
marble_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:51 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