1 /****************************************************************************
2 ** ui.h extension file, included from the uic-generated form implementation.
4 ** Add custom slot implementations here. Use a slot init() for
5 ** initialization code called during construction, and a slot destroy()
6 ** for cleanup code called during destruction.
8 ** This file gets modified by Qt Designer whenever you add, rename or
9 ** remove custom slots. Implementation code does not get lost.
10 *****************************************************************************/
13 void CTickViewBase::slotMaxTick(int i)
15 if ( !oneTickCheck->isChecked())
16 minTickSpin->setMaxValue(i);
19 void CTickViewBase::slotMinTick( int i )
21 if ( !oneTickCheck->isChecked())
22 maxTickSpin->setMinValue(i);
25 void CTickViewBase::slotTickChanged(int i)
27 if ( oneTickCheck->isChecked())
29 maxTickSpin->setValue(i);
30 minTickSpin->setValue(i);
34 void CTickViewBase::slotOneTick( bool b )
38 maxTickSpin->setMinValue(0);
39 minTickSpin->setMaxValue(99);
43 maxTickSpin->setMinValue( minTickSpin->value());
44 minTickSpin->setMaxValue( maxTickSpin->value());