mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-04-19 09:10:18 +00:00
res: combine resource files
This commit is contained in:
parent
73255020e3
commit
5d68156dba
3
index.py
3
index.py
@ -7,8 +7,7 @@ from PySide6.QtCore import QCoreApplication, QLocale
|
|||||||
from PySide6.QtGui import QIcon
|
from PySide6.QtGui import QIcon
|
||||||
from PySide6.QtWidgets import QApplication, QDialog, QMessageBox
|
from PySide6.QtWidgets import QApplication, QDialog, QMessageBox
|
||||||
|
|
||||||
import ui.resources.images.images_rc
|
import ui.resources.resources_rc
|
||||||
import ui.resources.translations.translations_rc
|
|
||||||
from ui.extends.shared.language import changeAppLanguage
|
from ui.extends.shared.language import changeAppLanguage
|
||||||
from ui.extends.shared.settings import Settings
|
from ui.extends.shared.settings import Settings
|
||||||
from ui.implements.mainwindow import MainWindow
|
from ui.implements.mainwindow import MainWindow
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
<!DOCTYPE RCC>
|
|
||||||
<RCC version="1.0">
|
|
||||||
<qresource prefix="/images">
|
|
||||||
<file>icon.png</file>
|
|
||||||
<file>logo.png</file>
|
|
||||||
</qresource>
|
|
||||||
</RCC>
|
|
10
ui/resources/resources.qrc
Normal file
10
ui/resources/resources.qrc
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE RCC>
|
||||||
|
<RCC version="1.0">
|
||||||
|
<qresource prefix="/">
|
||||||
|
<file>images/icon.png</file>
|
||||||
|
<file>images/logo.png</file>
|
||||||
|
|
||||||
|
<file>lang/zh_CN.qm</file>
|
||||||
|
<file>lang/en_US.qm</file>
|
||||||
|
</qresource>
|
||||||
|
</RCC>
|
@ -1,7 +0,0 @@
|
|||||||
<!DOCTYPE RCC>
|
|
||||||
<RCC version="1.0">
|
|
||||||
<qresource prefix="/lang">
|
|
||||||
<file>zh_CN.qm</file>
|
|
||||||
<file>en_US.qm</file>
|
|
||||||
</qresource>
|
|
||||||
</RCC>
|
|
Loading…
x
Reference in New Issue
Block a user