Kstars

fovwidget.h
1 /*
2  SPDX-FileCopyrightText: 2007 Jason Harris <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <QFrame>
10 
11 class FOV;
12 
13 class FOVWidget : public QFrame
14 {
15  Q_OBJECT
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 };
Q_OBJECTQ_OBJECT
Definition: fov.h:27
virtual void paintEvent(QPaintEvent *) override
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.