Rename .ui files

This commit is contained in:
Wiktor Zykubek 2023-07-10 02:01:43 +02:00
parent 5b20136717
commit 6f7bca792d
No known key found for this signature in database
GPG Key ID: 0DAA9DC01449FCA2
4 changed files with 2 additions and 6 deletions

1
.gitignore vendored
View File

@ -72,6 +72,7 @@ __pycache__/
*.pyc
dist/*
build/*
ui_*.py
# Binaries
# --------

View File

@ -3,5 +3,5 @@
API_URL = "https://open.fm/radio/api/v2/ofm/stations_slug.json"
DEFAULT_VOLUME = 70
from .ui_form import Ui_MainWindow
from .ui_main_window import Ui_MainWindow
from .mainwindow import MainWindow

View File

@ -3,11 +3,6 @@
from PySide6.QtCore import QUrl
from PySide6.QtWidgets import QMainWindow, QMessageBox, QStyle
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 requests
from . import API_URL, DEFAULT_VOLUME, Ui_MainWindow