Kstars

magnitudespinbox.h
1 /*
2  SPDX-FileCopyrightText: 2001 Heiko Evermann <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 /** @class MagnitudeSpinBox
8  *A special spinbox for entering magnitude values.
9  *This class now inherits QDoubleSpinBox instead of QSpinBox
10  *@short a custom spinbox for magnitude (float) values.
11  *@author Heiko Evermann
12  *@version 1.0
13  */
14 #pragma once
15 
16 #include <QDoubleSpinBox>
17 
18 class QWidget;
19 
21 {
22  Q_OBJECT
23  public:
24  /** Default Constructor */
25  explicit MagnitudeSpinBox(QWidget *parent = nullptr);
26 
27  /** Constructor. Set minimum and maximum values for the spinbox. */
28  MagnitudeSpinBox(double minValue, double maxValue, QWidget *parent = nullptr);
29 };
Q_OBJECTQ_OBJECT
MagnitudeSpinBox(QWidget *parent=nullptr)
Default Constructor.
a custom spinbox for magnitude (float) values.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:02:41 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.