File indexing completed on 2024-12-08 09:28:53
0001 /* 0002 SPDX-FileCopyrightText: 2005 Jasem Mutlaq <mutlaqja@ikarustech.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "ui_opsindi.h" 0010 0011 class KStars; 0012 class KConfigDialog; 0013 0014 /** 0015 * @class OpsINDI 0016 * 0017 * Enables the user to change several INDI options including default ports for common devices, 0018 * time and location source, and options pertaining to FITSViewer tool. 0019 * 0020 * @author Jasem Mutlaq 0021 */ 0022 class OpsINDI : public QFrame, public Ui::OpsINDI 0023 { 0024 Q_OBJECT 0025 0026 public: 0027 OpsINDI(); 0028 virtual ~OpsINDI() override = default; 0029 0030 private slots: 0031 void saveFITSDirectory(); 0032 void saveDriversDirectory(); 0033 void slotShowLogFiles(); 0034 void toggleINDIInternal(); 0035 void toggleDriversInternal(); 0036 void verifyINDIServer(); 0037 void saveINDIHubAgent(); 0038 0039 private: 0040 KConfigDialog *m_ConfigDialog { nullptr }; 0041 };