[PyQt] custom widgets again
    Martin Höfling 
    martin.hoefling at gmx.de
       
    Tue Jan 15 10:59:13 GMT 2008
    
    
  
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fileSelectorWidget.py
Type: application/x-python
Size: 3974 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080115/51975540/fileSelectorWidget.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fileSelectorWidgetPlugin.py
Type: application/x-python
Size: 2281 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080115/51975540/fileSelectorWidgetPlugin.bin
    
    
More information about the PyQt
mailing list