Ok... sorry Phil... Heres my .ui file.
The think is that was not happening before.
Thanks.
2008/5/16 Phil Thompson <[EMAIL PROTECTED]>:
> On Friday 16 May 2008 17:18:55 Gustavo A. Díaz wrote:
> > Hi guys!
> >
> > There is a problem when i export the .ui file to .py (which never
> happened
> > before). Using Designer i've set an icon to a button.
> > The exported file does not include the path of the icon/resource having
> > this as result:
> >
> > self.applyButton = QtGui.QPushButton(self.centralwidget)
> > self.applyButton.setGeometry(QtCore.QRect(722,584,90,26))
> > self.applyButton.setFocusPolicy(QtCore.Qt.StrongFocus)
> > self.applyButton.setIcon(QtGui.QIcon("""
> > """))
> >
> > A bug in PyQt? cause only happens with QIcon, in the case of setting a
> > pixmaps, there is no problem in the exported file:
> >
> > self.emptyPagePixmap = QtGui.QLabel(self.emptyPage)
> > self.emptyPagePixmap.setGeometry(QtCore.QRect(10,52,150,128))
> >
> >
> self.emptyPagePixmap.setPixmap(QtGui.QPixmap(":/Pixmaps/pixmaps/emptyPage.p
> >ng"))
> >
> > Any tip? Cheers.
>
> http://www.riverbankcomputing.com/support/help
>
> Phil
>
> _______________________________________________
> PyQt mailing list [email protected]
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
--
Gustavo A. Díaz
GDNet Projects
www.gdnet.com.ar
main.ui
Description: Binary data
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
