Main Page   Class Hierarchy   Compound List   File List   Compound Members  

channelpropertiesdialog.ui.h

00001 /****************************************************************************
00002 ** ui.h extension file, included from the uic-generated form implementation.
00003 **
00004 ** If you wish to add, delete or rename slots use Qt Designer which will
00005 ** update this file, preserving your code. Create an init() slot in place of
00006 ** a constructor, and a destroy() slot in place of a destructor.
00007 *****************************************************************************/
00008 
00009 #include <knuminput.h>
00010 
00011 void ChannelPropertiesDialog::freqUp()
00012 {
00013     if (_freq->value() + _freqStep < 1000.0)
00014          _freq->setValue(_freq->value() + _freqStep);
00015     else
00016          _freq->setValue(1000.0);
00017 
00018     emit frequencyUpdate( _freq->value()*1000 );
00019 }
00020 
00021 void ChannelPropertiesDialog::freqDown()
00022 {
00023     if (_freq->value()  - _freqStep > 0.0)
00024          _freq->setValue(_freq->value() - _freqStep);
00025     else
00026         _freq->setValue(0.0);
00027 
00028     emit frequencyUpdate( _freq->value()*1000 );
00029 }
00030 
00031 
00032 void ChannelPropertiesDialog::setFreqStep( double f )
00033 {
00034     _freqStep = f;
00035 }

Generated at Thu Jan 30 02:56:02 2003 for QtVision by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001