Rename .ui files
This commit is contained in:
parent
5b20136717
commit
6f7bca792d
1
.gitignore
vendored
1
.gitignore
vendored
@ -72,6 +72,7 @@ __pycache__/
|
|||||||
*.pyc
|
*.pyc
|
||||||
dist/*
|
dist/*
|
||||||
build/*
|
build/*
|
||||||
|
ui_*.py
|
||||||
|
|
||||||
# Binaries
|
# Binaries
|
||||||
# --------
|
# --------
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
API_URL = "https://open.fm/radio/api/v2/ofm/stations_slug.json"
|
API_URL = "https://open.fm/radio/api/v2/ofm/stations_slug.json"
|
||||||
DEFAULT_VOLUME = 70
|
DEFAULT_VOLUME = 70
|
||||||
|
|
||||||
from .ui_form import Ui_MainWindow
|
from .ui_main_window import Ui_MainWindow
|
||||||
from .mainwindow import MainWindow
|
from .mainwindow import MainWindow
|
||||||
|
@ -3,11 +3,6 @@
|
|||||||
from PySide6.QtCore import QUrl
|
from PySide6.QtCore import QUrl
|
||||||
from PySide6.QtWidgets import QMainWindow, QMessageBox, QStyle
|
from PySide6.QtWidgets import QMainWindow, QMessageBox, QStyle
|
||||||
from PySide6.QtMultimedia import QMediaPlayer, QAudioOutput
|
from PySide6.QtMultimedia import QMediaPlayer, QAudioOutput
|
||||||
|
|
||||||
# Important:
|
|
||||||
# You need to run the following command to generate the ui_form.py file
|
|
||||||
# pyside6-uic form.ui -o ui_form.py, or
|
|
||||||
# pyside2-uic form.ui -o ui_form.py
|
|
||||||
import json
|
import json
|
||||||
import requests
|
import requests
|
||||||
from . import API_URL, DEFAULT_VOLUME, Ui_MainWindow
|
from . import API_URL, DEFAULT_VOLUME, Ui_MainWindow
|
||||||
|
Loading…
x
Reference in New Issue
Block a user