#2 pyuic3: error with spacer object in toolbar

open
nobody
None
5
2004-01-23
2004-01-23
Anonymous
No

I tried adding a spacer object to extend the toolbar of
a GUI I was writing. I called pyuic (version 3.8 for Qt
3.2.1) as follows:
pyuic -o form1.py -p 4 -x form1.ui

I attatched the .ui file and the generated .py file. In
two places pyuic forgetts to add a "self." in front of
the toolbar object name:

QApplication.sendPostedEvents(Toolbar,QEvent.ChildInserted)
Toolbar.boxLayout().addItem(spacer)

which should be both "self.Toolbar".

I would have tried patching the source files myself,
but I'm still searching for a qglobal.h :(

Hope this description helps.

Yours
Uwe

Discussion

  • Nobody/Anonymous

    example for descripbed bug

     
  • alan johnson

    alan johnson - 2004-02-14

    Logged In: YES
    user_id=943591

    needs fixing

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks