Kstars

magnitudespinbox.h
1/*
2 SPDX-FileCopyrightText: 2001 Heiko Evermann <heiko@evermann.de>
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
18class QWidget;
19
21{
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};
A special spinbox for entering magnitude values.
MagnitudeSpinBox(QWidget *parent=nullptr)
Default Constructor.
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.