This file contains 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
from PySide2.QtWidgets import * | |
from PySide2.QtCore import * | |
from PySide2.QtGui import * | |
from PySide2.QtQuick import QQuickView | |
import sys | |
import random | |
class PlayerModel(QAbstractListModel): | |
""" |
This file contains 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
import sys | |
from PyQt5.QtCore import QUrl, pyqtProperty, pyqtSignal | |
from PyQt5.QtCore import pyqtSlot | |
from PyQt5.QtGui import QGuiApplication | |
from PyQt5.QtQml import QQmlApplicationEngine | |
from PyQt5.QtQml import qmlRegisterType, QQmlComponent | |
from PyQt5.QtQuick import QQuickItem | |