Marble
13 class ViewParamsPrivate
32 bool m_showAtmosphere;
37 ViewParamsPrivate::ViewParamsPrivate()
40 m_viewContext(
Still ),
41 m_mapQuality( m_stillQuality ),
43 m_showAtmosphere( true ),
48 ViewParamsPrivate::~ViewParamsPrivate()
53 ViewParams::ViewParams()
54 : d( new ViewParamsPrivate )
58 ViewParams::~ViewParams()
65 if ( viewContext ==
Still )
66 return d->m_stillQuality;
69 return d->m_animationQuality;
74 return d->m_mapQuality;
79 if ( viewContext ==
Still ) {
80 d->m_stillQuality = quality;
83 d->m_animationQuality = quality;
86 if ( d->m_viewContext == viewContext ) {
87 d->m_mapQuality = quality;
93 return d->m_viewContext;
96 void ViewParams::setViewContext(
ViewContext viewContext )
98 d->m_viewContext = viewContext;
100 if ( viewContext ==
Still )
101 d->m_mapQuality = d->m_stillQuality;
103 d->m_mapQuality = d->m_animationQuality;
106 bool ViewParams::showAtmosphere()
const
108 return d->m_showAtmosphere;
111 void ViewParams::setShowAtmosphere(
bool showAtmosphere )
113 d->m_showAtmosphere = showAtmosphere;
116 bool ViewParams::showClouds()
const
118 return d->m_showClouds;
121 void ViewParams::setShowClouds(
bool const showClouds )
123 d->m_showClouds = showClouds;
ViewContext
This enum is used to choose context in which map quality gets used.
@ LowQuality
Low resolution (e.g. interlaced)
@ Animation
animated view (e.g. while rotating the globe)
MapQuality
This enum is used to choose the map quality shown in the view.
Binds a QML item to a specific geodetic location in screen coordinates.
@ HighQuality
High quality (e.g. antialiasing for lines)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:28 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.