]> ruin.nu Git - hbs.git/blobdiff - bs/ui/tickviewbase.ui.h
much better indenting.. (thnx vim ;)
[hbs.git] / bs / ui / tickviewbase.ui.h
index 026be8c2d28c392201f9190d58670142a6a7edd6..d37d629fa3460f2501268a1897cd69a2656167b6 100644 (file)
@@ -1,52 +1,52 @@
 /****************************************************************************
-** ui.h extension file, included from the uic-generated form implementation.
-** 
-** Add custom slot implementations here. Use a slot init() for
-** initialization code called during construction, and a slot destroy()
-** for cleanup code called during destruction.
-**
-** This file gets modified by Qt Designer whenever you add, rename or
-** remove custom slots. Implementation code does not get lost.
-*****************************************************************************/
+ ** ui.h extension file, included from the uic-generated form implementation.
+ ** 
+ ** Add custom slot implementations here. Use a slot init() for
+ ** initialization code called during construction, and a slot destroy()
+ ** for cleanup code called during destruction.
+ **
+ ** This file gets modified by Qt Designer whenever you add, rename or
+ ** remove custom slots. Implementation code does not get lost.
+ *****************************************************************************/
 
 
 void CTickViewBase::slotMaxTick(int i)
 {
-     if ( !oneTickCheck->isChecked())
-        minTickSpin->setMaxValue(i);
-     
+       if ( !oneTickCheck->isChecked())
+               minTickSpin->setMaxValue(i);
+
 }
 
 void CTickViewBase::slotMinTick( int i )
 {
-     if ( !oneTickCheck->isChecked())
-        maxTickSpin->setMinValue(i);
+       if ( !oneTickCheck->isChecked())
+               maxTickSpin->setMinValue(i);
 }
 
 void CTickViewBase::slotTickChanged(int i)
 {
-   if ( oneTickCheck->isChecked())
-    {
-       maxTickSpin->setValue(i);
-       //minTickSpin->setValue(i-1);
-       emit ticksChanged( maxTickSpin->value() - 1, maxTickSpin->value());
-       return;
-    }
-   emit ticksChanged( minTickSpin->value(), maxTickSpin->value());
+       if ( oneTickCheck->isChecked())
+       {
+               maxTickSpin->setValue(i);
+               //minTickSpin->setValue(i-1);
+               emit ticksChanged( maxTickSpin->value() - 1, maxTickSpin->value());
+               return;
+       }
+       emit ticksChanged( minTickSpin->value(), maxTickSpin->value());
 }
 
 void CTickViewBase::slotOneTick( bool b )
 {
-    if(b)
-    {
-       maxTickSpin->setMinValue(0);
-       minTickSpin->setDisabled(true);
-       minTickSpin->setMaxValue(99);
-    }
-    else
-    {
-       minTickSpin->setEnabled(true);
-       maxTickSpin->setMinValue( minTickSpin->value());
-       minTickSpin->setMaxValue( maxTickSpin->value());
-    }
-}
\ No newline at end of file
+       if(b)
+       {
+               maxTickSpin->setMinValue(0);
+               minTickSpin->setDisabled(true);
+               minTickSpin->setMaxValue(99);
+       }
+       else
+       {
+               minTickSpin->setEnabled(true);
+               maxTickSpin->setMinValue( minTickSpin->value());
+               minTickSpin->setMaxValue( maxTickSpin->value());
+       }
+}