You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
3.8 KiB
Python
77 lines
3.8 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file './user_interfaces/ui_ModPackWidget.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_modPackWidget(object):
|
|
def setupUi(self, modPackWidget):
|
|
modPackWidget.setObjectName("modPackWidget")
|
|
modPackWidget.resize(314, 147)
|
|
self.gridLayout = QtWidgets.QGridLayout(modPackWidget)
|
|
self.gridLayout.setObjectName("gridLayout")
|
|
self.verticalLayout = QtWidgets.QVBoxLayout()
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.label_modPackName = QtWidgets.QLabel(modPackWidget)
|
|
self.label_modPackName.setScaledContents(True)
|
|
self.label_modPackName.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.label_modPackName.setWordWrap(True)
|
|
self.label_modPackName.setObjectName("label_modPackName")
|
|
self.verticalLayout.addWidget(self.label_modPackName)
|
|
self.label_modDescription = QtWidgets.QLabel(modPackWidget)
|
|
self.label_modDescription.setScaledContents(True)
|
|
self.label_modDescription.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
|
|
self.label_modDescription.setWordWrap(True)
|
|
self.label_modDescription.setObjectName("label_modDescription")
|
|
self.verticalLayout.addWidget(self.label_modDescription)
|
|
self.label_modPackTags = QtWidgets.QLabel(modPackWidget)
|
|
self.label_modPackTags.setScaledContents(True)
|
|
self.label_modPackTags.setWordWrap(True)
|
|
self.label_modPackTags.setObjectName("label_modPackTags")
|
|
self.verticalLayout.addWidget(self.label_modPackTags)
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
self.tbtn_editModPack = QtWidgets.QToolButton(modPackWidget)
|
|
self.tbtn_editModPack.setObjectName("tbtn_editModPack")
|
|
self.horizontalLayout.addWidget(self.tbtn_editModPack)
|
|
self.tbtn_addMod = QtWidgets.QToolButton(modPackWidget)
|
|
self.tbtn_addMod.setObjectName("tbtn_addMod")
|
|
self.horizontalLayout.addWidget(self.tbtn_addMod)
|
|
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
self.horizontalLayout.addItem(spacerItem)
|
|
self.tbtn_deleteModPack = QtWidgets.QToolButton(modPackWidget)
|
|
self.tbtn_deleteModPack.setObjectName("tbtn_deleteModPack")
|
|
self.horizontalLayout.addWidget(self.tbtn_deleteModPack)
|
|
self.verticalLayout.addLayout(self.horizontalLayout)
|
|
self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
|
|
|
|
self.retranslateUi(modPackWidget)
|
|
QtCore.QMetaObject.connectSlotsByName(modPackWidget)
|
|
|
|
def retranslateUi(self, modPackWidget):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
modPackWidget.setWindowTitle(_translate("modPackWidget", "ModPack"))
|
|
self.label_modPackName.setText(_translate("modPackWidget", "ModPack Name"))
|
|
self.label_modDescription.setText(_translate("modPackWidget", "Description"))
|
|
self.label_modPackTags.setText(_translate("modPackWidget", "Tags"))
|
|
self.tbtn_editModPack.setText(_translate("modPackWidget", "Edit"))
|
|
self.tbtn_addMod.setText(_translate("modPackWidget", "Add Mod"))
|
|
self.tbtn_deleteModPack.setText(_translate("modPackWidget", "Delete Modpack"))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
import sys
|
|
app = QtWidgets.QApplication(sys.argv)
|
|
modPackWidget = QtWidgets.QWidget()
|
|
ui = Ui_modPackWidget()
|
|
ui.setupUi(modPackWidget)
|
|
modPackWidget.show()
|
|
sys.exit(app.exec_())
|