clientui.py 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. # Form implementation generated from reading ui file 'interface.ui'
  2. #
  3. # Created by: PyQt6 UI code generator 6.0.3
  4. #
  5. # WARNING: Any manual changes made to this file will be lost when pyuic6 is
  6. # run again. Do not edit this file unless you know what you are doing.
  7. # Забей, этот код описывает интерфейс основной проги
  8. from PyQt6 import QtCore, QtGui, QtWidgets
  9. class Ui_MainWindow(object):
  10. def setupUi(self, MainWindow):
  11. MainWindow.setObjectName("MainWindow")
  12. MainWindow.resize(485, 527)
  13. font = QtGui.QFont()
  14. font.setItalic(False)
  15. font.setStrikeOut(False)
  16. MainWindow.setFont(font)
  17. MainWindow.setFocusPolicy(QtCore.Qt.FocusPolicy.TabFocus)
  18. MainWindow.setContextMenuPolicy(QtCore.Qt.ContextMenuPolicy.PreventContextMenu)
  19. MainWindow.setStyleSheet("background-color: rgb(42, 55, 127);\n"
  20. "color: rgb(255, 255, 255);\n"
  21. "")
  22. self.centralwidget = QtWidgets.QWidget(MainWindow)
  23. self.centralwidget.setObjectName("centralwidget")
  24. self.runPassport = QtWidgets.QPushButton(self.centralwidget)
  25. self.runPassport.setGeometry(QtCore.QRect(40, 400, 131, 61))
  26. font = QtGui.QFont()
  27. font.setFamily("Calibri")
  28. font.setPointSize(14)
  29. font.setBold(True)
  30. font.setWeight(75)
  31. self.runPassport.setFont(font)
  32. self.runPassport.setStyleSheet("background-color: rgb(255, 255, 255);\n"
  33. "color: rgb(0, 0, 0);")
  34. self.runPassport.setObjectName("runPassport")
  35. self.dateEdit = QtWidgets.QDateEdit(self.centralwidget)
  36. self.dateEdit.setGeometry(QtCore.QRect(40, 191, 131, 31))
  37. font = QtGui.QFont()
  38. font.setPointSize(10)
  39. self.dateEdit.setFont(font)
  40. self.dateEdit.setStyleSheet("background-color: rgb(255, 255, 255);\n"
  41. "color: rgb(0, 0, 0);")
  42. self.dateEdit.setObjectName("dateEdit")
  43. self.dateEdit_2 = QtWidgets.QDateEdit(self.centralwidget)
  44. self.dateEdit_2.setGeometry(QtCore.QRect(40, 240, 131, 31))
  45. font = QtGui.QFont()
  46. font.setPointSize(10)
  47. self.dateEdit_2.setFont(font)
  48. self.dateEdit_2.setStyleSheet("color: rgb(0, 0, 0);\n"
  49. "background-color: rgb(255, 255, 255);")
  50. self.dateEdit_2.setObjectName("dateEdit_2")
  51. self.label = QtWidgets.QLabel(self.centralwidget)
  52. self.label.setGeometry(QtCore.QRect(30, 20, 321, 41))
  53. font = QtGui.QFont()
  54. font.setFamily("Calibri")
  55. font.setPointSize(19)
  56. font.setBold(True)
  57. font.setWeight(75)
  58. self.label.setFont(font)
  59. self.label.setAutoFillBackground(False)
  60. self.label.setScaledContents(True)
  61. self.label.setObjectName("label")
  62. self.line = QtWidgets.QFrame(self.centralwidget)
  63. self.line.setGeometry(QtCore.QRect(40, 220, 131, 20))
  64. self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
  65. self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
  66. self.line.setObjectName("line")
  67. self.label_4 = QtWidgets.QLabel(self.centralwidget)
  68. self.label_4.setGeometry(QtCore.QRect(40, 150, 161, 31))
  69. font = QtGui.QFont()
  70. font.setFamily("Calibri")
  71. font.setPointSize(13)
  72. font.setBold(True)
  73. font.setItalic(False)
  74. font.setWeight(75)
  75. self.label_4.setFont(font)
  76. self.label_4.setObjectName("label_4")
  77. self.openDirectory = QtWidgets.QPushButton(self.centralwidget)
  78. self.openDirectory.setGeometry(QtCore.QRect(290, 360, 181, 61))
  79. font = QtGui.QFont()
  80. font.setFamily("Calibri")
  81. font.setPointSize(13)
  82. font.setBold(True)
  83. font.setWeight(75)
  84. font.setStrikeOut(False)
  85. font.setStyleStrategy(QtGui.QFont.StyleStrategy.NoAntialias)
  86. self.openDirectory.setFont(font)
  87. self.openDirectory.setContextMenuPolicy(QtCore.Qt.ContextMenuPolicy.ActionsContextMenu)
  88. self.openDirectory.setAutoFillBackground(False)
  89. self.openDirectory.setStyleSheet("background-color: rgb(255, 255, 255);\n"
  90. "color: rgb(0, 0, 0);")
  91. self.openDirectory.setAutoExclusive(True)
  92. self.openDirectory.setObjectName("openDirectory")
  93. self.runSevend = QtWidgets.QPushButton(self.centralwidget)
  94. self.runSevend.setGeometry(QtCore.QRect(40, 320, 131, 61))
  95. font = QtGui.QFont()
  96. font.setFamily("Calibri")
  97. font.setPointSize(14)
  98. font.setBold(True)
  99. font.setWeight(75)
  100. self.runSevend.setFont(font)
  101. self.runSevend.setStyleSheet("background-color: rgb(255, 255, 255);\n"
  102. "color: rgb(0, 0, 0);")
  103. self.runSevend.setObjectName("runSevend")
  104. self.openFileDirectory = QtWidgets.QPushButton(self.centralwidget)
  105. self.openFileDirectory.setGeometry(QtCore.QRect(290, 200, 181, 61))
  106. font = QtGui.QFont()
  107. font.setFamily("Calibri")
  108. font.setPointSize(13)
  109. font.setBold(True)
  110. font.setWeight(75)
  111. font.setStrikeOut(False)
  112. font.setStyleStrategy(QtGui.QFont.StyleStrategy.NoAntialias)
  113. self.openFileDirectory.setFont(font)
  114. self.openFileDirectory.setContextMenuPolicy(QtCore.Qt.ContextMenuPolicy.ActionsContextMenu)
  115. self.openFileDirectory.setAutoFillBackground(False)
  116. self.openFileDirectory.setStyleSheet("background-color: rgb(255, 255, 255);\n"
  117. "color: rgb(0, 0, 0);")
  118. self.openFileDirectory.setAutoExclusive(True)
  119. self.openFileDirectory.setObjectName("openFileDirectory")
  120. MainWindow.setCentralWidget(self.centralwidget)
  121. self.statusbar = QtWidgets.QStatusBar(MainWindow)
  122. self.statusbar.setObjectName("statusbar")
  123. MainWindow.setStatusBar(self.statusbar)
  124. self.retranslateUi(MainWindow)
  125. QtCore.QMetaObject.connectSlotsByName(MainWindow)
  126. def retranslateUi(self, MainWindow):
  127. _translate = QtCore.QCoreApplication.translate
  128. MainWindow.setWindowTitle(_translate("MainWindow", "Passport PRISMA"))
  129. self.runPassport.setText(_translate("MainWindow", "Run \n"
  130. " Passport"))
  131. self.label.setText(_translate("MainWindow", "<html><head/><body><p>Паспорт PRISMA-32</p></body></html>"))
  132. self.label_4.setText(_translate("MainWindow", "Выберите дату:"))
  133. self.openDirectory.setText(_translate("MainWindow", "Папка \n"
  134. " сохранения"))
  135. self.runSevend.setText(_translate("MainWindow", "Run 7d"))
  136. self.openFileDirectory.setText(_translate("MainWindow", "Папка \n"
  137. " файлов PRISMA"))