Addon Manager: Black and lint
This commit is contained in:
@@ -16,7 +16,7 @@ from PySide.QtWidgets import *
|
||||
class Ui_ExpandedView(object):
|
||||
def setupUi(self, ExpandedView):
|
||||
if not ExpandedView.objectName():
|
||||
ExpandedView.setObjectName(u"ExpandedView")
|
||||
ExpandedView.setObjectName("ExpandedView")
|
||||
ExpandedView.resize(807, 141)
|
||||
sizePolicy = QSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Preferred)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
@@ -25,11 +25,11 @@ class Ui_ExpandedView(object):
|
||||
ExpandedView.setSizePolicy(sizePolicy)
|
||||
self.horizontalLayout_2 = QHBoxLayout(ExpandedView)
|
||||
self.horizontalLayout_2.setSpacing(2)
|
||||
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
|
||||
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
||||
self.horizontalLayout_2.setSizeConstraint(QLayout.SetNoConstraint)
|
||||
self.horizontalLayout_2.setContentsMargins(2, 0, 2, 0)
|
||||
self.labelIcon = QLabel(ExpandedView)
|
||||
self.labelIcon.setObjectName(u"labelIcon")
|
||||
self.labelIcon.setObjectName("labelIcon")
|
||||
sizePolicy1 = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
|
||||
sizePolicy1.setHorizontalStretch(0)
|
||||
sizePolicy1.setVerticalStretch(0)
|
||||
@@ -49,17 +49,17 @@ class Ui_ExpandedView(object):
|
||||
|
||||
self.verticalLayout = QVBoxLayout()
|
||||
self.verticalLayout.setSpacing(3)
|
||||
self.verticalLayout.setObjectName(u"verticalLayout")
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.horizontalLayout = QHBoxLayout()
|
||||
self.horizontalLayout.setSpacing(10)
|
||||
self.horizontalLayout.setObjectName(u"horizontalLayout")
|
||||
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||
self.labelPackageName = QLabel(ExpandedView)
|
||||
self.labelPackageName.setObjectName(u"labelPackageName")
|
||||
self.labelPackageName.setObjectName("labelPackageName")
|
||||
|
||||
self.horizontalLayout.addWidget(self.labelPackageName)
|
||||
|
||||
self.labelVersion = QLabel(ExpandedView)
|
||||
self.labelVersion.setObjectName(u"labelVersion")
|
||||
self.labelVersion.setObjectName("labelVersion")
|
||||
self.labelVersion.setTextFormat(Qt.RichText)
|
||||
sizePolicy2 = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
|
||||
sizePolicy2.setHorizontalStretch(0)
|
||||
@@ -72,7 +72,7 @@ class Ui_ExpandedView(object):
|
||||
self.horizontalLayout.addWidget(self.labelVersion)
|
||||
|
||||
self.labelTags = QLabel(ExpandedView)
|
||||
self.labelTags.setObjectName(u"labelTags")
|
||||
self.labelTags.setObjectName("labelTags")
|
||||
|
||||
self.horizontalLayout.addWidget(self.labelTags)
|
||||
|
||||
@@ -85,7 +85,7 @@ class Ui_ExpandedView(object):
|
||||
self.verticalLayout.addLayout(self.horizontalLayout)
|
||||
|
||||
self.labelDescription = QLabel(ExpandedView)
|
||||
self.labelDescription.setObjectName(u"labelDescription")
|
||||
self.labelDescription.setObjectName("labelDescription")
|
||||
sizePolicy.setHeightForWidth(
|
||||
self.labelDescription.sizePolicy().hasHeightForWidth()
|
||||
)
|
||||
@@ -97,7 +97,7 @@ class Ui_ExpandedView(object):
|
||||
self.verticalLayout.addWidget(self.labelDescription)
|
||||
|
||||
self.labelMaintainer = QLabel(ExpandedView)
|
||||
self.labelMaintainer.setObjectName(u"labelMaintainer")
|
||||
self.labelMaintainer.setObjectName("labelMaintainer")
|
||||
sizePolicy2.setHeightForWidth(
|
||||
self.labelMaintainer.sizePolicy().hasHeightForWidth()
|
||||
)
|
||||
@@ -110,7 +110,7 @@ class Ui_ExpandedView(object):
|
||||
self.horizontalLayout_2.addLayout(self.verticalLayout)
|
||||
|
||||
self.labelStatus = QLabel(ExpandedView)
|
||||
self.labelStatus.setObjectName(u"labelStatus")
|
||||
self.labelStatus.setObjectName("labelStatus")
|
||||
self.labelStatus.setTextFormat(Qt.RichText)
|
||||
self.labelStatus.setAlignment(
|
||||
Qt.AlignRight | Qt.AlignTrailing | Qt.AlignVCenter
|
||||
@@ -126,28 +126,26 @@ class Ui_ExpandedView(object):
|
||||
|
||||
def retranslateUi(self, ExpandedView):
|
||||
ExpandedView.setWindowTitle(
|
||||
QCoreApplication.translate("ExpandedView", u"Form", None)
|
||||
)
|
||||
self.labelIcon.setText(
|
||||
QCoreApplication.translate("ExpandedView", u"Icon", None)
|
||||
QCoreApplication.translate("ExpandedView", "Form", None)
|
||||
)
|
||||
self.labelIcon.setText(QCoreApplication.translate("ExpandedView", "Icon", None))
|
||||
self.labelPackageName.setText(
|
||||
QCoreApplication.translate("ExpandedView", u"<h1>Package Name</h1>", None)
|
||||
QCoreApplication.translate("ExpandedView", "<h1>Package Name</h1>", None)
|
||||
)
|
||||
self.labelVersion.setText(
|
||||
QCoreApplication.translate("ExpandedView", u"Version", None)
|
||||
QCoreApplication.translate("ExpandedView", "Version", None)
|
||||
)
|
||||
self.labelTags.setText(
|
||||
QCoreApplication.translate("ExpandedView", u"(tags)", None)
|
||||
QCoreApplication.translate("ExpandedView", "(tags)", None)
|
||||
)
|
||||
self.labelDescription.setText(
|
||||
QCoreApplication.translate("ExpandedView", u"Description", None)
|
||||
QCoreApplication.translate("ExpandedView", "Description", None)
|
||||
)
|
||||
self.labelMaintainer.setText(
|
||||
QCoreApplication.translate("ExpandedView", u"Maintainer", None)
|
||||
QCoreApplication.translate("ExpandedView", "Maintainer", None)
|
||||
)
|
||||
self.labelStatus.setText(
|
||||
QCoreApplication.translate("ExpandedView", u"UpdateAvailable", None)
|
||||
QCoreApplication.translate("ExpandedView", "UpdateAvailable", None)
|
||||
)
|
||||
|
||||
# retranslateUi
|
||||
|
||||
Reference in New Issue
Block a user