PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 376 - load() does not append to the object namespace the names of the widgets loaded from a ui file
: load() does not append to the object namespace the names of the widgets loade...
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtUiTools
: 0.4.1
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-09-22 08:35 EEST by Vlad Stirbu
Modified: 2010-10-13 13:48 EEST (History)
9 users (show)

See Also:


Attachments
The test application (1.28 KB, text/x-python)
2010-09-22 11:50 EEST, Vlad Stirbu
Details
The ui file (866 bytes, application/x-designer)
2010-09-22 11:50 EEST, Vlad Stirbu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad Stirbu 2010-09-22 08:35:49 EEST
I'm porting an application from PyQt to PySide. I'm loading at runtime the user
interface from a ui file created with Qt Designer.

I'm expecting QUiLoader.load() to provide more or less the same functionality
as the PyQt4.uic.loadUi. The C++ documentation and the Calculator Builder
example [1] backs this impression. However, when using the function in PySide,
I cannot access the child objects using their names although they appear as
children in the parent widget (see line 23-24 in the attached file).

I'm using ubuntu 10.4 and PySide 0.4.1.
Comment 1 renato filho 2010-09-22 11:28:51 EEST
where is the attached file?
Comment 2 Vlad Stirbu 2010-09-22 11:50:17 EEST
Created attachment 92 [details]
The test application
Comment 3 Vlad Stirbu 2010-09-22 11:50:50 EEST
Created attachment 93 [details]
The ui file
Comment 4 renato filho 2010-09-22 17:24:13 EEST
fixed on commit:

commit bf4b2c7660adc99b6a8b83748787f0ea078ad13b
Author: renatofilho <renato.filho@openbossa.org>
Date:   Wed Sep 22 16:59:46 2010 -0300
Comment 5 renato filho 2010-10-13 13:48:56 EEST
released on PySide 0.4.2