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{
18
19class OsmRelationEditorDialogPrivate;
20class OsmTagEditorWidget;
23
24/**
25 * @brief The OsmRelationEditorDialog class small dialog that is used to edit relations
26 * The dialog has a line edit for name input, and a OsmTagEditorWidget for tag editing
27 */
28class MARBLE_EXPORT OsmRelationEditorDialog : public QDialog
29{
31
32public:
33 explicit OsmRelationEditorDialog(OsmPlacemarkData *relationData, QWidget *parent = nullptr);
34 ~OsmRelationEditorDialog() override;
35
36private Q_SLOTS:
37 void checkFields();
38
39private:
40 void finish();
41 friend class OsmRelationEditorDialogPrivate;
42 QDialogButtonBox *m_buttonBox;
43 QLineEdit *m_nameLineEdit;
44 OsmTagEditorWidget *m_tagEditor;
45 GeoDataPlacemark *m_dummyPlacemark;
46 OsmPlacemarkData *m_relationData;
47};
48
49}
50
51#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.
Binds a QML item to a specific geodetic location in screen coordinates.
QDialog(QWidget *parent, Qt::WindowFlags f)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:10 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.