Exemple #1
0
    def __init__(self):
        QtGui.QDialog.__init__(self)
        self.ui = Ui_EventMessageDialog()
        self.ui.setupUi(self)
        self.setWindowTitle(pageTitle)

        self.udpSocket = QtNetwork.QUdpSocket(self)
        self.udpSocket.bind(int(udpPort))
        self.udpSocket.readyRead.connect(self.processPendingDatagrams)
Exemple #2
0
 def __init__(self, appId):
     QtGui.QDialog.__init__(self)
     self.appId = appId
     self.ui = Ui_EventMessageDialog()
     self.ui.setupUi(self)