Hello Dariusz,

This feature is not supported by PySide yet. If possible, can you
report a bug on PySide bugzilla? With this we  can get this fixed
ASAP.

BR

On Tue, Dec 8, 2009 at 3:19 PM, Dariusz Gadomski <dgadom...@gmail.com> wrote:
> Hi,
>
> I was wondering if the auto-connect of signals is supported in PySide.
> I have tried to run my "hello world" that worked with PyQt4 but with
> PySide it does not.
>
> -- code --
> from PyQt4 import QtGui
>
> from ui_files.mainwindow import Ui_MainWindow
>
> class MainWindow(QtGui.QMainWindow):
>   def __init__(self):
>       QtGui.QMainWindow.__init__(self)
>       ui = Ui_MainWindow()
>       ui.setupUi(self)
>
>   def on_actionExit_triggered(self):
>       self.close()
> -- code --
>
> Is there any additional way to enable the auto-connect mechanism? I
> have seen that in the pyside-uic generated output code there is a
> line:
> QtCore.QMetaObject.connectSlotsByName(MainWindow)
> but it seems it has no effect.
>
> Best regards,
> Dariusz Gadomski
> _______________________________________________
> PySide mailing list
> PySide@lists.openbossa.org
> http://lists.openbossa.org/listinfo/pyside
>



-- 
Renato Araujo Oliveira Filho
Instituto Nokia de Tecnologia - INdT
Mobile: +55 (81) 8704-2144
_______________________________________________
PySide mailing list
PySide@lists.openbossa.org
http://lists.openbossa.org/listinfo/pyside

Reply via email to