• Scenarios
  • Tags
  • Sign in
PopularTags
write34
Sign in
Site Content
TagsSearchUpload PromptJoin us on Discord!
Social
Music Player

Prompt originally from AetherRoom.club
Created: 2022-12-29
No ratings yet
Description
If snek forgets, you may need to add this to the bottom:
if __name__ == '__main__':
app = QApplication(sys.argv)
window = SongWindow()
sys.exit(app.exec_())
Tags
snek, application, qt
Prompt
from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * # Basic window setup with a QLabel to display the title of the song. class SongWindow(QWidget): def __init__(self, parent=None): super().__init__() self.parent = parent self.setWindowTitle("Music Player") self.resize(200, 200)... [Click to expand]
from PyQt5.QtWidgets import *
from PyQt5.QtGui import *
from PyQt5.QtCore import *
# Basic window setup with a QLabel to display the title of the song.
class SongWindow(QWidget):
def __init__(self, parent=None):
super().__init__()
self.parent = parent
self.setWindowTitle("Music Player")
self.resize(200, 200)
Memory
# Basic little music file player. Built in Qt and works on Windows, Linux and MacOS
# Includes some comments explaining what's going on.
# Author: Sneedles <[email protected]>
# Copyright (C) 2015-2016 by Sneedles
# See LICENSE for details.
Download Count: 0