summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/magnitudespinbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/magnitudespinbox.cpp')
-rw-r--r--kstars/kstars/magnitudespinbox.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/kstars/kstars/magnitudespinbox.cpp b/kstars/kstars/magnitudespinbox.cpp
new file mode 100644
index 00000000..baa7d05e
--- /dev/null
+++ b/kstars/kstars/magnitudespinbox.cpp
@@ -0,0 +1,29 @@
+/***************************************************************************
+ 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( QWidget * parent , const char * name )
+ : KDoubleNumInput( 0.0, 10.0, 0.0, 0.1 /*step*/, 1 /*precision*/, parent, name)
+{
+}
+
+MagnitudeSpinBox::MagnitudeSpinBox( double minValue, double maxValue,
+ QWidget * parent , const char * name )
+ : KDoubleNumInput( minValue, maxValue, minValue, 0.1 /* step */, 1, parent, name)
+{
+}