Kstars

pwizfovtypeselection.cpp
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#include "pwizfovtypeselection.h"
8
10 : QFrame(parent), m_ParentWizard(wizard)
11{
12 setupUi(this);
13}
14
16{
17 if (manualRadio->isChecked())
18 {
19 return PrintingWizard::FT_MANUAL;
20 }
21
22 else if (hopperRadio->isChecked())
23 {
24 return PrintingWizard::FT_STARHOPPER;
25 }
26
27 else
28 {
29 return PrintingWizard::FT_UNDEFINED;
30 }
31}
PrintingWizard::FOV_TYPE getFovExportType()
Get selected FOV export method.
PWizFovTypeSelectionUI(PrintingWizard *wizard, QWidget *parent=nullptr)
Constructor.
Class representing Printing Wizard for KStars printed documents (currently only finder charts).
FOV_TYPE
FOV export method type enumeration.
void setupUi(QWidget *widget)
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.