ui_DialogAbout.py 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # -*- coding: utf-8 -*-
  2. ################################################################################
  3. ## Form generated from reading UI file 'DialogAbout.ui'
  4. ##
  5. ## Created by: Qt User Interface Compiler version 6.4.1
  6. ##
  7. ## WARNING! All changes made in this file will be lost when recompiling UI file!
  8. ################################################################################
  9. from PySide6.QtCore import (QCoreApplication, QMetaObject, QSize, Qt)
  10. from PySide6.QtWidgets import (QHBoxLayout, QLabel, QSizePolicy, QSpacerItem, QVBoxLayout)
  11. from module import translate
  12. class Ui_DialogAbout(object):
  13. def setupUi(self, DialogAbout):
  14. if not DialogAbout.objectName():
  15. DialogAbout.setObjectName(u"DialogAbout")
  16. DialogAbout.resize(456, 295)
  17. self.verticalLayout = QVBoxLayout(DialogAbout)
  18. self.verticalLayout.setObjectName(u"verticalLayout")
  19. self.label = QLabel(DialogAbout)
  20. self.label.setObjectName(u"label")
  21. self.label.setAlignment(Qt.AlignCenter)
  22. self.verticalLayout.addWidget(self.label)
  23. self.version = QLabel(DialogAbout)
  24. self.version.setObjectName(u"version")
  25. self.version.setAlignment(Qt.AlignCenter)
  26. self.verticalLayout.addWidget(self.version)
  27. self.verticalSpacer_2 = QSpacerItem(10, 5, QSizePolicy.Minimum, QSizePolicy.Expanding)
  28. self.verticalLayout.addItem(self.verticalSpacer_2)
  29. self.horizontalLayout = QHBoxLayout()
  30. self.horizontalLayout.setObjectName(u"horizontalLayout")
  31. self.label_3 = QLabel(DialogAbout)
  32. self.label_3.setObjectName(u"label_3")
  33. self.horizontalLayout.addWidget(self.label_3)
  34. self.horizontalSpacer = QSpacerItem(10, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
  35. self.horizontalLayout.addItem(self.horizontalSpacer)
  36. self.label_4 = QLabel(DialogAbout)
  37. self.label_4.setObjectName(u"label_4")
  38. self.label_4.setMinimumSize(QSize(400, 0))
  39. self.horizontalLayout.addWidget(self.label_4)
  40. self.verticalLayout.addLayout(self.horizontalLayout)
  41. self.verticalSpacer = QSpacerItem(20, 67, QSizePolicy.Minimum, QSizePolicy.Expanding)
  42. self.verticalLayout.addItem(self.verticalSpacer)
  43. self.label_2 = QLabel(DialogAbout)
  44. self.label_2.setObjectName(u"label_2")
  45. self.label_2.setAlignment(Qt.AlignCenter)
  46. self.verticalLayout.addWidget(self.label_2)
  47. self.retranslateUi(DialogAbout)
  48. QMetaObject.connectSlotsByName(DialogAbout)
  49. # setupUi
  50. def retranslateUi(self, DialogAbout):
  51. DialogAbout.setWindowTitle(translate('About'))
  52. self.label.setText(translate('Temporary pass'))
  53. self.version.setText(QCoreApplication.translate("DialogAbout", u"TextLabel", None))
  54. self.label_3.setText(QCoreApplication.translate("DialogAbout", u"Git:", None))
  55. self.label_4.setText(QCoreApplication.translate("DialogAbout", u"<a href=\"https://tj.kbsu.ru/AlexSidorov/propusk\">https://tj.kbsu.ru/AlexSidorov/propusk</a>", None))
  56. self.label_2.setText(QCoreApplication.translate("DialogAbout", u"@ KBSU", None))
  57. # retranslateUi