mirror of
https://github.com/283375/arcaea-offline-ocr-model.git
synced 2025-07-04 22:06:26 +00:00
feat: update button in ProjectEntry_Manage
This commit is contained in:
@ -26,16 +26,16 @@ class Ui_ProjectEntry_Manage(object):
|
||||
ProjectEntry_Manage.setWindowTitle(u"ProjectEntry_Manage")
|
||||
self.gridLayout = QGridLayout(ProjectEntry_Manage)
|
||||
self.gridLayout.setObjectName(u"gridLayout")
|
||||
self.redactSourcesButton = QPushButton(ProjectEntry_Manage)
|
||||
self.redactSourcesButton.setObjectName(u"redactSourcesButton")
|
||||
|
||||
self.gridLayout.addWidget(self.redactSourcesButton, 2, 1, 1, 1)
|
||||
|
||||
self.projectDescriptionLabel = QLabel(ProjectEntry_Manage)
|
||||
self.projectDescriptionLabel.setObjectName(u"projectDescriptionLabel")
|
||||
|
||||
self.gridLayout.addWidget(self.projectDescriptionLabel, 1, 0, 1, 2)
|
||||
|
||||
self.extractButton = QPushButton(ProjectEntry_Manage)
|
||||
self.extractButton.setObjectName(u"extractButton")
|
||||
|
||||
self.gridLayout.addWidget(self.extractButton, 3, 0, 1, 1)
|
||||
|
||||
self.projectNameLabel = QLabel(ProjectEntry_Manage)
|
||||
self.projectNameLabel.setObjectName(u"projectNameLabel")
|
||||
font = QFont()
|
||||
@ -45,14 +45,19 @@ class Ui_ProjectEntry_Manage(object):
|
||||
|
||||
self.gridLayout.addWidget(self.projectNameLabel, 0, 0, 1, 2)
|
||||
|
||||
self.extractButton = QPushButton(ProjectEntry_Manage)
|
||||
self.extractButton.setObjectName(u"extractButton")
|
||||
self.redactSourcesButton = QPushButton(ProjectEntry_Manage)
|
||||
self.redactSourcesButton.setObjectName(u"redactSourcesButton")
|
||||
|
||||
self.gridLayout.addWidget(self.extractButton, 2, 0, 1, 1)
|
||||
self.gridLayout.addWidget(self.redactSourcesButton, 3, 1, 1, 1)
|
||||
|
||||
self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
|
||||
|
||||
self.gridLayout.addItem(self.verticalSpacer, 3, 0, 1, 2)
|
||||
self.gridLayout.addItem(self.verticalSpacer, 5, 0, 1, 2)
|
||||
|
||||
self.updateButton = QPushButton(ProjectEntry_Manage)
|
||||
self.updateButton.setObjectName(u"updateButton")
|
||||
|
||||
self.gridLayout.addWidget(self.updateButton, 2, 0, 1, 1)
|
||||
|
||||
|
||||
self.retranslateUi(ProjectEntry_Manage)
|
||||
@ -61,10 +66,11 @@ class Ui_ProjectEntry_Manage(object):
|
||||
# setupUi
|
||||
|
||||
def retranslateUi(self, ProjectEntry_Manage):
|
||||
self.redactSourcesButton.setText(QCoreApplication.translate("ProjectEntry_Manage", u"Redact sources", None))
|
||||
self.projectDescriptionLabel.setText(QCoreApplication.translate("ProjectEntry_Manage", u"-", None))
|
||||
self.projectNameLabel.setText(QCoreApplication.translate("ProjectEntry_Manage", u"-", None))
|
||||
self.extractButton.setText(QCoreApplication.translate("ProjectEntry_Manage", u"Extract", None))
|
||||
self.projectNameLabel.setText(QCoreApplication.translate("ProjectEntry_Manage", u"-", None))
|
||||
self.redactSourcesButton.setText(QCoreApplication.translate("ProjectEntry_Manage", u"Redact sources", None))
|
||||
self.updateButton.setText(QCoreApplication.translate("ProjectEntry_Manage", u"Update", None))
|
||||
pass
|
||||
# retranslateUi
|
||||
|
||||
|
Reference in New Issue
Block a user