Hi all, heres my next problem with custom widgets. 

Problem: Widget doesn't show up in designer

$CODE is set

calling designer with:
export PYQTDESIGNERPATH=$CODE/Widgets/plugins/
export PYTHONPATH=$CODE
designer-qt4

...on Ubuntu Gutsy

Content of Widgets:

Widgets/fileSelectorWidget.py : the implementation of the widget (attached)
Widgets/__init__.py
Widgets/Ui_fileSelectorWidget.py : Compiled UI file
Widgets/fileSelectorWidget.ui 
Widgets/plugins/fileSelectorWidgetPlugin.py the plugin class (attached)

I followed the wiki entry mentioned (hopefully close enough) and implemented 
the widget and plugin class (attached).

In particular, is ok in my case?:

    def includeFile(self):
        return "Widgets.fileSelectorWidget"

Any ideas what could be wrong here?

Best wishes
        Martin

Attachment: fileSelectorWidget.py
Description: application/python

Attachment: fileSelectorWidgetPlugin.py
Description: application/python

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to