added some test code
This commit is contained in:
parent
4d633661a6
commit
15d52f3389
1 changed files with 6 additions and 0 deletions
|
@ -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++ )
|
||||||
|
|
Loading…
Reference in a new issue