Marble
7#include "GeoSceneSection.h"
9#include "MarbleDebug.h"
11#include "GeoSceneTypes.h"
12#include "GeoSceneItem.h"
17GeoSceneSection::GeoSceneSection(
const QString& name )
24GeoSceneSection::~GeoSceneSection()
26 qDeleteAll( m_items );
29const char* GeoSceneSection::nodeType()
const
31 return GeoSceneTypes::GeoSceneSectionType;
38 while (it != m_items.end()) {
40 if ( currentItem->name() == item->name() ) {
51 m_items.append( item );
61 for (; it != end; ++it) {
62 if ( (*it)->name() == name ) {
69 item =
new GeoSceneItem( name );
81QString GeoSceneSection::name()
const
86QString GeoSceneSection::heading()
const
91void GeoSceneSection::setHeading(
const QString& heading )
96bool GeoSceneSection::checkable()
const
101void GeoSceneSection::setCheckable(
bool checkable )
103 m_checkable = checkable;
106QString GeoSceneSection::connectTo()
const
111void GeoSceneSection::setConnectTo(
const QString& connectTo )
113 m_connectTo = connectTo;
116int GeoSceneSection::spacing()
const
121void GeoSceneSection::setSpacing(
int spacing )
126QString GeoSceneSection::radio()
const
131void GeoSceneSection::setRadio(
const QString& radio )
The section item in a legend of a GeoScene document.
QString name(StandardShortcut id)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.