Marble
MapThemeManager.cpp
156 const QString id = d->m_mapThemeModel.data( d->m_mapThemeModel.index( i, 0 ), Qt::UserRole + 1 ).toString();
382 const QString translatedDescription = QCoreApplication::translate("DGML", mapTheme->head()->description().toUtf8().constData());
383 const QString toolTip = QLatin1String("<span style=\" max-width: 150 px;\"> ") + translatedDescription + QLatin1String(" </span>");
420 QList<QStandardItem*> matchingItems = m_celestialList.findItems( celestialBodyId, Qt::MatchExactly, 1 );
495 void MapThemeManager::Private::addMapThemePaths( const QString& mapPathName, QStringList& result )
530 GeoSceneDocument *MapThemeManager::createMapThemeFromOverlay( const GeoDataPhotoOverlay *overlayData )
QStandardItemModel * celestialBodiesModel()
Provides a model of all installed planets.
Definition: MapThemeManager.cpp:336
QStringList mapThemeIds() const
Returns a list of all locally available map theme IDs.
Definition: MapThemeManager.cpp:144
QString section(QChar sep, int start, int end, QString::SectionFlags flags) const const
void addDataset(GeoSceneAbstractDataset *)
Add a data set to the legend.
Definition: GeoSceneLayer.cpp:65
UserRole
static GeoSceneDocument * createMapThemeFromOverlay(const GeoDataPhotoOverlay *overlayData)
Returns a map as a GeoSceneDocument object created from a GeoDataPhotoOverlay.
Definition: MapThemeManager.cpp:530
ReadOnly
bool remove()
QSize size() const const
QString translate(const char *context, const char *sourceText, const char *disambiguation, int n)
static QString localizedName(const QString &id)
Returns a localized name of the planet with the given ID.
Definition: PlanetFactory.cpp:226
Provides access to all map themes installed locally.
Definition: DeclarativeMapThemeManager.h:30
void addProperty(GeoSceneProperty *property)
Add a property to the settings.
Definition: GeoSceneSettings.cpp:204
bool contains(const QString &str, Qt::CaseSensitivity cs) const const
NoDotAndDotDot
QString suffix() const const
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
static void deleteMapTheme(const QString &mapThemeId)
Deletes the map theme with the specified map theme ID.
Definition: MapThemeManager.cpp:171
void reserve(int alloc)
QStandardItemModel * mapThemeModel()
Provides a model of the locally existing themes.
Definition: MapThemeManager.cpp:327
bool empty() const const
int size() const const
KeepAspectRatio
T takeFirst()
Horizontal
bool isEmpty() const const
const T & at(int i) const const
bool mkpath(const QString &dirPath) const const
Settings property within a GeoScene document.
Definition: GeoSceneProperty.h:24
bool isEmpty() const const
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:22
DirsFirst
QString absolutePath() const const
QDir absoluteDir() const const
QString fileName() const const
QString path() const const
bool isNull() const const
bool load(const QString &fileName, const char *format, Qt::ImageConversionFlags flags)
QPixmap scaled(int width, int height, Qt::AspectRatioMode aspectRatioMode, Qt::TransformationMode transformMode) const const
KIOFILEWIDGETS_EXPORT QString dir(const QString &fileClass)
QString path(const QString &relativePath)
const char * name(StandardAction id)
virtual void setData(const QVariant &value, int role)
MatchExactly
QStringList entryList(QDir::Filters filters, QDir::SortFlags sort) const const
static GeoSceneDocument * loadMapTheme(const QString &mapThemeStringID)
Returns the map theme as a GeoSceneDocument object.
Definition: MapThemeManager.cpp:163
SmoothTransformation
QString tr(const char *sourceText, const char *disambiguation, int n)
T & front()
A container for features parsed from the DGML file.
Definition: GeoSceneDocument.h:29
void sort(Qt::CaseSensitivity cs)
QDir dir() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:09:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:09:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.