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

marble/src

MarbleNavigator.h

Go to the documentation of this file.
00001 //
00002 // This file is part of the Marble Desktop Globe.
00003 //
00004 // This program is free software licensed under the GNU LGPL. You can
00005 // find a copy of this license in LICENSE.txt in the top directory of
00006 // the source code.
00007 //
00008 // Copyright 2005-2007 Torsten Rahn <tackat@kde.org>"
00009 // Copyright 2007      Inge Wallin   <ingwa@kde.org>"
00010 //
00011 
00012 //
00013 // This widget is a control box for the Marble widget.
00014 //
00015 
00016 
00017 #ifndef MARBLENAVIGATOR_H
00018 #define MARBLENAVIGATOR_H
00019 
00020 
00021 #include <QtGui/QWidget>
00022 
00023 #include "marble_export.h"
00024 
00025 
00034 namespace Marble
00035 {
00036 
00037 class MarbleNavigatorPrivate;
00038 
00052 class MARBLE_EXPORT MarbleNavigator : public QWidget
00053 {
00054     Q_OBJECT
00055 
00056  public:
00061     explicit MarbleNavigator(QWidget *parent = 0);
00062     ~MarbleNavigator();
00063  
00068     int  minimumZoom() const;
00069     
00070  Q_SIGNALS:
00074     void goHome();
00078     void zoomIn();
00082     void zoomOut();
00087     void zoomChanged(int zoom);
00088 
00092     void moveLeft();
00096     void moveRight();
00100     void moveUp();
00104     void moveDown();
00105     //void centerOn(const QModelIndex&);
00106 
00107  public Q_SLOTS:
00117     void changeZoom(int zoom);
00118 
00119  protected:
00126     void resizeEvent ( QResizeEvent * );
00127 
00128  private:
00129     Q_DISABLE_COPY( MarbleNavigator )
00130     MarbleNavigatorPrivate  * const d;
00131 };
00132 
00133 }
00134 
00135 #endif // MARBLENAVIGATOR_H

marble/src

Skip menu "marble/src"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal