Kstars

pwizchartconfig.h
1/*
2 SPDX-FileCopyrightText: 2011 Rafał Kułaga <rl.kulaga@gmail.com>
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 */
17class PWizChartConfigUI : public QFrame, public Ui::PWizChartConfig
18{
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
User interface for "Configure basic finder chart settings" step of the Printing Wizard.
QString getChartDescription()
Get entered chart description.
QString getChartSubtitle()
Get entered chart subtitle.
PWizChartConfigUI(QWidget *parent=nullptr)
Constructor.
QString getChartTitle()
Get entered chart title.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.