Accesing Widgets Within a QDialog ?

Peter Moscatt pgmoscatt at optushome.com.au
Thu Jul 17 14:31:51 BST 2003


G'Day Matzke,

I do that and I get the following error:

mainwindow.ui.h:37: request for member `groupBox1' in `tableupdate',
which is of non-aggregate type `PGM_TableUpdate*' 




Pete





On Thu, 2003-07-17 at 22:43, Matzke, Christian HTC/DE/ESS wrote:
> 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«


-
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