Kstars

QML wrappers around KConfig

Enumerations

enum class  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

Enumeration Type Documentation

◆ ObjectsToToggle

enum class KStarsLite::ObjectsToToggle
strong

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

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.

◆ getConfigCScheme()

QString KStarsLite::getConfigCScheme ( )

Definition at line 410 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-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:11:16 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.