# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'rare/ui/components/tabs/settings/legendary.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_LegendarySettings(object): def setupUi(self, LegendarySettings): LegendarySettings.setObjectName("LegendarySettings") LegendarySettings.resize(796, 732) self.settings_layout = QtWidgets.QHBoxLayout(LegendarySettings) self.settings_layout.setObjectName("settings_layout") self.left_layout = QtWidgets.QVBoxLayout() self.left_layout.setObjectName("left_layout") self.install_dir_group = QtWidgets.QGroupBox(LegendarySettings) self.install_dir_group.setObjectName("install_dir_group") self.install_dir_layout = QtWidgets.QVBoxLayout(self.install_dir_group) self.install_dir_layout.setObjectName("install_dir_layout") self.left_layout.addWidget(self.install_dir_group) self.download_group = QtWidgets.QGroupBox(LegendarySettings) self.download_group.setObjectName("download_group") self.download_layout = QtWidgets.QFormLayout(self.download_group) self.download_layout.setLabelAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.download_layout.setObjectName("download_layout") self.max_workers_label = QtWidgets.QLabel(self.download_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.max_workers_label.sizePolicy().hasHeightForWidth()) self.max_workers_label.setSizePolicy(sizePolicy) self.max_workers_label.setObjectName("max_workers_label") self.download_layout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.max_workers_label) self.max_workers_layout = QtWidgets.QHBoxLayout() self.max_workers_layout.setObjectName("max_workers_layout") self.max_worker_spin = QtWidgets.QSpinBox(self.download_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.max_worker_spin.sizePolicy().hasHeightForWidth()) self.max_worker_spin.setSizePolicy(sizePolicy) self.max_worker_spin.setMinimum(0) self.max_worker_spin.setMaximum(16) self.max_worker_spin.setProperty("value", 4) self.max_worker_spin.setObjectName("max_worker_spin") self.max_workers_layout.addWidget(self.max_worker_spin) self.max_workers_info_label = QtWidgets.QLabel(self.download_group) font = QtGui.QFont() font.setItalic(True) self.max_workers_info_label.setFont(font) self.max_workers_info_label.setObjectName("max_workers_info_label") self.max_workers_layout.addWidget(self.max_workers_info_label) self.download_layout.setLayout(0, QtWidgets.QFormLayout.FieldRole, self.max_workers_layout) self.max_memory_label = QtWidgets.QLabel(self.download_group) self.max_memory_label.setObjectName("max_memory_label") self.download_layout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.max_memory_label) self.max_memory_layout = QtWidgets.QHBoxLayout() self.max_memory_layout.setObjectName("max_memory_layout") self.max_memory_spin = QtWidgets.QSpinBox(self.download_group) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.max_memory_spin.sizePolicy().hasHeightForWidth()) self.max_memory_spin.setSizePolicy(sizePolicy) self.max_memory_spin.setMinimum(0) self.max_memory_spin.setMaximum(10240) self.max_memory_spin.setSingleStep(128) self.max_memory_spin.setProperty("value", 1024) self.max_memory_spin.setObjectName("max_memory_spin") self.max_memory_layout.addWidget(self.max_memory_spin) self.max_memory_info_label = QtWidgets.QLabel(self.download_group) font = QtGui.QFont() font.setItalic(True) self.max_memory_info_label.setFont(font) self.max_memory_info_label.setObjectName("max_memory_info_label") self.max_memory_layout.addWidget(self.max_memory_info_label) self.download_layout.setLayout(1, QtWidgets.QFormLayout.FieldRole, self.max_memory_layout) self.preferred_cdn_label = QtWidgets.QLabel(self.download_group) self.preferred_cdn_label.setObjectName("preferred_cdn_label") self.download_layout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.preferred_cdn_label) self.preferred_cdn_line = QtWidgets.QLineEdit(self.download_group) self.preferred_cdn_line.setObjectName("preferred_cdn_line") self.download_layout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.preferred_cdn_line) self.disable_https_label = QtWidgets.QLabel(self.download_group) self.disable_https_label.setObjectName("disable_https_label") self.download_layout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.disable_https_label) self.disable_https_check = QtWidgets.QCheckBox(self.download_group) self.disable_https_check.setText("") self.disable_https_check.setObjectName("disable_https_check") self.download_layout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.disable_https_check) self.left_layout.addWidget(self.download_group) self.egl_sync_group = QtWidgets.QGroupBox(LegendarySettings) self.egl_sync_group.setObjectName("egl_sync_group") self.egl_sync_layout = QtWidgets.QVBoxLayout(self.egl_sync_group) self.egl_sync_layout.setObjectName("egl_sync_layout") self.manifest_path_layout = QtWidgets.QVBoxLayout() self.manifest_path_layout.setObjectName("manifest_path_layout") self.egl_sync_layout.addLayout(self.manifest_path_layout) self.manifest_path_info = QtWidgets.QLabel(self.egl_sync_group) self.manifest_path_info.setObjectName("manifest_path_info") self.egl_sync_layout.addWidget(self.manifest_path_info) self.export_import_layout = QtWidgets.QHBoxLayout() self.export_import_layout.setObjectName("export_import_layout") self.export_group = QtWidgets.QGroupBox(self.egl_sync_group) 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_scroll = QtWidgets.QScrollArea(self.export_group) self.export_scroll.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustIgnored) self.export_scroll.setWidgetResizable(True) self.export_scroll.setObjectName("export_scroll") self.export_contents = QtWidgets.QWidget() self.export_contents.setGeometry(QtCore.QRect(0, 0, 264, 16)) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.export_contents.sizePolicy().hasHeightForWidth()) self.export_contents.setSizePolicy(sizePolicy) self.export_contents.setObjectName("export_contents") self.exportable_layout = QtWidgets.QVBoxLayout(self.export_contents) self.exportable_layout.setObjectName("exportable_layout") self.export_scroll.setWidget(self.export_contents) self.export_layout.addWidget(self.export_scroll) self.export_all_button = QtWidgets.QPushButton(self.export_group) self.export_all_button.setObjectName("export_all_button") self.export_layout.addWidget(self.export_all_button, 0, QtCore.Qt.AlignRight) self.export_import_layout.addWidget(self.export_group) self.import_group = QtWidgets.QGroupBox(self.egl_sync_group) 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_scroll = QtWidgets.QScrollArea(self.import_group) self.import_scroll.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustIgnored) self.import_scroll.setWidgetResizable(True) self.import_scroll.setObjectName("import_scroll") self.import_contents = QtWidgets.QWidget() self.import_contents.setGeometry(QtCore.QRect(0, 0, 264, 16)) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.import_contents.sizePolicy().hasHeightForWidth()) self.import_contents.setSizePolicy(sizePolicy) self.import_contents.setObjectName("import_contents") self.importable_layout = QtWidgets.QVBoxLayout(self.import_contents) self.importable_layout.setObjectName("importable_layout") self.import_scroll.setWidget(self.import_contents) self.import_layout.addWidget(self.import_scroll) self.import_all_button = QtWidgets.QPushButton(self.import_group) self.import_all_button.setObjectName("import_all_button") self.import_layout.addWidget(self.import_all_button, 0, QtCore.Qt.AlignRight) self.export_import_layout.addWidget(self.import_group) self.egl_sync_layout.addLayout(self.export_import_layout) self.enable_sync_group = QtWidgets.QGroupBox(self.egl_sync_group) self.enable_sync_group.setObjectName("enable_sync_group") self.enable_sync_layout = QtWidgets.QHBoxLayout(self.enable_sync_group) self.enable_sync_layout.setObjectName("enable_sync_layout") self.sync_once_button = QtWidgets.QPushButton(self.enable_sync_group) self.sync_once_button.setObjectName("sync_once_button") self.enable_sync_layout.addWidget(self.sync_once_button, 0, QtCore.Qt.AlignRight) self.enable_sync_button = QtWidgets.QPushButton(self.enable_sync_group) self.enable_sync_button.setObjectName("enable_sync_button") self.enable_sync_layout.addWidget(self.enable_sync_button, 0, QtCore.Qt.AlignRight) self.egl_sync_layout.addWidget(self.enable_sync_group) self.left_layout.addWidget(self.egl_sync_group) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.left_layout.addItem(spacerItem) self.settings_layout.addLayout(self.left_layout) self.right_layout = QtWidgets.QVBoxLayout() self.right_layout.setObjectName("right_layout") self.cleanup_group = QtWidgets.QGroupBox(LegendarySettings) self.cleanup_group.setObjectName("cleanup_group") self.cleanup_layout = QtWidgets.QVBoxLayout(self.cleanup_group) self.cleanup_layout.setObjectName("cleanup_layout") self.clean_keep_manifests_button = QtWidgets.QPushButton(self.cleanup_group) self.clean_keep_manifests_button.setObjectName("clean_keep_manifests_button") self.cleanup_layout.addWidget(self.clean_keep_manifests_button) self.clean_button = QtWidgets.QPushButton(self.cleanup_group) self.clean_button.setObjectName("clean_button") self.cleanup_layout.addWidget(self.clean_button) self.right_layout.addWidget(self.cleanup_group) self.egl_sync = QtWidgets.QGroupBox(LegendarySettings) self.egl_sync.setObjectName("egl_sync") self.egl_sync_layout_3 = QtWidgets.QVBoxLayout(self.egl_sync) self.egl_sync_layout_3.setObjectName("egl_sync_layout_3") self.egl_sync_button = QtWidgets.QPushButton(self.egl_sync) self.egl_sync_button.setObjectName("egl_sync_button") self.egl_sync_layout_3.addWidget(self.egl_sync_button) self.right_layout.addWidget(self.egl_sync) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.right_layout.addItem(spacerItem1) self.settings_layout.addLayout(self.right_layout) self.retranslateUi(LegendarySettings) QtCore.QMetaObject.connectSlotsByName(LegendarySettings) def retranslateUi(self, LegendarySettings): _translate = QtCore.QCoreApplication.translate LegendarySettings.setWindowTitle(_translate("LegendarySettings", "LegendarySettings")) self.install_dir_group.setTitle(_translate("LegendarySettings", "Default Installation Directory")) self.download_group.setTitle(_translate("LegendarySettings", "Download Settings")) self.max_workers_label.setText(_translate("LegendarySettings", "Max Workers")) self.max_workers_info_label.setText(_translate("LegendarySettings", "Less is slower (0: Default)")) self.max_memory_label.setText(_translate("LegendarySettings", "Max Memory")) self.max_memory_spin.setSuffix(_translate("LegendarySettings", "MiB")) self.max_memory_info_label.setText(_translate("LegendarySettings", "Less is slower (0: Default)")) self.preferred_cdn_label.setText(_translate("LegendarySettings", "Preferred CDN")) self.preferred_cdn_line.setPlaceholderText(_translate("LegendarySettings", "Default")) self.disable_https_label.setText(_translate("LegendarySettings", "Disable HTTPS")) self.egl_sync_group.setTitle(_translate("LegendarySettings", "Sync with Epic Games Launcher")) self.manifest_path_info.setText(_translate("LegendarySettings", "TextLabel")) self.export_group.setTitle(_translate("LegendarySettings", "Exportable Games")) self.export_label.setText(_translate("LegendarySettings", "No games to export to EGS")) self.export_all_button.setText(_translate("LegendarySettings", "Export all Games")) self.import_group.setTitle(_translate("LegendarySettings", "Importable")) self.import_label.setText(_translate("LegendarySettings", "No games to import from EGS")) self.import_all_button.setText(_translate("LegendarySettings", "Import all Games")) self.enable_sync_group.setTitle(_translate("LegendarySettings", "Enable Sync")) self.sync_once_button.setText(_translate("LegendarySettings", "Sync once")) self.enable_sync_button.setText(_translate("LegendarySettings", "Enable automatic sync")) self.cleanup_group.setTitle(_translate("LegendarySettings", "Cleanup")) self.clean_keep_manifests_button.setText(_translate("LegendarySettings", "Clean, but keep manifests")) self.clean_button.setText(_translate("LegendarySettings", "Remove everything")) self.egl_sync.setTitle(_translate("LegendarySettings", "EGL Sync")) self.egl_sync_button.setText(_translate("LegendarySettings", "Sync Settings")) if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) LegendarySettings = QtWidgets.QWidget() ui = Ui_LegendarySettings() ui.setupUi(LegendarySettings) LegendarySettings.show() sys.exit(app.exec_())