Accesing Widgets Within a QDialog ?

Matzke, Christian HTC/DE/ESS Christian.Matzke at hochtief.de
Thu Jul 17 13:43:35 BST 2003


Hello,

you can set the title with

mydialog.groupBox1->setTitle("...");

The caption will normally be used, if the widget has a frame.

Regards Christian


-----Ursprüngliche Nachricht-----
Von: Peter Moscatt [mailto:pgmoscatt at optushome.com.au] 
Gesendet: Donnerstag, 17. Juli 2003 14:16
An: KDE Develop List
Betreff: Accesing Widgets Within a QDialog ?


I have created a simple Dialog called 'mydialog' which has a QGroupBox
which I need to change the title of based on what job it needs to do.

I would have thought I could change it by doing:

mydialog.groupBox1->setCaption("...");

But have little success with it.

Yea, I am new to KDE & C++ programming :-)

Pete



-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org
with the following body:
unsubscribe »your-email-address«

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list