Marble
GeoDataTreeModel.h
49 QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
55 QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override;
94 Q_INVOKABLE int addTourPrimitive(const QModelIndex &parent, GeoDataTourPrimitive *primitive, int row = -1);
A container for Features, Styles and in the future Schemas.
Definition GeoDataDocument.h:48
GeoDataTreeModel(QObject *parent=nullptr)
Creates a new GeoDataTreeModel.
Definition GeoDataTreeModel.cpp:81
void removed(GeoDataObject *object)
insert and remove row don't trigger any signal that proxies forward this signal will refresh geometry...
void setRootDocument(GeoDataDocument *document)
Sets the root document to use.
Definition GeoDataTreeModel.cpp:745
int rowCount(const QModelIndex &parent=QModelIndex()) const override
Return the number of Items in the Model.
Definition GeoDataTreeModel.cpp:92
QModelIndex parent(const QModelIndex &index) const override
Definition GeoDataTreeModel.cpp:404
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
QAbstractItemModel(QObject *parent)
QObject(QObject *parent)
Q_INVOKABLEQ_INVOKABLE
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
DisplayRole
typedef ItemFlags
Orientation
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:09 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:09 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.