I tried what you said and the path was right, I ended up fixing it deleting the
QLabel and creating it from scratch in the .py file, Here I post the working
script file:
class textureReleaseUI(form_class, base_class):
def __init__(self, parent=mui.getMayaWindow()):
super(textureReleaseUI, self).__init__(parent)
self.setupUi( self )
self.initUI()
def initUI(self):
self.header = QtGui.QLabel(self.centralwidget)
self.header.setGeometry(QtCore.QRect(0,-5,500,81))
self.header.setPixmap(QtGui.QPixmap('\mnmModelToolsHeader.jpg'))
self.header.setObjectName('header')
self.setCentralWidget(self.centralwidget)
self.connectSignals()
def connectSignals(self):
self.connect(self.orient_btn, QtCore.SIGNAL('pressed()'), orientTip)
self.connect(self.clean_btn, QtCore.SIGNAL('pressed()'), main)
self.connect(self.rename_btn, QtCore.SIGNAL('pressed()'), checkNaming)
self.connect(self.none_btn, QtCore.SIGNAL('pressed()'), printLines)
Thank you very much for the help!
Salvador
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.