[Qt-interest] Change ui properties outside QtDesigner

Miroslav Karpis miroslav at keytos.no
Fri May 15 12:07:43 CEST 2009


Hi good people

please can you help me with this?

I have created a form (MainWindow) in the designer. Let's say that in
the designer I have created one button with text 'Cancel'. How can I can
change the button text outside the designer? - by coding. This is just
the an example - so pls. don't ask me that why I would want to do
that :o)

I can change the MainWindow text for example by:

   this.setWindowTitle(......);

but I could not figure out how can I go one level deeper (to the
components level).

any ideas? ;o)

thanks,
miro





More information about the Qt-interest-old mailing list