Digital Art Zone

 
     
Can I get access to “MainWindow.caption”?
Posted: 27 May 2012 01:18 PM   [ Ignore ]
New Member
Avatar
Total Posts:  7
Joined  2005-03-28

Can I get access to “MainWindow.caption”?

In new version?

Profile
 
 
Posted: 31 May 2012 01:08 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRank
Total Posts:  373
Joined  2003-10-09

The caption property on the global MainWindow object, a wrapper for the QWidget::caption() and QWidget::setCaption() functions in Qt 3 (and the Qt 3 support library in Qt 4 - which is expected to be obsolete in Qt 5), is replaced by the windowTitle property in Qt 4.

Use the following to read the value…

print( MainWindow.windowTitle ); 
... and the following to set it ...
MainWindow.windowTitle "foo"


- Rob

 Signature 

- Documentation Center
- Install Manager
- DAZ Studio 4.x
- DSON Importer
- DSON File Format Specification

Profile