File indexing completed on 2024-07-14 07:17:15

0001 /*
0002     SPDX-FileCopyrightText: 2004 Jason Harris <jharris@30doradus.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "ui_opsadvanced.h"
0010 
0011 /**
0012  * @class OpsAdvanced
0013  * The Advanced Tab of the Options window.  In this Tab the user can configure
0014  * advanced behaviors of the program, including:
0015  * @li Whether some objects are hidden when the map is moving (and which objects)
0016  * @li Whether positions are corrected for atmospheric refraction
0017  * @li Whether a slewing animation is used to move the Focus position
0018  * @li Whether centered objects are automatically labeled
0019  * @li whether a "transient" label is attached when the mouse "hovers" at an object.
0020  * @li whether to enable verbose debug output to a file which could be useful in troubleshooting any issues in KStars.
0021  *
0022  * @author Jason Harris, Jasem Mutlaq
0023  * @version 1.1
0024  */
0025 
0026 class OpsAdvanced : public QFrame, public Ui::OpsAdvanced
0027 {
0028         Q_OBJECT
0029 
0030     public:
0031         OpsAdvanced();
0032         virtual ~OpsAdvanced() override = default;
0033 
0034     private slots:
0035         void slotChangeTimeScale(float newScale);
0036         void slotToggleHideOptions();
0037         void slotToggleVerbosityOptions();
0038         void slotToggleOutputOptions();
0039         void slotShowLogFiles();
0040         void slotApply();
0041         void slotPurge();
0042 };