added some test code

This commit is contained in:
Volker Fischer 2009-05-01 21:14:45 +00:00
parent 4d633661a6
commit 15d52f3389

View file

@ -44,6 +44,12 @@ CMultiColorLEDBar::CMultiColorLEDBar ( QWidget* parent, Qt::WindowFlags f )
pMainLayout->setAlignment ( Qt::AlignVCenter ); pMainLayout->setAlignment ( Qt::AlignVCenter );
pMainLayout->setSpacing ( 0 ); pMainLayout->setSpacing ( 0 );
// TEST helps finding the problem with margin on left and right
//setFrameShape ( QFrame::StyledPanel );
//setFrameShadow ( QFrame::Sunken );
// create LEDs // create LEDs
vecpLEDs.Init ( iNumLEDs ); vecpLEDs.Init ( iNumLEDs );
for ( int i = 0; i < iNumLEDs; i++ ) for ( int i = 0; i < iNumLEDs; i++ )