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
def __switchVideo(self): self.videoWeb.load(QtCore.QUrl(Utils.getWebcamUrl(self.interactiveIdEdit.text())))
def __getInteractiveId(self): self.interactiveIdEdit.setText(Utils.getInteractiveId())