Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, October 1998
QWidget title


Message 1 in thread

That's a newbie question... How do i change the title of a widget? I 
didn't find the QWidget::setTitle(char *)

because it takes the name of the application. so if I open another 
QWidget it will have the same title ("same title <2>")

thanks for your help.

Dominique Nerriere
dom2571@hotmail.com




______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


Message 2 in thread

At 05:05 PM 10/24/98 PDT, Dominique NERRIERE wrote:
>That's a newbie question... How do i change the title of a widget? I 
>didn't find the QWidget::setTitle(char *)

'QWidget::setCaption (const char * caption)' should do what you want.

Good luck,
Soeren


>
>because it takes the name of the application. so if I open another 
>QWidget it will have the same title ("same title <2>")
>
>thanks for your help.
>
>Dominique Nerriere
>dom2571@hotmail.com
>
>
>
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>-- 
>List archive and information: http://www.troll.no/qt-interest/
>
>