28 connect( kcfg_ShowCNames, SIGNAL( toggled(
bool ) ),
29 this, SLOT( slotToggleConstellOptions(
bool ) ) );
30 connect( kcfg_ShowMilkyWay, SIGNAL( toggled(
bool ) ),
31 this, SLOT( slotToggleMilkyWayOptions(
bool ) ) );
32 connect( kcfg_ShowGround, SIGNAL( toggled(
bool ) ),
33 this, SLOT( slotToggleOpaqueGround(
bool ) ) );
34 connect( kcfg_AutoSelectGrid, SIGNAL( toggled(
bool ) ),
35 this, SLOT( slotToggleAutoSelectGrid(
bool ) ) );
38 kcfg_SkyCulture->addItem(
i18nc(
"Sky Culture", item.toUtf8().constData() ) );
52 void OpsGuides::slotToggleConstellOptions(
bool state ) {
53 ConstellOptions->setEnabled( state );
56 void OpsGuides::slotToggleMilkyWayOptions(
bool state ) {
57 kcfg_FillMilkyWay->setEnabled( state );
60 void OpsGuides::slotToggleOpaqueGround(
bool state ) {
61 kcfg_ShowHorizon->setEnabled( !state );
64 void OpsGuides::slotToggleAutoSelectGrid(
bool state ) {
65 kcfg_ShowEquatorialGrid->setEnabled( !state );
66 kcfg_ShowHorizontalGrid->setEnabled( !state );
69 #include "opsguides.moc"
static bool showMilkyWay()
Get Draw Milky Way contour in the sky map?
This is the main window for KStars.
static bool showGround()
Get Draw opaque ground in the sky map?
static bool autoSelectGrid()
Get Draw grids according to active coordinate system?
static bool showCNames()
Get Draw constellation names in the sky map?
i18nc("string from libindi, used in the config dialog","100x")
SkyMapComposite * skyComposite()
QStringList getCultureNames()
KStarsData * data() const