marble/src
MarbleNavigator.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
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 class MarbleNavigatorPrivate;
00035
00049 class MARBLE_EXPORT MarbleNavigator : public QWidget
00050 {
00051 Q_OBJECT
00052
00053 public:
00058 MarbleNavigator(QWidget *parent = 0);
00059 ~MarbleNavigator();
00060
00065 int minimumZoom() const;
00066
00067 Q_SIGNALS:
00071 void goHome();
00075 void zoomIn();
00079 void zoomOut();
00084 void zoomChanged(int zoom);
00085
00089 void moveLeft();
00093 void moveRight();
00097 void moveUp();
00101 void moveDown();
00102
00103
00104 public Q_SLOTS:
00114 void changeZoom(int zoom);
00115
00116 protected:
00123 void resizeEvent ( QResizeEvent * );
00124
00125 private:
00126 MarbleNavigatorPrivate * const d;
00127 };
00128
00129 #endif // MARBLENAVIGATOR_H