2021-10-12 10:19:32 +13:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# Form implementation generated from reading ui file 'rare/ui/components/tabs/games/import_sync/egl_sync_widget.ui'
|
|
|
|
#
|
|
|
|
# Created by: PyQt5 UI code generator 5.15.4
|
|
|
|
#
|
|
|
|
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
|
|
|
# run again. Do not edit this file unless you know what you are doing.
|
|
|
|
|
|
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
|
|
|
|
|
|
class Ui_EGLSyncGroup(object):
|
|
|
|
def setupUi(self, EGLSyncGroup):
|
|
|
|
EGLSyncGroup.setObjectName("EGLSyncGroup")
|
2021-10-15 11:08:18 +13:00
|
|
|
EGLSyncGroup.resize(772, 368)
|
|
|
|
EGLSyncGroup.setCheckable(False)
|
|
|
|
EGLSyncGroup.setChecked(False)
|
2021-10-13 08:11:52 +13:00
|
|
|
self.egl_sync_layout = QtWidgets.QFormLayout(EGLSyncGroup)
|
|
|
|
self.egl_sync_layout.setLabelAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.egl_sync_layout.setObjectName("egl_sync_layout")
|
2021-10-15 11:08:18 +13:00
|
|
|
self.egl_path_label = QtWidgets.QLabel(EGLSyncGroup)
|
|
|
|
self.egl_path_label.setObjectName("egl_path_label")
|
|
|
|
self.egl_sync_layout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.egl_path_label)
|
|
|
|
self.egl_path_info_label = QtWidgets.QLabel(EGLSyncGroup)
|
|
|
|
self.egl_path_info_label.setObjectName("egl_path_info_label")
|
|
|
|
self.egl_sync_layout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.egl_path_info_label)
|
|
|
|
self.egl_path_info = QtWidgets.QLabel(EGLSyncGroup)
|
2021-10-16 00:13:10 +13:00
|
|
|
self.egl_path_info.setText("error")
|
|
|
|
self.egl_path_info.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
|
2021-10-15 11:08:18 +13:00
|
|
|
self.egl_path_info.setObjectName("egl_path_info")
|
|
|
|
self.egl_sync_layout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.egl_path_info)
|
|
|
|
self.egl_sync_check = QtWidgets.QCheckBox(EGLSyncGroup)
|
2021-10-16 07:50:05 +13:00
|
|
|
self.egl_sync_check.setText("")
|
2021-10-15 11:08:18 +13:00
|
|
|
self.egl_sync_check.setObjectName("egl_sync_check")
|
|
|
|
self.egl_sync_layout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.egl_sync_check)
|
2021-10-16 07:50:05 +13:00
|
|
|
self.egl_path_layout = QtWidgets.QHBoxLayout()
|
|
|
|
self.egl_path_layout.setObjectName("egl_path_layout")
|
|
|
|
self.egl_sync_layout.setLayout(0, QtWidgets.QFormLayout.FieldRole, self.egl_path_layout)
|
|
|
|
self.egl_sync_label = QtWidgets.QLabel(EGLSyncGroup)
|
|
|
|
self.egl_sync_label.setObjectName("egl_sync_label")
|
|
|
|
self.egl_sync_layout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.egl_sync_label)
|
|
|
|
self.export_import_widget = QtWidgets.QWidget(EGLSyncGroup)
|
|
|
|
self.export_import_widget.setObjectName("export_import_widget")
|
|
|
|
self.export_import_layout = QtWidgets.QHBoxLayout(self.export_import_widget)
|
|
|
|
self.export_import_layout.setContentsMargins(0, 0, 0, 0)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.export_import_layout.setObjectName("export_import_layout")
|
2021-10-16 07:50:05 +13:00
|
|
|
self.export_group = QtWidgets.QGroupBox(self.export_import_widget)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.export_group.setObjectName("export_group")
|
|
|
|
self.export_layout = QtWidgets.QVBoxLayout(self.export_group)
|
|
|
|
self.export_layout.setObjectName("export_layout")
|
|
|
|
self.export_label = QtWidgets.QLabel(self.export_group)
|
|
|
|
self.export_label.setObjectName("export_label")
|
|
|
|
self.export_layout.addWidget(self.export_label)
|
|
|
|
self.export_list = QtWidgets.QListWidget(self.export_group)
|
|
|
|
self.export_list.setAlternatingRowColors(True)
|
|
|
|
self.export_list.setObjectName("export_list")
|
|
|
|
self.export_layout.addWidget(self.export_list)
|
2021-10-16 07:50:05 +13:00
|
|
|
spacerItem = QtWidgets.QSpacerItem(40, 4, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.export_layout.addItem(spacerItem)
|
|
|
|
self.export_buttons_widget = QtWidgets.QWidget(self.export_group)
|
|
|
|
self.export_buttons_widget.setObjectName("export_buttons_widget")
|
|
|
|
self.export_buttons_layout = QtWidgets.QHBoxLayout(self.export_buttons_widget)
|
|
|
|
self.export_buttons_layout.setContentsMargins(0, 0, 0, 0)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.export_buttons_layout.setObjectName("export_buttons_layout")
|
2021-10-16 07:50:05 +13:00
|
|
|
self.export_select_all_button = QtWidgets.QPushButton(self.export_buttons_widget)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.export_select_all_button.setObjectName("export_select_all_button")
|
|
|
|
self.export_buttons_layout.addWidget(self.export_select_all_button)
|
2021-10-16 07:50:05 +13:00
|
|
|
self.export_select_none_button = QtWidgets.QPushButton(self.export_buttons_widget)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.export_select_none_button.setObjectName("export_select_none_button")
|
|
|
|
self.export_buttons_layout.addWidget(self.export_select_none_button)
|
2021-10-16 07:50:05 +13:00
|
|
|
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.export_buttons_layout.addItem(spacerItem1)
|
|
|
|
self.export_button = QtWidgets.QPushButton(self.export_buttons_widget)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.export_button.setObjectName("export_button")
|
|
|
|
self.export_buttons_layout.addWidget(self.export_button)
|
2021-10-16 07:50:05 +13:00
|
|
|
self.export_layout.addWidget(self.export_buttons_widget)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.export_import_layout.addWidget(self.export_group)
|
2021-10-16 07:50:05 +13:00
|
|
|
self.import_group = QtWidgets.QGroupBox(self.export_import_widget)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.import_group.setObjectName("import_group")
|
|
|
|
self.import_layout = QtWidgets.QVBoxLayout(self.import_group)
|
|
|
|
self.import_layout.setObjectName("import_layout")
|
|
|
|
self.import_label = QtWidgets.QLabel(self.import_group)
|
|
|
|
self.import_label.setObjectName("import_label")
|
|
|
|
self.import_layout.addWidget(self.import_label)
|
|
|
|
self.import_list = QtWidgets.QListWidget(self.import_group)
|
|
|
|
self.import_list.setAlternatingRowColors(True)
|
|
|
|
self.import_list.setObjectName("import_list")
|
|
|
|
self.import_layout.addWidget(self.import_list)
|
2021-10-16 07:50:05 +13:00
|
|
|
spacerItem2 = QtWidgets.QSpacerItem(40, 4, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.import_layout.addItem(spacerItem2)
|
|
|
|
self.import_buttons_widget = QtWidgets.QWidget(self.import_group)
|
|
|
|
self.import_buttons_widget.setObjectName("import_buttons_widget")
|
|
|
|
self.import_buttons_layout = QtWidgets.QHBoxLayout(self.import_buttons_widget)
|
|
|
|
self.import_buttons_layout.setContentsMargins(0, 0, 0, 0)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.import_buttons_layout.setObjectName("import_buttons_layout")
|
2021-10-16 07:50:05 +13:00
|
|
|
self.import_select_all_button = QtWidgets.QPushButton(self.import_buttons_widget)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.import_select_all_button.setObjectName("import_select_all_button")
|
|
|
|
self.import_buttons_layout.addWidget(self.import_select_all_button)
|
2021-10-16 07:50:05 +13:00
|
|
|
self.import_select_none_button = QtWidgets.QPushButton(self.import_buttons_widget)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.import_select_none_button.setObjectName("import_select_none_button")
|
|
|
|
self.import_buttons_layout.addWidget(self.import_select_none_button)
|
2021-10-16 07:50:05 +13:00
|
|
|
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.import_buttons_layout.addItem(spacerItem3)
|
|
|
|
self.import_button = QtWidgets.QPushButton(self.import_buttons_widget)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.import_button.setObjectName("import_button")
|
|
|
|
self.import_buttons_layout.addWidget(self.import_button)
|
2021-10-16 07:50:05 +13:00
|
|
|
self.import_layout.addWidget(self.import_buttons_widget)
|
2021-10-12 10:19:32 +13:00
|
|
|
self.export_import_layout.addWidget(self.import_group)
|
2021-10-16 07:50:05 +13:00
|
|
|
self.egl_sync_layout.setWidget(3, QtWidgets.QFormLayout.SpanningRole, self.export_import_widget)
|
2021-10-12 10:19:32 +13:00
|
|
|
|
|
|
|
self.retranslateUi(EGLSyncGroup)
|
|
|
|
QtCore.QMetaObject.connectSlotsByName(EGLSyncGroup)
|
|
|
|
|
|
|
|
def retranslateUi(self, EGLSyncGroup):
|
|
|
|
_translate = QtCore.QCoreApplication.translate
|
|
|
|
EGLSyncGroup.setWindowTitle(_translate("EGLSyncGroup", "EGLSyncGroup"))
|
|
|
|
EGLSyncGroup.setTitle(_translate("EGLSyncGroup", "Sync with Epic Games Launcher"))
|
2021-10-15 11:08:18 +13:00
|
|
|
self.egl_path_label.setText(_translate("EGLSyncGroup", "Prefix/Manifest path"))
|
|
|
|
self.egl_path_info_label.setText(_translate("EGLSyncGroup", "Estimated path"))
|
2021-10-16 07:50:05 +13:00
|
|
|
self.egl_sync_label.setText(_translate("EGLSyncGroup", "Enable automatic sync"))
|
2021-10-12 10:19:32 +13:00
|
|
|
self.export_group.setTitle(_translate("EGLSyncGroup", "Exportable games"))
|
|
|
|
self.export_label.setText(_translate("EGLSyncGroup", "No games to export to EGS"))
|
|
|
|
self.export_list.setSortingEnabled(True)
|
|
|
|
self.export_select_all_button.setText(_translate("EGLSyncGroup", "Select all"))
|
|
|
|
self.export_select_none_button.setText(_translate("EGLSyncGroup", "Select none"))
|
|
|
|
self.export_button.setText(_translate("EGLSyncGroup", "Export"))
|
|
|
|
self.import_group.setTitle(_translate("EGLSyncGroup", "Importable games"))
|
|
|
|
self.import_label.setText(_translate("EGLSyncGroup", "No games to import from EGS"))
|
|
|
|
self.import_list.setSortingEnabled(True)
|
|
|
|
self.import_select_all_button.setText(_translate("EGLSyncGroup", "Select all"))
|
|
|
|
self.import_select_none_button.setText(_translate("EGLSyncGroup", "Select none"))
|
|
|
|
self.import_button.setText(_translate("EGLSyncGroup", "Import"))
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
import sys
|
|
|
|
app = QtWidgets.QApplication(sys.argv)
|
|
|
|
EGLSyncGroup = QtWidgets.QGroupBox()
|
|
|
|
ui = Ui_EGLSyncGroup()
|
|
|
|
ui.setupUi(EGLSyncGroup)
|
|
|
|
EGLSyncGroup.show()
|
|
|
|
sys.exit(app.exec_())
|