• 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
GoToDialog.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 2010 Dennis Nienhüser <earthwings@gentoo.org>
9 //
10 
11 #ifndef MARBLE_GOTODIALOG_H
12 #define MARBLE_GOTODIALOG_H
13 
14 #include "marble_export.h"
15 #include "GeoDataCoordinates.h"
16 
17 #include <QDialog>
18 
19 class QModelIndex;
20 
21 namespace Marble
22 {
23 
24 class GeoDataPlacemark;
25 class GoToDialogPrivate;
26 class MarbleModel;
27 
33 class MARBLE_EXPORT GoToDialog: public QDialog
34 {
35  Q_OBJECT
36 
37 public:
38  explicit GoToDialog( MarbleModel* marbleModel, QWidget * parent = 0, Qt::WindowFlags f = 0 );
39 
40  ~GoToDialog();
41 
43  void setShowRoutingItems( bool show );
44 
46  void setSearchEnabled( bool enabled );
47 
52  GeoDataCoordinates coordinates() const;
53 
54  Q_PRIVATE_SLOT( d, void saveSelection( const QModelIndex &index ) )
55 
56  Q_PRIVATE_SLOT( d, void startSearch() )
57 
58  Q_PRIVATE_SLOT( d, void updateSearchResult( QVector<GeoDataPlacemark*> placemarks ) )
59 
60  Q_PRIVATE_SLOT( d, void updateSearchMode() )
61 
62  Q_PRIVATE_SLOT( d, void updateProgress() )
63 
64  Q_PRIVATE_SLOT( d, void stopProgressAnimation() )
65 
66 private:
67  GoToDialogPrivate * const d;
68  friend class GoToDialogPrivate;
69 };
70 
71 } // namespace Marble
72 
73 #endif // MARBLE_GOTODIALOG_H
GeoDataCoordinates.h
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
QDialog
QWidget
Marble::GoToDialog
A dialog that provides a list of targets to go to: The current location, route start, destination and via points and bookmarks.
Definition: GoToDialog.h:33
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::MarbleModel
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:96
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:50 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