You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeedu/kstars/kstars/magnitudespinbox.cpp

30 lines
1.4 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

/***************************************************************************
magnitudespinbox.cpp - description
-------------------
begin : Thu Jul 26 2001
copyright : (C) 2001 by Heiko Evermann
email : heiko@evermann.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "magnitudespinbox.h"
MagnitudeSpinBox::MagnitudeSpinBox( TQWidget * parent , const char * name )
: KDoubleNumInput( 0.0, 10.0, 0.0, 0.1 /*step*/, 1 /*precision*/, parent, name)
{
}
MagnitudeSpinBox::MagnitudeSpinBox( double minValue, double maxValue,
TQWidget * parent , const char * name )
: KDoubleNumInput( minValue, maxValue, minValue, 0.1 /* step */, 1, parent, name)
{
}