Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
![:]](wcf/images/smilies/pleased.gif)

Quoted
Originally posted by djanubis
So from another class you simply use:
theClassWithQlabel->theQLabelWidget->setText( "some buzz" ) ;
Quoted
netGoDialog->runProfileLabel->setText("hoho");
|
|
Source code |
1 2 3 |
NetGoDialog * netGoDialog = new NetGoDialog( this, "NetGoDialog", TRUE ) ;
netGoDialog->runProfileLabel->setText("hoho");
netGoDialog->exec() ;
|
|
|
Source code |
1 |
QWidgetList * qApp->topLevelWidgets() ; |
This post has been edited 1 times, last edit by "djanubis" (Jun 18th 2004, 5:37pm)
Quoted
Keep it simple
Subclassing is not always the solution. When other ways exist, it often better to use them, both for execution speed and preventing hierarchy bloating.
![:]](wcf/images/smilies/pleased.gif)