# Form implementation generated from reading ui file 'mod_manager_window.ui' # # Created by: PyQt6 UI code generator 6.6.1 # # WARNING: Any manual changes made to this file will be lost when pyuic6 is # run again. Do not edit this file unless you know what you are doing. from PyQt6 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(800, 594) self.centralwidget = QtWidgets.QWidget(parent=MainWindow) self.centralwidget.setObjectName("centralwidget") self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget) self.horizontalLayout.setObjectName("horizontalLayout") self.ModListLayout = QtWidgets.QVBoxLayout() self.ModListLayout.setObjectName("ModListLayout") self.InstalledModLayout = QtWidgets.QVBoxLayout() self.InstalledModLayout.setObjectName("InstalledModLayout") self.InstalledModsLabel = QtWidgets.QLabel(parent=self.centralwidget) font = QtGui.QFont() font.setPointSize(14) font.setBold(True) font.setUnderline(False) font.setWeight(75) font.setKerning(True) self.InstalledModsLabel.setFont(font) self.InstalledModsLabel.setObjectName("InstalledModsLabel") self.InstalledModLayout.addWidget(self.InstalledModsLabel) self.InstalledModsListView = QtWidgets.QListView(parent=self.centralwidget) self.InstalledModsListView.setObjectName("InstalledModsListView") self.InstalledModLayout.addWidget(self.InstalledModsListView) self.ModListButtonsLayout = QtWidgets.QHBoxLayout() self.ModListButtonsLayout.setObjectName("ModListButtonsLayout") self.ApplyChangesButton = QtWidgets.QPushButton(parent=self.centralwidget) self.ApplyChangesButton.setObjectName("ApplyChangesButton") self.ModListButtonsLayout.addWidget(self.ApplyChangesButton) self.DisacrdChangesButton = QtWidgets.QPushButton(parent=self.centralwidget) self.DisacrdChangesButton.setObjectName("DisacrdChangesButton") self.ModListButtonsLayout.addWidget(self.DisacrdChangesButton) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) self.ModListButtonsLayout.addItem(spacerItem) self.InstalledModLayout.addLayout(self.ModListButtonsLayout) self.ModListLayout.addLayout(self.InstalledModLayout) self.horizontalLayout.addLayout(self.ModListLayout) self.ActionListLayout = QtWidgets.QVBoxLayout() self.ActionListLayout.setObjectName("ActionListLayout") self.AvailableModsLabel = QtWidgets.QLabel(parent=self.centralwidget) font = QtGui.QFont() font.setPointSize(14) font.setBold(True) font.setUnderline(False) font.setWeight(75) font.setKerning(True) self.AvailableModsLabel.setFont(font) self.AvailableModsLabel.setObjectName("AvailableModsLabel") self.ActionListLayout.addWidget(self.AvailableModsLabel) self.AvailableModsList = QtWidgets.QListView(parent=self.centralwidget) self.AvailableModsList.setObjectName("AvailableModsList") self.ActionListLayout.addWidget(self.AvailableModsList) self.AvailableModsButtonLayout = QtWidgets.QHBoxLayout() self.AvailableModsButtonLayout.setObjectName("AvailableModsButtonLayout") self.DeleteModFilesButton = QtWidgets.QPushButton(parent=self.centralwidget) self.DeleteModFilesButton.setObjectName("DeleteModFilesButton") self.AvailableModsButtonLayout.addWidget(self.DeleteModFilesButton) self.TODOButton = QtWidgets.QPushButton(parent=self.centralwidget) self.TODOButton.setObjectName("TODOButton") self.AvailableModsButtonLayout.addWidget(self.TODOButton) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) self.AvailableModsButtonLayout.addItem(spacerItem1) self.ActionListLayout.addLayout(self.AvailableModsButtonLayout) self.horizontalLayout.addLayout(self.ActionListLayout) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(parent=MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 30)) self.menubar.setObjectName("menubar") self.menuSettings = QtWidgets.QMenu(parent=self.menubar) self.menuSettings.setObjectName("menuSettings") self.menuAdd = QtWidgets.QMenu(parent=self.menubar) self.menuAdd.setObjectName("menuAdd") MainWindow.setMenuBar(self.menubar) self.statusbar = QtWidgets.QStatusBar(parent=MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.actionSet_game_folder = QtGui.QAction(parent=MainWindow) self.actionSet_game_folder.setObjectName("actionSet_game_folder") self.actionrefresh_detected_mods = QtGui.QAction(parent=MainWindow) self.actionrefresh_detected_mods.setObjectName("actionrefresh_detected_mods") self.actionAdd_new_Mod = QtGui.QAction(parent=MainWindow) self.actionAdd_new_Mod.setObjectName("actionAdd_new_Mod") self.actionAdd_new_mod = QtGui.QAction(parent=MainWindow) self.actionAdd_new_mod.setObjectName("actionAdd_new_mod") self.actionrefresh_mods = QtGui.QAction(parent=MainWindow) self.actionrefresh_mods.setObjectName("actionrefresh_mods") self.actionRemove_ALL_manager_files = QtGui.QAction(parent=MainWindow) self.actionRemove_ALL_manager_files.setObjectName("actionRemove_ALL_manager_files") self.actionCheck_for_Updates = QtGui.QAction(parent=MainWindow) self.actionCheck_for_Updates.setObjectName("actionCheck_for_Updates") self.menuSettings.addAction(self.actionSet_game_folder) self.menuSettings.addAction(self.actionRemove_ALL_manager_files) self.menuAdd.addAction(self.actionAdd_new_mod) self.menuAdd.addAction(self.actionrefresh_mods) self.menuAdd.addAction(self.actionCheck_for_Updates) self.menubar.addAction(self.menuAdd.menuAction()) self.menubar.addAction(self.menuSettings.menuAction()) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): _translate = QtCore.QCoreApplication.translate MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow")) self.InstalledModsLabel.setText(_translate("MainWindow", "Installed Mods:")) self.ApplyChangesButton.setText(_translate("MainWindow", "Apply Changes")) self.DisacrdChangesButton.setText(_translate("MainWindow", "Discard Changes")) self.AvailableModsLabel.setText(_translate("MainWindow", "Available Mods:")) self.DeleteModFilesButton.setText(_translate("MainWindow", "Delete Mod files")) self.TODOButton.setText(_translate("MainWindow", "TODO")) self.menuSettings.setTitle(_translate("MainWindow", "Settings")) self.menuAdd.setTitle(_translate("MainWindow", "Mods")) self.actionSet_game_folder.setText(_translate("MainWindow", "Set game folder")) self.actionrefresh_detected_mods.setText(_translate("MainWindow", "Refresh Mods")) self.actionAdd_new_Mod.setText(_translate("MainWindow", "Add new Mod")) self.actionAdd_new_mod.setText(_translate("MainWindow", "Add new mod")) self.actionrefresh_mods.setText(_translate("MainWindow", "Refresh mods")) self.actionRemove_ALL_manager_files.setText(_translate("MainWindow", "Remove ALL manager files")) self.actionCheck_for_Updates.setText(_translate("MainWindow", "Check for Updates")) if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) MainWindow = QtWidgets.QMainWindow() ui = Ui_MainWindow() ui.setupUi(MainWindow) MainWindow.show() sys.exit(app.exec())