120 lines
6.8 KiB
Python
120 lines
6.8 KiB
Python
# -*- 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")
|
|
EGLSyncGroup.resize(694, 440)
|
|
self.egl_sync_layout = QtWidgets.QGridLayout(EGLSyncGroup)
|
|
self.egl_sync_layout.setObjectName("egl_sync_layout")
|
|
self.refresh_button = QtWidgets.QPushButton(EGLSyncGroup)
|
|
self.refresh_button.setObjectName("refresh_button")
|
|
self.egl_sync_layout.addWidget(self.refresh_button, 2, 0, 1, 1)
|
|
self.egl_sync_check = QtWidgets.QCheckBox(EGLSyncGroup)
|
|
self.egl_sync_check.setObjectName("egl_sync_check")
|
|
self.egl_sync_layout.addWidget(self.egl_sync_check, 3, 0, 1, 1)
|
|
self.egl_path_info = QtWidgets.QLabel(EGLSyncGroup)
|
|
self.egl_path_info.setObjectName("egl_path_info")
|
|
self.egl_sync_layout.addWidget(self.egl_path_info, 1, 0, 1, 1)
|
|
self.export_import_layout = QtWidgets.QHBoxLayout()
|
|
self.export_import_layout.setObjectName("export_import_layout")
|
|
self.export_group = QtWidgets.QGroupBox(EGLSyncGroup)
|
|
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)
|
|
self.export_buttons_layout = QtWidgets.QHBoxLayout()
|
|
self.export_buttons_layout.setObjectName("export_buttons_layout")
|
|
self.export_select_all_button = QtWidgets.QPushButton(self.export_group)
|
|
self.export_select_all_button.setObjectName("export_select_all_button")
|
|
self.export_buttons_layout.addWidget(self.export_select_all_button)
|
|
self.export_select_none_button = QtWidgets.QPushButton(self.export_group)
|
|
self.export_select_none_button.setObjectName("export_select_none_button")
|
|
self.export_buttons_layout.addWidget(self.export_select_none_button)
|
|
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
self.export_buttons_layout.addItem(spacerItem)
|
|
self.export_button = QtWidgets.QPushButton(self.export_group)
|
|
self.export_button.setObjectName("export_button")
|
|
self.export_buttons_layout.addWidget(self.export_button)
|
|
self.export_layout.addLayout(self.export_buttons_layout)
|
|
self.export_import_layout.addWidget(self.export_group)
|
|
self.import_group = QtWidgets.QGroupBox(EGLSyncGroup)
|
|
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)
|
|
self.import_buttons_layout = QtWidgets.QHBoxLayout()
|
|
self.import_buttons_layout.setObjectName("import_buttons_layout")
|
|
self.import_select_all_button = QtWidgets.QPushButton(self.import_group)
|
|
self.import_select_all_button.setObjectName("import_select_all_button")
|
|
self.import_buttons_layout.addWidget(self.import_select_all_button)
|
|
self.import_select_none_button = QtWidgets.QPushButton(self.import_group)
|
|
self.import_select_none_button.setObjectName("import_select_none_button")
|
|
self.import_buttons_layout.addWidget(self.import_select_none_button)
|
|
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
self.import_buttons_layout.addItem(spacerItem1)
|
|
self.import_button = QtWidgets.QPushButton(self.import_group)
|
|
self.import_button.setObjectName("import_button")
|
|
self.import_buttons_layout.addWidget(self.import_button)
|
|
self.import_layout.addLayout(self.import_buttons_layout)
|
|
self.export_import_layout.addWidget(self.import_group)
|
|
self.egl_sync_layout.addLayout(self.export_import_layout, 4, 0, 1, 1)
|
|
self.egl_path_layout = QtWidgets.QVBoxLayout()
|
|
self.egl_path_layout.setObjectName("egl_path_layout")
|
|
self.egl_sync_layout.addLayout(self.egl_path_layout, 0, 0, 1, 1)
|
|
|
|
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"))
|
|
self.refresh_button.setText(_translate("EGLSyncGroup", "Refresh"))
|
|
self.egl_sync_check.setText(_translate("EGLSyncGroup", "Enable automatic sync"))
|
|
self.egl_path_info.setText(_translate("EGLSyncGroup", "TextLabel"))
|
|
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_())
|