marble
FileViewWidget.cpp
Go to the documentation of this file.
125 = index.model()->data( index, MarblePlacemarkModel::ObjectPointerRole ).value<GeoDataObject*>();
128 m_fileManager->saveFile( QFileDialog::getSaveFileName( q, "Select filename for KML document" ), document );
136 = index.model()->data( index, MarblePlacemarkModel::ObjectPointerRole ).value<GeoDataObject*>();
149 = index.model()->data( index, MarblePlacemarkModel::ObjectPointerRole ).value<GeoDataObject*>();
165 = index.model()->data( index, MarblePlacemarkModel::ObjectPointerRole ).value<GeoDataObject*>();
169 d->m_widget->model()->placemarkSelectionModel()->select( index, QItemSelectionModel::ClearAndSelect );
QLayout * layout() const
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:65
The representation of GeoData in a model This class represents all available data given by kml-data f...
Definition: GeoDataTreeModel.h:32
This file contains the headers for MarbleModel.
void saveFile(const QString &filename, GeoDataDocument *document)
Definition: kml2cache.cpp:66
T value() const
A base class that can hold GeoDataFeatures.
Definition: GeoDataContainer.h:47
The pointer to a specific object.
Definition: MarblePlacemarkModel.h:62
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
bool isValid() const
Definition: GeoDataDocument.h:42
This class is responsible for loading the different files into Geodata model.
Definition: FileManager.h:36
DocumentRole documentRole() const
Definition: GeoDataDocument.cpp:81
virtual QVariant data(const QModelIndex &index, int role) const =0
void setMargin(int margin)
FileViewWidget(QWidget *parent=0, Qt::WindowFlags f=0)
Definition: FileViewWidget.cpp:65
Definition: FileViewWidget.h:33
const QAbstractItemModel * model() const
void centerOn(const GeoDataPlacemark &, bool animated)
QString getSaveFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFlags< QFileDialog::Option > options)
This file contains the headers for MarbleWidget.
typedef WindowFlags
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
A class that defines a 3D bounding box for geographic data.
Definition: GeoDataLatLonAltBox.h:49
A class that defines a 2D bounding box for geographic data.
Definition: GeoDataLatLonBox.h:51
void setMarbleWidget(MarbleWidget *widget)
Definition: FileViewWidget.cpp:78
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.