Auto generated main.py file conflicts with Qt Designer

Bug #1010256 reported by Michael Isaac on 2012-06-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Monkey Studio IDE
Undecided
Unassigned

Bug Description

This issue is not critical at all, however I'm completely new to Monkey Studio, Qt, and Python. I found this behavior to be uncharacteristic of most IDEs. When you create a new PyQt project, the auto generated main.py contains the following lines of code;

    # create widget
    w = MainWindow()
    w.setWindowTitle( 'TestProject' ) # <--- this line is the issue
    w.show()

The setWindowTitle line blocks the default functionality of Qt Designer by overriding the values defined by the Property Editor. It didn't take long to figure it out, but it does seem abnormal.

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers