Created
January 10, 2019 21:47
-
-
Save andrisgauracs/c3c986201785ebcac130e3374a8312f1 to your computer and use it in GitHub Desktop.
Initialize the QtGUI Application instance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Initialize the QtGUI Application instance | |
| app = QtGui.QApplication(sys.argv) | |
| # Initialize our custom VLC Player instance | |
| vlc = Custom_VLC_Player() | |
| vlc.show() | |
| # Let's change the size of the window. We will make it 660px by 530px | |
| vlc.resize(660, 530) | |
| if sys.argv[1:]: | |
| player.OpenFile(sys.argv[1]) | |
| sys.exit(app.exec_()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment