formLayoutWidget_3), fyi I have saved the ui file as "migToolUI"from PyQt4 import QtCore, QtGui
class Ui_migTool(object):
def setupUi(self, migTool):
migTool.setObjectName("migTool")
migTool.resize(305, 450)
self.formLayoutWidget_3 = QtGui.QWidget(migTool)
self.formLayoutWidget_3.setGeometry(QtCore.QRect(0, 10, 301, 441))
self.formLayoutWidget_3.setObjectName("formLayoutWidget_3")
from PySide import QtCore
from PySide import QtGui
import sys
import maya.cmds as cmds
import pymel.core as pm
import migToolUI
reload (migToolUI)
class migUI(QtGui.QWidget):
def __init__(self, parent=None):
QtGui.QWidget.__init__(self, parent = None, modal = False)
self.ui = migToolUI.Ui_migTool()
self.ui.setupUi(self)
# Error: TypeError: file /user_data/migToolUI.py line 16: QWidget(QWidget parent=None, Qt.WindowFlags flags=0): argument 1 has unexpected type 'migUI' #
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/d645fb7c-7976-4e20-a101-9d60cc4fec10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
import sys
sys.path.insert(0, '/user_data')
import mig
reload (mig)
win = mig.migUI()
win.show()
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/d645fb7c-7976-4e20-a101-9d60cc4fec10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/3f04b8ab-8e09-490c-89fa-7ce357e479a6%40googlegroups.com.
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/4f81361d-3c73-42d8-a6ba-8b347b13940b%40googlegroups.com.
Thanks for getting back. I tried correcting the imports, however it is still not working, unfortunately.
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/a3edc895-cd17-417c-b4aa-3baf38793e73%40googlegroups.com.