File indexing completed on 2024-04-28 03:44:37
0001 /* 0002 SPDX-FileCopyrightText: 2023 Hy Murveit <hy@murveit.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "ui_opsimageoverlay.h" 0010 #include <QFrame> 0011 #include <kconfigdialog.h> 0012 0013 class KStars; 0014 0015 /** 0016 * @class OpsImageOverlay 0017 * The terrain page enables to user to manage the options for image overlays. 0018 */ 0019 class OpsImageOverlay : public QFrame, public Ui::OpsImageOverlay 0020 { 0021 Q_OBJECT 0022 0023 public: 0024 explicit OpsImageOverlay(); 0025 virtual ~OpsImageOverlay() override = default; 0026 void syncOptions(); 0027 QTableWidget *table(); 0028 QGroupBox *tableTitleBox(); 0029 QPlainTextEdit *statusDisplay(); 0030 QPushButton *solvePushButton(); 0031 QComboBox *solverProfile(); 0032 0033 private slots: 0034 void slotApply(); 0035 0036 private: 0037 KConfigDialog *m_ConfigDialog { nullptr }; 0038 }; 0039