1 #ifndef magnitudespinbox_h
2 #define magnitudespinbox_h
4 /***************************************************************************
5 magnitudespinbox.h - description
7 begin : Thu Jul 26 2001
8 copyright : (C) 2001 by Heiko Evermann
9 email : heiko@evermann.de
10 ***************************************************************************/
12 /***************************************************************************
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. *
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
29 #include <knuminput.h>
33 class MagnitudeSpinBox
: public KDoubleNumInput
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);