File indexing completed on 2024-05-05 12:00:49
0001 /* 0002 SPDX-FileCopyrightText: 2011 Rafał Kułaga <rl.kulaga@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "kstarsdocument.h" 0010 0011 class QTextDocument; 0012 0013 /** 0014 * @class LoggingForm 0015 * @brief Class that represents logging form. 0016 * Currently, LoggingForm class is used to create logging forms for finder charts. 0017 * 0018 * @author Rafał Kułaga 0019 */ 0020 class LoggingForm : public KStarsDocument 0021 { 0022 public: 0023 /** Constructor */ 0024 LoggingForm() = default; 0025 0026 /** Create simple logging form for finder charts. */ 0027 void createFinderChartLogger(); 0028 0029 /** 0030 * @brief Get logging form internal QTextDocument. 0031 * This method is used to enable inserting of LoggingForm objects into QTextDocument 0032 * instances. 0033 * @return QTextDocument that contains logging form. 0034 */ 0035 QTextDocument *getDocument(); 0036 };