Marble

OsmRelationEditorDialog.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2015 Stanciu Marius-Valeriu <[email protected]>
4 //
5 
6 #ifndef MARBLE_OSMRELATIONEDITORDIALOG_H
7 #define MARBLE_OSMRELATIONEDITORDIALOG_H
8 
9 #include "marble_export.h"
10 
11 #include <QDialog>
12 
13 class QLineEdit;
14 class QDialogButtonBox;
15 
16 namespace Marble {
17 
18 class OsmRelationEditorDialogPrivate;
19 class OsmTagEditorWidget;
20 class OsmPlacemarkData;
21 class GeoDataPlacemark;
22 
23 /**
24  * @brief The OsmRelationEditorDialog class small dialog that is used to edit relations
25  * The dialog has a line edit for name input, and a OsmTagEditorWidget for tag editing
26  */
27 class MARBLE_EXPORT OsmRelationEditorDialog : public QDialog
28 {
29  Q_OBJECT
30 
31 public:
32  explicit OsmRelationEditorDialog( OsmPlacemarkData *relationData, QWidget *parent = nullptr );
33  ~OsmRelationEditorDialog() override;
34 
35 private Q_SLOTS:
36  void checkFields();
37 
38 private:
39  void finish();
40  friend class OsmRelationEditorDialogPrivate;
41  QDialogButtonBox *m_buttonBox;
42  QLineEdit *m_nameLineEdit;
43  OsmTagEditorWidget *m_tagEditor;
44  GeoDataPlacemark *m_dummyPlacemark;
45  OsmPlacemarkData *m_relationData;
46 };
47 
48 }
49 
50 #endif
Binds a QML item to a specific geodetic location in screen coordinates.
This class is used to encapsulate the osm data fields kept within a placemark's extendedData.
a class representing a point of interest on the map
The OsmRelationEditorDialog class small dialog that is used to edit relations The dialog has a line e...
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.