aLabel->show() does not seem to work
hello everyone,
in the aForm::init() function
if ( aUINT == 1 )
{
aButton->setOn(TRUE);//its a toggle button
aButton->setText(QString ("ON") );
aLabel->setText("some text");
aLabel->show();
}
but the label is not shown.. does not appear on screen. i know the if statement is run because the setOn call works properly.
any ideas?
nass
Re: aLabel->show() does not seem to work
What is aLabel? What is its parent? Are you using Designer or do you invoke this init() method manually? Could you verify that the method is run by placing some qDebug statement in it?
Re: aLabel->show() does not seem to work
scratch that... really stupid reason, was calling hide() somewhere later on in init()..