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 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
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