QML wrappers around KConfig


enum class  ObjectsToToggle {
  Stars , DeepSky , Planets , CLines ,
  CBounds , ConstellationArt , MilkyWay , CNames ,
  EquatorialGrid , HorizontalGrid , Ground , Flags ,
  Satellites , Supernovae


Q_INVOKABLE QColor KStarsLite::getColor (QString name)
Q_INVOKABLE QString KStarsLite::getConfigCScheme ()
Q_INVOKABLE bool KStarsLite::isToggled (ObjectsToToggle toToggle)
Q_INVOKABLE void KStarsLite::setProjection (uint proj)
Q_INVOKABLE void KStarsLite::toggleObjects (ObjectsToToggle toToggle, bool toggle)

Detailed Description

Enumeration Type Documentation

◆ ObjectsToToggle

enum class KStarsLite::ObjectsToToggle

Definition at line 113 of file kstarslite.h.

Function Documentation

◆ getColor()

QColor KStarsLite::getColor ( QString name)

returns color with key name from current color scheme

namethe key name of the color to be retrieved from current color scheme
color from name

Definition at line 405 of file kstarslite.cpp.

◆ getConfigCScheme()

QString KStarsLite::getConfigCScheme ( )

Definition at line 410 of file kstarslite.cpp.

◆ isToggled()

bool KStarsLite::isToggled ( ObjectsToToggle toToggle)
true if objects from group toToggle are currently toggled on

Definition at line 471 of file kstarslite.cpp.

◆ setProjection()

void KStarsLite::setProjection ( uint proj)

setProjection calls Options::setProjection(proj) and updates SkyMapLite

Definition at line 398 of file kstarslite.cpp.

◆ toggleObjects()

void KStarsLite::toggleObjects ( ObjectsToToggle toToggle,
bool toggle )

toggles on/off objects of group toToggle

See also

Definition at line 415 of file kstarslite.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 19 2024 11:51:35 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.