kstars
magnitudespinbox.cpp
Go to the documentation of this file.00001 /*************************************************************************** 00002 magnitudespinbox.cpp - description 00003 ------------------- 00004 begin : Thu Jul 26 2001 00005 copyright : (C) 2001 by Heiko Evermann 00006 email : heiko@evermann.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #include "magnitudespinbox.h" 00019 00020 MagnitudeSpinBox::MagnitudeSpinBox( QWidget * parent , const char * name ) 00021 : KDoubleNumInput( 0.0, 10.0, 0.0, 0.1 /*step*/, 1 /*precision*/, parent, name) 00022 { 00023 } 00024 00025 MagnitudeSpinBox::MagnitudeSpinBox( double minValue, double maxValue, 00026 QWidget * parent , const char * name ) 00027 : KDoubleNumInput( minValue, maxValue, minValue, 0.1 /* step */, 1, parent, name) 00028 { 00029 }