Ejemplo n.º 1
0
class OPC_Controller(QtGui.QMainWindow):
    def __init__(self, parent=None):
        QtGui.QWidget.__init__(self, parent)
        self.ui = Ui_OPC_Demo()
        self.ui.setupUi(self)

        QtCore.QObject.connect(self.ui.training_demo_btn, QtCore.SIGNAL("clicked()"), self.training_demo)


    def training_demo(self):
        pass
Ejemplo n.º 2
0
    def __init__(self, parent=None):
        QtGui.QWidget.__init__(self, parent)
        self.ui = Ui_OPC_Demo()
        self.ui.setupUi(self)

        QtCore.QObject.connect(self.ui.training_demo_btn, QtCore.SIGNAL("clicked()"), self.training_demo)