[PySide] Passing slot handler in QAction constructor.
MichaĆ Pachocki
mpachock at gmail.com
Thu Jun 12 15:16:53 CEST 2014
Hi,
this is construction from PySide examples:
self.minimizeAction = QtGui.QAction("Mi&nimize", self, triggered=self.hide)
but documentation of QAction describe only these signatures:
*class *PySide.QtGui.QAction(*parent*)
<http://pyside.github.io/docs/pyside/PySide/QtGui/QAction.html#PySide.QtGui.QAction>
*class
*PySide.QtGui.QAction(*icon*, *text*, *parent*) *class *PySide.QtGui.QAction
(*text*, *parent*)
Is documentation incomplete?
regards,
Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20140612/7e13ab51/attachment.html>
More information about the PySide
mailing list