Kstars

pwizchartcontents.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 PWIZCHARTCONTENTS_H
8#define PWIZCHARTCONTENTS_H
9
10#include "ui_pwizchartcontents.h"
11
12class PrintingWizard;
13
14/**
15 * \class PWizChartContentsUI
16 * \brief User interface for "Configure chart contents" step of the Printing Wizard.
17 * \author Rafał Kułaga
18 */
19class PWizChartContentsUI : public QFrame, public Ui::PWizChartContents
20{
22 public:
23 /**
24 * \brief Constructor.
25 */
26 explicit PWizChartContentsUI(PrintingWizard *wizard, QWidget *parent = nullptr);
27
28 /**
29 * \brief Enable or disable specific fields depending on the type of selected object.
30 */
31 void entered();
32
33 /**
34 * \brief Check if general details table is enabled.
35 * \return True if general details table is enabled.
36 */
38
39 /**
40 * \brief Check if position details table is enabled.
41 * \return True if position details table is enabled.
42 */
44
45 /**
46 * \brief Check if Rise/Set/Transit details table is enabled.
47 * \return True if Rise/Set/Transit details table is enabled.
48 */
49 bool isRSTTableChecked();
50
51 /**
52 * \brief Check if Asteroid/Comet details table is enabled.
53 * \return True if Asteroid/Comet details table is enabled.
54 */
56
57 /**
58 * \brief Check if logging form is enabled.
59 * \return True if logging form is enabled.
60 */
62
63 private:
64 PrintingWizard *m_ParentWizard;
65};
66
67#endif // PWIZCHARTCONTENTS_H
User interface for "Configure chart contents" step of the Printing Wizard.
PWizChartContentsUI(PrintingWizard *wizard, QWidget *parent=nullptr)
Constructor.
bool isPositionTableChecked()
Check if position details table is enabled.
bool isAstComTableChecked()
Check if Asteroid/Comet details table is enabled.
bool isRSTTableChecked()
Check if Rise/Set/Transit details table is enabled.
bool isGeneralTableChecked()
Check if general details table is enabled.
void entered()
Enable or disable specific fields depending on the type of selected object.
bool isLoggingFormChecked()
Check if logging form is enabled.
Class representing Printing Wizard for KStars printed documents (currently only finder charts).
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.