예제 #1
0
    def __init__(this, keyFrameCounter):
        QVideoWidget.__init__(this)

        this.__keyFrameCounter = keyFrameCounter
        this.__mediaPlayer = None
        this.__activeStreamIndex = None
        this.__videoAnalyzer = None
예제 #2
0
    def __init__(self, sqlConn):

        # Save sqlConnection for later
        self.sqlConnection = sqlConn

        # Call to superclass constructor
        QVideoWidget.__init__(self)

        #Create window and configure it
        self.setGeometry(
            QStyle.alignedRect(Qt.LeftToRight, Qt.AlignCenter,
                               QSize(1280, 720),
                               QApplication.desktop().availableGeometry()))
        self.setWindowTitle("BlueSky Airlines")
        self.setWindowIcon(QIcon('media/favicon.ico'))
        self.setWindowFlags(Qt.FramelessWindowHint)
        self.setStyleSheet('background-color: white;')

        #Setup the video player
        self.videoPlayer = QMediaPlayer()
        self.videoPlayer.setMedia(
            QMediaContent(QUrl('media/splashAnimation.avi')))
        self.videoPlayer.setVideoOutput(self)
        self.videoPlayer.stateChanged.connect(self.handleVideoDone)
예제 #3
0
 def __init__(self, parent=None):
     QVideoWidget.__init__(self, parent)
예제 #4
0
파일: QtBuiltin.py 프로젝트: liothe/limu
 def __init__(self):
     QVideoWidget.__init__(self)