Can I get access to "MainWindow.caption"?
In new version?
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 );
MainWindow.windowTitle = "foo";