Kstars

pwizchartconfig.h
1 /*
2  SPDX-FileCopyrightText: 2011 Rafał Kułaga <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #ifndef PWIZCHARTCONFIG_H
8 #define PWIZCHARTCONFIG_H
9 
10 #include "ui_pwizchartconfig.h"
11 
12 /**
13  * \class PWizChartConfigUI
14  * \brief User interface for "Configure basic finder chart settings" step of the Printing Wizard.
15  * \author Rafał Kułaga
16  */
17 class PWizChartConfigUI : public QFrame, public Ui::PWizChartConfig
18 {
19  Q_OBJECT
20  public:
21  /**
22  * \brief Constructor.
23  */
24  explicit PWizChartConfigUI(QWidget *parent = nullptr);
25 
26  /**
27  * \brief Get entered chart title.
28  * \return Chart title.
29  */
30  QString getChartTitle() { return titleEdit->text(); }
31 
32  /**
33  * \brief Get entered chart subtitle.
34  * \return Chart subtitle.
35  */
36  QString getChartSubtitle() { return subtitleEdit->text(); }
37 
38  /**
39  * \brief Get entered chart description.
40  * \return Chart description.
41  */
42  QString getChartDescription() { return descriptionTextEdit->toPlainText(); }
43 };
44 
45 #endif // PWIZCHARTCONFIG_H
Q_OBJECTQ_OBJECT
User interface for "Configure basic finder chart settings" step of the Printing Wizard.
QString getChartSubtitle()
Get entered chart subtitle.
PWizChartConfigUI(QWidget *parent=nullptr)
Constructor.
QString getChartTitle()
Get entered chart title.
QString getChartDescription()
Get entered chart description.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:56 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.