Kstars

pwizfovbrowse.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 "pwizfovbrowse.h"
8
9#include <QPointer>
10#include "foveditordialog.h"
11
12PWizFovBrowseUI::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
19void PWizFovBrowseUI::slotOpenFovEditor()
20{
21 QPointer<FovEditorDialog> dialog(new FovEditorDialog(m_ParentWizard, this));
22 dialog->exec();
23 delete dialog;
24}
Class representing FOV Editor Dialog which enables user to edit FOV snapshots.
PWizFovBrowseUI(PrintingWizard *wizard, QWidget *parent=nullptr)
Constructor.
Class representing Printing Wizard for KStars printed documents (currently only finder charts).
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void setupUi(QWidget *widget)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:03 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.