Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/classStelSkyCultureMgr.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:38:42 2014 Кодировка: Поисковые слова: п п п п п п п п п п п п п |
![]() |
Stellarium 0.12.3
|
Manage sky cultures for stellarium. More...
#include <StelSkyCultureMgr.hpp>
Public Slots | |
QString | getCurrentSkyCultureEnglishName () const |
Get the current sky culture English name. More... | |
QString | getCurrentSkyCultureNameI18 () const |
Get the current sky culture translated name. More... | |
bool | setCurrentSkyCultureNameI18 (const QString &cultureName) |
Set the sky culture from i18n name. More... | |
QString | getCurrentSkyCultureID () |
Get the current sky culture ID. More... | |
bool | setCurrentSkyCultureID (const QString &id) |
Set the current sky culture from the ID. More... | |
QString | getDefaultSkyCultureID () |
Get the default sky culture ID. More... | |
bool | setDefaultSkyCultureID (const QString &id) |
Set the default sky culture from the ID. More... | |
QString | getSkyCultureListEnglish (void) |
Get a list of sky culture names in English. More... | |
QStringList | getSkyCultureListI18 (void) |
Get a list of sky culture names in the current language. More... | |
QStringList | getSkyCultureListIDs (void) |
Get a list of sky culture IDs. More... | |
Public Member Functions | |
void | init () |
Initialize the StelSkyCultureMgr object. More... | |
StelSkyCulture | getSkyCulture () const |
Get the current sky culture. More... | |
Manage sky cultures for stellarium.
Different human cultures have used different names for stars, and visualised different constellations in the sky (and in different parts of the sky). In the installation data directory and user data directory are the "skycultures" sub-directory containing one sub-directory per sky culture. This sub-directory name is that we refer to as sky culture ID here.
Definition at line 45 of file StelSkyCultureMgr.hpp.
|
slot |
Get the current sky culture English name.
|
inlineslot |
Get the current sky culture ID.
Definition at line 71 of file StelSkyCultureMgr.hpp.
|
slot |
Get the current sky culture translated name.
|
inlineslot |
Get the default sky culture ID.
Definition at line 78 of file StelSkyCultureMgr.hpp.
|
inline |
Get the current sky culture.
Definition at line 59 of file StelSkyCultureMgr.hpp.
|
slot |
Get a list of sky culture names in English.
|
slot |
Get a list of sky culture names in the current language.
|
slot |
Get a list of sky culture IDs.
void StelSkyCultureMgr::init | ( | ) |
Initialize the StelSkyCultureMgr object.
Gets the default sky culture name from the application's settings, sets that sky culture by calling setCurrentSkyCultureID().
|
slot |
Set the current sky culture from the ID.
id | the sky culture ID. |
|
inlineslot |
Set the sky culture from i18n name.
Definition at line 68 of file StelSkyCultureMgr.hpp.
|
slot |
Set the default sky culture from the ID.
id | the sky culture ID. |