Marble

OsmRelationEditorDialog.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2015 Stanciu Marius-Valeriu <stanciumarius94@gmail.com>
4//
5
6#ifndef MARBLE_OSMRELATIONEDITORDIALOG_H
7#define MARBLE_OSMRELATIONEDITORDIALOG_H
8
9#include "marble_export.h"
10
11#include <QDialog>
12
13class QLineEdit;
15
16namespace Marble {
17
18class OsmRelationEditorDialogPrivate;
19class OsmTagEditorWidget;
20class OsmPlacemarkData;
21class 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 */
27class MARBLE_EXPORT OsmRelationEditorDialog : public QDialog
28{
29 Q_OBJECT
30
31public:
32 explicit OsmRelationEditorDialog( OsmPlacemarkData *relationData, QWidget *parent = nullptr );
33 ~OsmRelationEditorDialog() override;
34
35private Q_SLOTS:
36 void checkFields();
37
38private:
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
a class representing a point of interest on the map
This class is used to encapsulate the osm data fields kept within a placemark's extendedData.
The OsmRelationEditorDialog class small dialog that is used to edit relations The dialog has a line e...
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.