예제 #1
0
    def __switchVideo2(self):       
        #m_netwManager.finished.connect(self.__netwManagerFinished)
        request = QtNetwork.QNetworkRequest();
        request.setUrl(QtCore.QUrl(Utils.getWebcamUrl(self.interactiveIdEdit.text())))
        request.setRawHeader("User-Agent", "MyOwnBrowser 1.0");
        
        reply = self.m_netwManager.get(request);
        reply.readyRead.connect(self.__netwManagerFinished)

        #self.videoWidget.load(QtCore.QUrl(Utils.getWebcamUrl(self.interactiveIdEdit.text())))
        pass
예제 #2
0
 def __switchVideo(self):    
     self.videoWeb.load(QtCore.QUrl(Utils.getWebcamUrl(self.interactiveIdEdit.text())))
예제 #3
0
 def __getInteractiveId(self):
     self.interactiveIdEdit.setText(Utils.getInteractiveId())