moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kstars / kstars / magnitudespinbox.h
blobcc4dc619db14c8683f0fd4ff72d2371aad7a04b6
1 #ifndef magnitudespinbox_h
2 #define magnitudespinbox_h
4 /***************************************************************************
5 magnitudespinbox.h - description
6 -------------------
7 begin : Thu Jul 26 2001
8 copyright : (C) 2001 by Heiko Evermann
9 email : heiko@evermann.de
10 ***************************************************************************/
12 /***************************************************************************
13 * *
14 * This program is free software; you can redistribute it and/or modify *
15 * it under the terms of the GNU General Public License as published by *
16 * the Free Software Foundation; either version 2 of the License, or *
17 * (at your option) any later version. *
18 * *
19 ***************************************************************************/
21 /**@class MagnitudeSpinBox
22 *A special spinbox for entering magnitude values.
23 *This class now inherits KDoubleNumInput instead of QSpinBox
24 *@short a custom spinbox for magnitude (float) values.
25 *@author Heiko Evermann
26 *@version 1.0
29 #include <knuminput.h>
31 class QWidget;
33 class MagnitudeSpinBox : public KDoubleNumInput
35 public:
37 /**Default Constructor.
39 MagnitudeSpinBox( QWidget* parent = 0, const char* name = 0);
41 /**Constructor. Set minimum and maximum values for the spinbox.
43 MagnitudeSpinBox( double minValue, double maxValue, QWidget* parent = 0, const char* name = 0);
47 #endif