File indexing completed on 2024-03-24 15:17:59

0001 /*
0002     SPDX-FileCopyrightText: 2013 Samikshan Bairagya <samikshan@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "ui_wilpsettings.h"
0010 
0011 class KStars;
0012 
0013 /**
0014  * @class WILPSettings
0015  * @brief User interface for "Light Pollution Settings" page in WI settings dialog
0016  * This class deals with light pollution settings for WI. The user sets the bortle
0017  * dark-sky rating for the night sky, and this value is used to calculate one of the
0018  * parameters that decides the limiting mangnitude.
0019  *
0020  * @author Samikshan Bairagya
0021  */
0022 class WILPSettings : public QFrame, public Ui::WILPSettings
0023 {
0024     Q_OBJECT
0025 
0026   public:
0027     explicit WILPSettings(KStars *ks);
0028 
0029   private:
0030     KStars *m_Ks { nullptr };
0031 };