File indexing completed on 2025-01-12 06:31:49
0001 /* 0002 SPDX-FileCopyrightText: 2008 Jerome SONRIER <jsid@emor3j.fr.eu.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "ui_opsxplanet.h" 0010 0011 class KStars; 0012 0013 class OpsXplanet : public QFrame, public Ui::OpsXplanet 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 explicit OpsXplanet(KStars *_ks); 0019 virtual ~OpsXplanet() override = default; 0020 0021 private: 0022 KStars *ksw { nullptr }; 0023 0024 QString XPlanetShareDirectory(); 0025 0026 private slots: 0027 void showXPlanetMapsDirectory(); 0028 void slotConfigFileWidgets(bool on); 0029 void slotStarmapFileWidgets(bool on); 0030 void slotArcFileWidgets(bool on); 0031 void slotLabelWidgets(bool on); 0032 void slotMarkerFileWidgets(bool on); 0033 void slotMarkerBoundsWidgets(bool on); 0034 void slotProjectionWidgets(int index); 0035 void slotBackgroundWidgets(bool on); 0036 void toggleXPlanetInternal(); 0037 void slotSelectConfigFile(); 0038 void slotSelectStarMapFile(); 0039 void slotSelectArcFile(); 0040 };