# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'main.ui' # # Created by: PyQt5 UI code generator 5.10.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Launcher(object): def setupUi(self, Launcher): Launcher.setObjectName("Launcher") Launcher.resize(401, 302) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(Launcher.sizePolicy().hasHeightForWidth()) Launcher.setSizePolicy(sizePolicy) Launcher.setMinimumSize(QtCore.QSize(401, 302)) Launcher.setMaximumSize(QtCore.QSize(401, 302)) self.tabWidget = QtWidgets.QTabWidget(Launcher) self.tabWidget.setGeometry(QtCore.QRect(0, 0, 401, 251)) self.tabWidget.setTabShape(QtWidgets.QTabWidget.Rounded) self.tabWidget.setObjectName("tabWidget") self.tabUpdates = QtWidgets.QWidget() self.tabUpdates.setObjectName("tabUpdates") self.webUpdates = QtWebKitWidgets.QWebView(self.tabUpdates) self.webUpdates.setGeometry(QtCore.QRect(0, 0, 401, 221)) self.webUpdates.setUrl(QtCore.QUrl("about:blank")) self.webUpdates.setObjectName("webUpdates") self.tabWidget.addTab(self.tabUpdates, "") self.tabMods = QtWidgets.QWidget() self.tabMods.setObjectName("tabMods") self.webMods = QtWebKitWidgets.QWebView(self.tabMods) self.webMods.setGeometry(QtCore.QRect(-1, -1, 401, 221)) self.webMods.setUrl(QtCore.QUrl("about:blank")) self.webMods.setObjectName("webMods") self.tabWidget.addTab(self.tabMods, "") self.tabServer = QtWidgets.QWidget() self.tabServer.setObjectName("tabServer") self.webServerInfo = QtWebKitWidgets.QWebView(self.tabServer) self.webServerInfo.setGeometry(QtCore.QRect(-1, 0, 401, 221)) self.webServerInfo.setUrl(QtCore.QUrl("about:blank")) self.webServerInfo.setObjectName("webServerInfo") self.tabWidget.addTab(self.tabServer, "") self.tabPreferences = QtWidgets.QWidget() self.tabPreferences.setObjectName("tabPreferences") self.groupLogin = QtWidgets.QGroupBox(self.tabPreferences) self.groupLogin.setGeometry(QtCore.QRect(10, 0, 381, 101)) self.groupLogin.setObjectName("groupLogin") self.lineUsername = QtWidgets.QLineEdit(self.groupLogin) self.lineUsername.setGeometry(QtCore.QRect(0, 20, 381, 29)) self.lineUsername.setObjectName("lineUsername") self.linePassword = QtWidgets.QLineEdit(self.groupLogin) self.linePassword.setGeometry(QtCore.QRect(0, 50, 381, 29)) self.linePassword.setEchoMode(QtWidgets.QLineEdit.Password) self.linePassword.setReadOnly(False) self.linePassword.setObjectName("linePassword") self.buttonSaveUser = QtWidgets.QPushButton(self.groupLogin) self.buttonSaveUser.setGeometry(QtCore.QRect(0, 80, 71, 21)) self.buttonSaveUser.setObjectName("buttonSaveUser") self.buttonLogout = QtWidgets.QPushButton(self.groupLogin) self.buttonLogout.setGeometry(QtCore.QRect(70, 80, 71, 21)) self.buttonLogout.setObjectName("buttonLogout") self.groupPerformance = QtWidgets.QGroupBox(self.tabPreferences) self.groupPerformance.setGeometry(QtCore.QRect(10, 110, 381, 71)) self.groupPerformance.setObjectName("groupPerformance") self.dropdownCPU = QtWidgets.QComboBox(self.groupPerformance) self.dropdownCPU.setGeometry(QtCore.QRect(0, 20, 111, 25)) self.dropdownCPU.setObjectName("dropdownCPU") self.dropdownCPU.addItem("") self.dropdownCPU.addItem("") self.dropdownCPU.addItem("") self.dropdownCPU.addItem("") self.dropdownCPU.addItem("") self.dropdownCPU.addItem("") self.dropdownCPU.addItem("") self.dropdownCPU.addItem("") self.dropdownCPU.addItem("") self.dropdownCPU.addItem("") self.dropdownCPU.addItem("") self.dropdownGPU = QtWidgets.QComboBox(self.groupPerformance) self.dropdownGPU.setGeometry(QtCore.QRect(110, 20, 111, 25)) self.dropdownGPU.setObjectName("dropdownGPU") self.dropdownGPU.addItem("") self.dropdownGPU.addItem("") self.dropdownGPU.addItem("") self.dropdownGPU.addItem("") self.dropdownGPU.addItem("") self.dropdownGPU.addItem("") self.dropdownGPU.addItem("") self.dropdownGPU.addItem("") self.dropdownGPU.addItem("") self.dropdownGPU.addItem("") self.dropdownGPU.addItem("") self.dropdownRAM = QtWidgets.QComboBox(self.groupPerformance) self.dropdownRAM.setGeometry(QtCore.QRect(220, 20, 111, 25)) self.dropdownRAM.setObjectName("dropdownRAM") self.dropdownRAM.addItem("") self.buttonSavePerformance = QtWidgets.QPushButton(self.groupPerformance) self.buttonSavePerformance.setGeometry(QtCore.QRect(0, 50, 71, 21)) self.buttonSavePerformance.setObjectName("buttonSavePerformance") self.buttonAutoDetectPerformance = QtWidgets.QPushButton(self.groupPerformance) self.buttonAutoDetectPerformance.setGeometry(QtCore.QRect(70, 50, 101, 21)) self.buttonAutoDetectPerformance.setObjectName("buttonAutoDetectPerformance") self.tabWidget.addTab(self.tabPreferences, "") self.labelServerStatus = QtWidgets.QLabel(Launcher) self.labelServerStatus.setGeometry(QtCore.QRect(310, 260, 81, 16)) self.labelServerStatus.setObjectName("labelServerStatus") self.buttonServerStartup = QtWidgets.QPushButton(Launcher) self.buttonServerStartup.setGeometry(QtCore.QRect(300, 280, 101, 21)) self.buttonServerStartup.setCheckable(False) self.buttonServerStartup.setObjectName("buttonServerStartup") self.progressUpdate = QtWidgets.QProgressBar(Launcher) self.progressUpdate.setGeometry(QtCore.QRect(0, 250, 101, 51)) self.progressUpdate.setProperty("value", 24) self.progressUpdate.setObjectName("progressUpdate") self.buttonPlay = QtWidgets.QPushButton(Launcher) self.buttonPlay.setGeometry(QtCore.QRect(100, 250, 201, 51)) self.buttonPlay.setObjectName("buttonPlay") self.retranslateUi(Launcher) self.tabWidget.setCurrentIndex(3) QtCore.QMetaObject.connectSlotsByName(Launcher) def retranslateUi(self, Launcher): _translate = QtCore.QCoreApplication.translate Launcher.setWindowTitle(_translate("Launcher", "Jan’s Minecraft Mod Pack Launcher")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabUpdates), _translate("Launcher", "News && Updates")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMods), _translate("Launcher", "Mod Infos && Credits")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabServer), _translate("Launcher", "Server Info")) self.groupLogin.setTitle(_translate("Launcher", "Login Information")) self.lineUsername.setText(_translate("Launcher", "")) self.lineUsername.setPlaceholderText(_translate("Launcher", "e-Mail or username")) self.linePassword.setText(_translate("Launcher", "You fool!")) self.linePassword.setPlaceholderText(_translate("Launcher", "Password")) self.buttonSaveUser.setText(_translate("Launcher", "Save!")) self.buttonLogout.setText(_translate("Launcher", "Logout :(")) self.groupPerformance.setTitle(_translate("Launcher", "Performance Settings")) self.dropdownCPU.setItemText(0, _translate("Launcher", "")) self.dropdownCPU.setItemText(1, _translate("Launcher", "Daddy\'s old laptop")) self.dropdownCPU.setItemText(2, _translate("Launcher", "Modern Laptop")) self.dropdownCPU.setItemText(3, _translate("Launcher", "Generic Single Core")) self.dropdownCPU.setItemText(4, _translate("Launcher", "Modern Single Core (Seriously!? Why?)")) self.dropdownCPU.setItemText(5, _translate("Launcher", "Generic Dual Core")) self.dropdownCPU.setItemText(6, _translate("Launcher", "Modern Dual Core or Threaded")) self.dropdownCPU.setItemText(7, _translate("Launcher", "Generic Multi Core")) self.dropdownCPU.setItemText(8, _translate("Launcher", "Modern Multi Core")) self.dropdownCPU.setItemText(9, _translate("Launcher", "Extremely too many cores")) self.dropdownCPU.setItemText(10, _translate("Launcher", "NO LIMITS!")) self.dropdownGPU.setItemText(0, _translate("Launcher", "")) self.dropdownGPU.setItemText(1, _translate("Launcher", "Daddy\'s old laptop")) self.dropdownGPU.setItemText(2, _translate("Launcher", "Generic laptop dedicated")) self.dropdownGPU.setItemText(3, _translate("Launcher", "Modern laptop integrated")) self.dropdownGPU.setItemText(4, _translate("Launcher", "Modern Laptop dedicated")) self.dropdownGPU.setItemText(5, _translate("Launcher", "Generic Integrated (or low-power office PC graphics card)")) self.dropdownGPU.setItemText(6, _translate("Launcher", "Modern Integrated (or modern office PC ... 1030? I am looking at you.)")) self.dropdownGPU.setItemText(7, _translate("Launcher", "Generic Dedicated")) self.dropdownGPU.setItemText(8, _translate("Launcher", "Modern Dedicated")) self.dropdownGPU.setItemText(9, _translate("Launcher", "GAMING!!!")) self.dropdownGPU.setItemText(10, _translate("Launcher", "When will RayTracing be available?")) self.dropdownRAM.setItemText(0, _translate("Launcher", "")) self.buttonSavePerformance.setText(_translate("Launcher", "Save!")) self.buttonAutoDetectPerformance.setText(_translate("Launcher", "Try auto-detect")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabPreferences), _translate("Launcher", "Preferences")) self.labelServerStatus.setText(_translate("Launcher", "Server: Offline")) self.buttonServerStartup.setText(_translate("Launcher", "Request Startup")) self.progressUpdate.setFormat(_translate("Launcher", "Updating...")) self.buttonPlay.setText(_translate("Launcher", "PLAY! :)")) from PyQt5 import QtWebKitWidgets