Marble
OsmRelationManagerWidget.cpp
26OsmRelationManagerWidget::OsmRelationManagerWidget(GeoDataPlacemark *placemark, const QHash<qint64, OsmPlacemarkData> *relations, QWidget *parent)
38 d->m_currentRelations->setMinimumWidth(d->m_currentRelations->columnCount() * d->m_currentRelations->columnWidth(0) + 10);
43 connect(d->m_currentRelations, SIGNAL(itemDoubleClicked(QTreeWidgetItem *, int)), this, SLOT(handleDoubleClick(QTreeWidgetItem *, int)));
44 connect(d->m_currentRelations, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(handleRelationContextMenuRequest(QPoint)));
45 connect(d->m_relationDropMenu, SIGNAL(triggered(QAction *)), this, SLOT(addRelation(QAction *)));
46 connect(d->m_currentRelations, SIGNAL(itemChanged(QTreeWidgetItem *, int)), this, SLOT(handleItemChange(QTreeWidgetItem *, int)));
This class is used to encapsulate the osm data fields kept within a placemark's extendedData.
Definition OsmPlacemarkData.h:77
QString tagValue(const QString &key) const
tagValue returns the value of the tag that has key as key or an empty qstring if there is no such tag
Definition OsmPlacemarkData.cpp:122
The OsmRelationEditorDialog class small dialog that is used to edit relations The dialog has a line e...
Definition OsmRelationEditorDialog.h:29
void update(Part *part, const QByteArray &data, qint64 dataSize)
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
DoubleClicked
QVariant data() const const
text
Rejected
CustomContextMenu
UserRole
ItemIsEditable
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
virtual QVariant data(int column, int role) const const
Qt::ItemFlags flags() const const
void setFlags(Qt::ItemFlags flags)
QString text(int column) const const
qlonglong toLongLong(bool *ok) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.