[PySide] Defining your own signal

Hedieh Ebrahimi hedieh.ebrahimi at amphos21.com
Tue Oct 29 12:50:10 CET 2013


Hi,

class MainAppWindow(QMainWindow):

    def __init__(self,
                 parent=None):
        super(MainAppWindow, self).__init__()

        self.ui = Ui_MainWindow.Ui_MainWindow()
        self.ui.setupUi(self)
pushed=QtCore.Signal()

        self.connect(self.ui.X_Vel_pushButton, QtCore.SIGNAL("pushed()"),
self.askforfileBTN(self.ui.X_Vel_lineEdit))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20131029/691f2b92/attachment.html>


More information about the PySide mailing list