2010-01-22

Make LCDNumber Transparent



MyClockLcd::MyClockLcd ( QWidget *parent )
:QLCDNumber(parent)
{
//show decimal
setMode( Dec );

//segment style
setSegmentStyle( Filled );

// transparent background
setAttribute( Qt::WA_NoBackground );

//no frame
setFrameStyle( QFrame::NoFrame );
display("00:00");

}

No comments:

Post a Comment