#include <kglobal.h>
#include <kstandarddirs.h>
#include <klocale.h>
+#include <kdebug.h>
#include <math.h>
it != m_bandlist.end();
++it )
{
+ kdDebug() << "band gemalt" << endl;
if ( ( *it ).wavelength < startValue || ( *it ).wavelength > endValue )
continue;
i++;
}
+ kdDebug() << "fertig" << endl;
}
SpectrumWidget::SpectrumWidget( QWidget* parent, const char* name )
void SpectrumWidget::drawTickmarks( QPainter* p )
{
+ kdDebug() << "tickmarks" << endl;
const int space = 13;
/* for ( int i = 0; i < width() ; i+=10 )
QVBoxLayout *spectrumLayout = new QVBoxLayout( this );
m_spectrumWidget = new SpectrumWidget( this, "spectrum" );
+ m_spectrumWidget->setSpectrum( m_spectrum );
m_spectrumWidget->setBorders( spec->min(), spec->max() );
spectrumLayout->addWidget( m_spectrumWidget );