Kstars

QML wrappers around KConfig

Enumerations

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

Functions

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

Function Documentation

◆ getColor()

QColor KStarsLite::getColor ( QString  name)

returns color with key name from current color scheme

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

Definition at line 405 of file kstarslite.cpp.

◆ isToggled()

bool KStarsLite::isToggled ( ObjectsToToggle  toToggle)
Returns
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
ObjectsToToggle

Definition at line 415 of file kstarslite.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Dec 8 2022 03:59:51 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.