Lauro Moura wrote: >> and: >> self.lst_data.setMinimumSize(QtCore.QSize(400, 0)) >> TypeError: 'setMinimumSize()' called with wrong parameters. > > Is the gui created during runtime using pyuic or generated to a > separate module? In this last case make sure there is "PySide" instead > of PyQt4 in the import statements. >
I create the .py module from the ui before the program execution, through eric ide. Yes. Before try, I replaced all the "from PyQt4" with "from PySide" >> Of course, QtCore are the pyside implementation :) and this programs >> works well with pyqt >> > > You mean QtCore *and* QtGui, right? > Yes. I wrote QtCore for say all qt components. Thanks, Michele _______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
