File indexing completed on 2024-04-21 03:44:29
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 #ifndef PWIZCHARTCONFIG_H 0008 #define PWIZCHARTCONFIG_H 0009 0010 #include "ui_pwizchartconfig.h" 0011 0012 /** 0013 * \class PWizChartConfigUI 0014 * \brief User interface for "Configure basic finder chart settings" step of the Printing Wizard. 0015 * \author Rafał Kułaga 0016 */ 0017 class PWizChartConfigUI : public QFrame, public Ui::PWizChartConfig 0018 { 0019 Q_OBJECT 0020 public: 0021 /** 0022 * \brief Constructor. 0023 */ 0024 explicit PWizChartConfigUI(QWidget *parent = nullptr); 0025 0026 /** 0027 * \brief Get entered chart title. 0028 * \return Chart title. 0029 */ 0030 QString getChartTitle() { return titleEdit->text(); } 0031 0032 /** 0033 * \brief Get entered chart subtitle. 0034 * \return Chart subtitle. 0035 */ 0036 QString getChartSubtitle() { return subtitleEdit->text(); } 0037 0038 /** 0039 * \brief Get entered chart description. 0040 * \return Chart description. 0041 */ 0042 QString getChartDescription() { return descriptionTextEdit->toPlainText(); } 0043 }; 0044 0045 #endif // PWIZCHARTCONFIG_H