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

marble

  • kde-4.x
  • 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 <[email protected]>
9 // Copyright 2012 Thibaut Gridel <[email protected]>
10 //
11 
12 #ifndef MARBLE_EDITBOOKMARKDIALOG_H
13 #define MARBLE_EDITBOOKMARKDIALOG_H
14 
15 #include <QDialog>
16 
17 #include "marble_export.h"
18 
21 namespace Marble
22 {
23 
24 class EditBookmarkDialogPrivate;
25 class BookmarkManager;
26 class GeoDataFolder;
27 class GeoDataCoordinates;
28 class GeoDataPlacemark;
29 class MarbleWidget;
30 
31 class MARBLE_EXPORT EditBookmarkDialog : public QDialog
32 {
33  Q_OBJECT
34 
35  public:
36  explicit EditBookmarkDialog( BookmarkManager *manager, QWidget *parent = nullptr );
37 
39  ~EditBookmarkDialog() override;
40 
41  void setMarbleWidget( MarbleWidget* widget );
42 
43  GeoDataPlacemark bookmark() const;
44 
45  QString name() const;
46 
47  GeoDataFolder* folder() const;
48 
49  QString description() const;
50 
51  GeoDataCoordinates coordinates() const;
52 
53  qreal range() const;
54 
55  QString iconLink() const;
56 
57  void setName( const QString &name );
58  void setReverseGeocodeName();
59 
60  void setCoordinates( const GeoDataCoordinates &coordinates );
61 
62  void setRange( qreal range );
63 
64  void setDescription( const QString &text );
65 
66  void setFolderName( const QString &name );
67 
68  void setIconLink( const QString &iconLink );
69 
70 
71  private:
72  Q_PRIVATE_SLOT( d, void openNewFolderDialog() )
73 
74  Q_PRIVATE_SLOT( d, void retrieveGeocodeResult( const GeoDataCoordinates &coordinates, const GeoDataPlacemark &placemark) )
75 
76  Q_PRIVATE_SLOT( d, void updateCoordinates() )
77 
78  Q_DISABLE_COPY( EditBookmarkDialog )
79  EditBookmarkDialogPrivate* const d;
80  friend class EditBookmarkDialogPrivate;
81 };
82 
83 }
84 #endif
Marble::GeoDataCoordinates
A 3d point representation.
Definition: GeoDataCoordinates.h:45
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:38
QString
Marble::GeoDataFolder
A container that is used to arrange other GeoDataFeatures.
Definition: GeoDataFolder.h:49
QDialog
Marble::EditBookmarkDialog
Definition: EditBookmarkDialog.h:31
MarbleWidget
Marble::GeoDataPlacemark
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sun Dec 8 2019 02:45:26 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
  •   KmPlot
  • libkeduvocdocument
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   src
  •   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