Kstars

pwizfovbrowse.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 "pwizfovbrowse.h"
8 
9 #include <QPointer>
10 #include "foveditordialog.h"
11 
12 PWizFovBrowseUI::PWizFovBrowseUI(PrintingWizard *wizard, QWidget *parent) : QFrame(parent), m_ParentWizard(wizard)
13 {
14  setupUi(this);
15 
16  connect(browseButton, SIGNAL(clicked()), this, SLOT(slotOpenFovEditor()));
17 }
18 
19 void PWizFovBrowseUI::slotOpenFovEditor()
20 {
21  QPointer<FovEditorDialog> dialog(new FovEditorDialog(m_ParentWizard, this));
22  dialog->exec();
23  delete dialog;
24 }
Class representing Printing Wizard for KStars printed documents (currently only finder charts).
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
PWizFovBrowseUI(PrintingWizard *wizard, QWidget *parent=nullptr)
Constructor.
void setupUi(QWidget *widget)
Class representing FOV Editor Dialog which enables user to edit FOV snapshots.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Aug 14 2022 04:13:59 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.