• 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
EditBookmarkDialog.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 Gaurav Gupta <1989.gaurav@googlemail.com>
9 // Copyright 2012 Thibaut Gridel <tgridel@free.fr>
10 //
11 
12 #ifndef MARBLE_BOOKMARKINFODIALOG_H
13 #define MARBLE_BOOKMARKINFODIALOG_H
14 
15 #include <QDialog>
16 
17 #include "marble_export.h"
18 #include "GeoDataCoordinates.h"
19 #include "GeoDataPlacemark.h"
20 
23 namespace Marble
24 {
25 
26 class EditBookmarkDialogPrivate;
27 class BookmarkManager;
28 class GeoDataFolder;
29 class GeoDataLookAt;
30 class MarbleWidget;
31 
32 class MARBLE_EXPORT EditBookmarkDialog : public QDialog
33 {
34  Q_OBJECT
35 
36  public:
37  explicit EditBookmarkDialog( BookmarkManager *manager, QWidget *parent = 0 );
38 
40  ~EditBookmarkDialog();
41 
42  void setMarbleWidget( MarbleWidget* widget );
43 
44  GeoDataPlacemark bookmark() const;
45 
46  QString name() const;
47 
48  GeoDataFolder* folder() const;
49 
50  QString description() const;
51 
52  GeoDataCoordinates coordinates() const;
53 
54  qreal range() const;
55 
56  void setName( const QString &name );
57  void setReverseGeocodeName();
58 
59  void setCoordinates( const GeoDataCoordinates &coordinates );
60 
61  void setRange( qreal range );
62 
63  void setDescription( const QString &text );
64 
65  void setFolderName( const QString &name );
66 
67 
68  private:
69  Q_PRIVATE_SLOT( d, void openNewFolderDialog() )
70 
71  Q_PRIVATE_SLOT( d, void retrieveGeocodeResult( const GeoDataCoordinates &coordinates, const GeoDataPlacemark &placemark) )
72 
73  Q_PRIVATE_SLOT( d, void updateCoordinates() )
74 
75  Q_DISABLE_COPY( EditBookmarkDialog )
76  EditBookmarkDialogPrivate* const d;
77  friend class EditBookmarkDialogPrivate;
78 };
79 
80 }
81 #endif
GeoDataCoordinates.h
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:52
QDialog
QWidget
Marble::MarbleWidget
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:102
Marble::BookmarkManager
This class is responsible for loading the book mark objects from the files and various book mark oper...
Definition: BookmarkManager.h:35
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::GeoDataFolder
Definition: GeoDataFolder.h:50
GeoDataPlacemark.h
marble_export.h
Marble::EditBookmarkDialog
Definition: EditBookmarkDialog.h:32
MarbleWidget
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
Marble::GeoDataPlacemark
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 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