Kstars

pwizfovtypeselection.cpp
1 /*
2  SPDX-FileCopyrightText: 2011 Rafał Kułaga <[email protected]>
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.
Class representing Printing Wizard for KStars printed documents (currently only finder charts).
void setupUi(QWidget *widget)
PWizFovTypeSelectionUI(PrintingWizard *wizard, QWidget *parent=nullptr)
Constructor.
FOV_TYPE
FOV export method type enumeration.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Aug 8 2022 04:13:23 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.