Move .ui and the corresponding .py files into the rare directory under ui for clarity
This commit is contained in:
parent
2061afefb0
commit
fc8b8bad37
|
@ -10,8 +10,8 @@ from custom_legendary.core import LegendaryCore
|
|||
from custom_legendary.models.game import InstalledGame, Game
|
||||
from rare.components.dialogs.uninstall_dialog import UninstallDialog
|
||||
from rare.components.tabs.games.game_info.dlcs import DlcTab
|
||||
from rare.components.tabs.games.game_info.game_info_ui import Ui_GameInfo
|
||||
from rare.components.tabs.games.game_info.game_settings import GameSettings
|
||||
from rare.ui.components.tabs.games.game_info.game_info import Ui_GameInfo
|
||||
from rare.utils import legendary_utils
|
||||
from rare.utils.extra_widgets import SideTabBar
|
||||
from rare.utils.legendary_utils import VerifyThread
|
||||
|
|
|
@ -5,8 +5,8 @@ from PyQt5.QtWidgets import QWidget, QFileDialog, QMessageBox
|
|||
|
||||
from custom_legendary.core import LegendaryCore
|
||||
from custom_legendary.models.game import InstalledGame, Game
|
||||
from rare.components.tabs.games.game_info.game_settings_ui import Ui_GameSettings
|
||||
from rare.components.tabs.settings.linux import LinuxSettings
|
||||
from rare.ui.components.tabs.games.game_info.game_settings import Ui_GameSettings
|
||||
from rare.utils.extra_widgets import PathEdit
|
||||
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import webbrowser
|
|||
from PyQt5.QtWidgets import QWidget
|
||||
|
||||
from rare import __version__
|
||||
from rare.components.tabs.settings.about_ui import Ui_About
|
||||
from rare.ui.components.tabs.settings.about import Ui_About
|
||||
from rare.utils.utils import get_latest_version
|
||||
|
||||
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
from logging import getLogger
|
||||
|
||||
from PyQt5.QtCore import pyqtSignal
|
||||
from PyQt5.QtWidgets import QWidget, QCheckBox, QVBoxLayout, QWidgetAction, QMenu, QToolButton, QHBoxLayout, QGroupBox
|
||||
|
||||
from PyQt5.QtWidgets import QGroupBox
|
||||
from PyQt5.QtWidgets import QWidget, QCheckBox, QVBoxLayout, QWidgetAction, QMenu, QToolButton, QHBoxLayout
|
||||
|
||||
from custom_legendary.core import LegendaryCore
|
||||
from rare.components.tabs.settings.dxvk_ui import Ui_DxvkSettings
|
||||
from rare.ui.components.tabs.settings.dxvk import Ui_DxvkSettings
|
||||
|
||||
logger = getLogger("DXVK Settings")
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ from logging import getLogger
|
|||
from PyQt5.QtWidgets import QFileDialog, QMessageBox, QWidget
|
||||
|
||||
from custom_legendary.core import LegendaryCore
|
||||
from rare.components.tabs.settings.legendary_ui import Ui_LegendarySettings
|
||||
from rare.ui.components.tabs.settings.legendary import Ui_LegendarySettings
|
||||
from rare.utils.extra_widgets import PathEdit
|
||||
from rare.utils.utils import get_size
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ from PyQt5.QtWidgets import QFileDialog, QWidget
|
|||
|
||||
from custom_legendary.core import LegendaryCore
|
||||
from rare.components.tabs.settings.dxvk import DxvkSettings, DxvkWidget
|
||||
from rare.components.tabs.settings.linux_ui import Ui_LinuxSettings
|
||||
from rare.ui.components.tabs.settings.linux import Ui_LinuxSettings
|
||||
from rare.utils.extra_widgets import PathEdit
|
||||
|
||||
logger = getLogger("LinuxSettings")
|
||||
|
|
|
@ -7,8 +7,8 @@ from logging import getLogger
|
|||
from PyQt5.QtCore import QSettings
|
||||
from PyQt5.QtWidgets import QFileDialog, QWidget
|
||||
|
||||
from rare.components.tabs.settings.rare_ui import Ui_RareSettings
|
||||
from rare.components.tabs.settings.rpc_settings import RPCSettings
|
||||
from rare.ui.components.tabs.settings.rare import Ui_RareSettings
|
||||
from rare.utils.extra_widgets import PathEdit
|
||||
from rare.utils.utils import get_lang, get_possible_langs
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from PyQt5.QtCore import QSettings, pyqtSignal
|
||||
from PyQt5.QtWidgets import QGroupBox
|
||||
|
||||
from rare.components.tabs.settings.rpc_settings_ui import Ui_RPCSettings
|
||||
from rare.ui.components.tabs.settings.rpc_settings import Ui_RPCSettings
|
||||
|
||||
|
||||
class RPCSettings(QGroupBox, Ui_RPCSettings):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'resources/ui/components/tabs/games/game_info/game_info.ui'
|
||||
# Form implementation generated from reading ui file 'game_info.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
#
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'resources/ui/components/tabs/games/game_info/game_settings.ui'
|
||||
# Form implementation generated from reading ui file 'game_settings.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
#
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'resources/ui/components/tabs/settings/about.ui'
|
||||
# Form implementation generated from reading ui file 'about.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
#
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'resources/ui/components/tabs/settings/dxvk.ui'
|
||||
# Form implementation generated from reading ui file 'dxvk.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
#
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'resources/ui/components/tabs/settings/legendary.ui'
|
||||
# Form implementation generated from reading ui file 'legendary.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
#
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'resources/ui/components/tabs/settings/linux.ui'
|
||||
# Form implementation generated from reading ui file 'linux.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
#
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'resources/ui/components/tabs/settings/rare.ui'
|
||||
# Form implementation generated from reading ui file 'rare.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
#
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'resources/ui/components/tabs/settings/rpc_settings.ui'
|
||||
# Form implementation generated from reading ui file 'rpc_settings.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
#
|
||||
|
@ -14,8 +14,7 @@ from PyQt5 import QtCore, QtGui, QtWidgets
|
|||
class Ui_RPCSettings(object):
|
||||
def setupUi(self, RPCSettings):
|
||||
RPCSettings.setObjectName("RPCSettings")
|
||||
RPCSettings.resize(487, 318)
|
||||
RPCSettings.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
|
||||
RPCSettings.resize(167, 144)
|
||||
self.gridLayout = QtWidgets.QGridLayout(RPCSettings)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.enable = QtWidgets.QComboBox(RPCSettings)
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'resources/ui/utils/pathedit.ui'
|
||||
# Form implementation generated from reading ui file 'pathedit.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
#
|
|
@ -7,7 +7,7 @@ from PyQt5.QtWidgets import QLayout, QStyle, QSizePolicy, QLabel, QFileDialog, Q
|
|||
from qtawesome import icon
|
||||
|
||||
from rare import style_path
|
||||
from rare.utils.pathedit_ui import Ui_PathEdit
|
||||
from rare.ui.utils.pathedit import Ui_PathEdit
|
||||
|
||||
|
||||
class FlowLayout(QLayout):
|
||||
|
|
Loading…
Reference in a new issue