Kstars

fovwidget.h
1/*
2 SPDX-FileCopyrightText: 2007 Jason Harris <kstars@30doradus.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QFrame>
10
11class FOV;
12
13class FOVWidget : public QFrame
14{
16 public:
17 explicit FOVWidget(QWidget *parent = nullptr);
18 virtual ~FOVWidget() override = default;
19
20 void setFOV(FOV *f);
21
22 protected:
23 void paintEvent(QPaintEvent *e) override;
24
25 private:
26 FOV *m_FOV { nullptr };
27};
A simple class encapsulating a Field-of-View symbol.
Definition fov.h:28
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:48:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.