Advertisement
Guest User

Untitled

a guest
Jun 9th, 2020
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 25.87 KB | None | 0 0
  1. from PySide2.QtCore import (QCoreApplication, QDate, QDateTime, QMetaObject,
  2.     QObject, QPoint, QRect, QSize, QTime, QUrl, Qt)
  3. from PySide2.QtGui import (QBrush, QColor, QConicalGradient, QCursor, QFont,
  4.     QFontDatabase, QIcon, QKeySequence, QLinearGradient, QPalette, QPainter,
  5.     QPixmap, QRadialGradient)
  6. from PySide2.QtWidgets import *
  7.  
  8.  
  9. class Ui_Form(object):
  10.     def setupUi(self, Form):
  11.         if not Form.objectName():
  12.             Form.setObjectName(u"Form")
  13.         Form.resize(622, 447)
  14.         sizePolicy = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
  15.         sizePolicy.setHorizontalStretch(0)
  16.         sizePolicy.setVerticalStretch(0)
  17.         sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
  18.         Form.setSizePolicy(sizePolicy)
  19.         Form.setMinimumSize(QSize(622, 447))
  20.         Form.setMaximumSize(QSize(622, 447))
  21.         palette = QPalette()
  22.         brush = QBrush(QColor(255, 255, 255, 255))
  23.         brush.setStyle(Qt.SolidPattern)
  24.         palette.setBrush(QPalette.Active, QPalette.WindowText, brush)
  25.         brush1 = QBrush(QColor(65, 65, 65, 255))
  26.         brush1.setStyle(Qt.SolidPattern)
  27.         palette.setBrush(QPalette.Active, QPalette.Button, brush1)
  28.         brush2 = QBrush(QColor(57, 57, 57, 255))
  29.         brush2.setStyle(Qt.SolidPattern)
  30.         palette.setBrush(QPalette.Active, QPalette.Light, brush2)
  31.         brush3 = QBrush(QColor(47, 47, 47, 255))
  32.         brush3.setStyle(Qt.SolidPattern)
  33.         palette.setBrush(QPalette.Active, QPalette.Midlight, brush3)
  34.         brush4 = QBrush(QColor(19, 19, 19, 255))
  35.         brush4.setStyle(Qt.SolidPattern)
  36.         palette.setBrush(QPalette.Active, QPalette.Dark, brush4)
  37.         brush5 = QBrush(QColor(25, 25, 25, 255))
  38.         brush5.setStyle(Qt.SolidPattern)
  39.         palette.setBrush(QPalette.Active, QPalette.Mid, brush5)
  40.         palette.setBrush(QPalette.Active, QPalette.Text, brush)
  41.         palette.setBrush(QPalette.Active, QPalette.BrightText, brush)
  42.         palette.setBrush(QPalette.Active, QPalette.ButtonText, brush)
  43.         palette.setBrush(QPalette.Active, QPalette.Base, brush1)
  44.         palette.setBrush(QPalette.Active, QPalette.Window, brush1)
  45.         brush6 = QBrush(QColor(0, 0, 0, 255))
  46.         brush6.setStyle(Qt.SolidPattern)
  47.         palette.setBrush(QPalette.Active, QPalette.Shadow, brush6)
  48.         palette.setBrush(QPalette.Active, QPalette.AlternateBase, brush4)
  49.         brush7 = QBrush(QColor(255, 255, 220, 255))
  50.         brush7.setStyle(Qt.SolidPattern)
  51.         palette.setBrush(QPalette.Active, QPalette.ToolTipBase, brush7)
  52.         palette.setBrush(QPalette.Active, QPalette.ToolTipText, brush6)
  53.         brush8 = QBrush(QColor(255, 255, 255, 128))
  54.         brush8.setStyle(Qt.SolidPattern)
  55. #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
  56.         palette.setBrush(QPalette.Active, QPalette.PlaceholderText, brush8)
  57. #endif
  58.         palette.setBrush(QPalette.Inactive, QPalette.WindowText, brush)
  59.         palette.setBrush(QPalette.Inactive, QPalette.Button, brush1)
  60.         palette.setBrush(QPalette.Inactive, QPalette.Light, brush2)
  61.         palette.setBrush(QPalette.Inactive, QPalette.Midlight, brush3)
  62.         palette.setBrush(QPalette.Inactive, QPalette.Dark, brush4)
  63.         palette.setBrush(QPalette.Inactive, QPalette.Mid, brush5)
  64.         palette.setBrush(QPalette.Inactive, QPalette.Text, brush)
  65.         palette.setBrush(QPalette.Inactive, QPalette.BrightText, brush)
  66.         palette.setBrush(QPalette.Inactive, QPalette.ButtonText, brush)
  67.         palette.setBrush(QPalette.Inactive, QPalette.Base, brush1)
  68.         palette.setBrush(QPalette.Inactive, QPalette.Window, brush1)
  69.         palette.setBrush(QPalette.Inactive, QPalette.Shadow, brush6)
  70.         palette.setBrush(QPalette.Inactive, QPalette.AlternateBase, brush4)
  71.         palette.setBrush(QPalette.Inactive, QPalette.ToolTipBase, brush7)
  72.         palette.setBrush(QPalette.Inactive, QPalette.ToolTipText, brush6)
  73. #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
  74.         palette.setBrush(QPalette.Inactive, QPalette.PlaceholderText, brush8)
  75. #endif
  76.         palette.setBrush(QPalette.Disabled, QPalette.WindowText, brush4)
  77.         palette.setBrush(QPalette.Disabled, QPalette.Button, brush1)
  78.         palette.setBrush(QPalette.Disabled, QPalette.Light, brush2)
  79.         palette.setBrush(QPalette.Disabled, QPalette.Midlight, brush3)
  80.         palette.setBrush(QPalette.Disabled, QPalette.Dark, brush4)
  81.         palette.setBrush(QPalette.Disabled, QPalette.Mid, brush5)
  82.         palette.setBrush(QPalette.Disabled, QPalette.Text, brush4)
  83.         palette.setBrush(QPalette.Disabled, QPalette.BrightText, brush)
  84.         palette.setBrush(QPalette.Disabled, QPalette.ButtonText, brush4)
  85.         palette.setBrush(QPalette.Disabled, QPalette.Base, brush1)
  86.         palette.setBrush(QPalette.Disabled, QPalette.Window, brush1)
  87.         palette.setBrush(QPalette.Disabled, QPalette.Shadow, brush6)
  88.         brush9 = QBrush(QColor(38, 38, 38, 255))
  89.         brush9.setStyle(Qt.SolidPattern)
  90.         palette.setBrush(QPalette.Disabled, QPalette.AlternateBase, brush9)
  91.         palette.setBrush(QPalette.Disabled, QPalette.ToolTipBase, brush7)
  92.         palette.setBrush(QPalette.Disabled, QPalette.ToolTipText, brush6)
  93. #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
  94.         palette.setBrush(QPalette.Disabled, QPalette.PlaceholderText, brush8)
  95. #endif
  96.         Form.setPalette(palette)
  97.         Form.setStyleSheet(u"QLabel {\n"
  98. "   color: rgb(255, 255, 255);\n"
  99. "   border-color: rgb(30, 30, 30);\n"
  100. "   border: 2;\n"
  101. "}\n"
  102. "QWidget {\n"
  103. "   background-color: rgb(65, 65, 65);\n"
  104. "}\n"
  105. "QPushButton {\n"
  106. "   color: rgb(255, 255, 255);\n"
  107. "   background-color: rgb(54, 54, 54);\n"
  108. "}")
  109.         self.tabWidget = QTabWidget(Form)
  110.         self.tabWidget.setObjectName(u"tabWidget")
  111.         self.tabWidget.setGeometry(QRect(0, 0, 621, 451))
  112.         self.tabWidget.setStyleSheet(u"")
  113.         self.tab = QWidget()
  114.         self.tab.setObjectName(u"tab")
  115.         self.tab.setAutoFillBackground(False)
  116.         self.verticalLayoutWidget = QWidget(self.tab)
  117.         self.verticalLayoutWidget.setObjectName(u"verticalLayoutWidget")
  118.         self.verticalLayoutWidget.setGeometry(QRect(10, 20, 151, 81))
  119.         self.verticalLayout = QVBoxLayout(self.verticalLayoutWidget)
  120.         self.verticalLayout.setObjectName(u"verticalLayout")
  121.         self.verticalLayout.setContentsMargins(0, 0, 0, 0)
  122.         self.downloadCodesButton = QPushButton(self.verticalLayoutWidget)
  123.         self.downloadCodesButton.setObjectName(u"downloadCodesButton")
  124.  
  125.         self.verticalLayout.addWidget(self.downloadCodesButton)
  126.  
  127.         self.downloadProxysButton = QPushButton(self.verticalLayoutWidget)
  128.         self.downloadProxysButton.setObjectName(u"downloadProxysButton")
  129.  
  130.         self.verticalLayout.addWidget(self.downloadProxysButton)
  131.  
  132.         self.gridLayoutWidget = QWidget(self.tab)
  133.         self.gridLayoutWidget.setObjectName(u"gridLayoutWidget")
  134.         self.gridLayoutWidget.setGeometry(QRect(10, 100, 153, 91))
  135.         self.gridLayout = QGridLayout(self.gridLayoutWidget)
  136.         self.gridLayout.setObjectName(u"gridLayout")
  137.         self.gridLayout.setContentsMargins(0, 0, 0, 0)
  138.         self.chooseTypeOfProxyBox = QComboBox(self.gridLayoutWidget)
  139.         self.chooseTypeOfProxyBox.addItem("")
  140.         self.chooseTypeOfProxyBox.addItem("")
  141.         self.chooseTypeOfProxyBox.addItem("")
  142.         self.chooseTypeOfProxyBox.addItem("")
  143.         self.chooseTypeOfProxyBox.setObjectName(u"chooseTypeOfProxyBox")
  144.  
  145.         self.gridLayout.addWidget(self.chooseTypeOfProxyBox, 0, 1, 1, 1)
  146.  
  147.         self.label_3 = QLabel(self.gridLayoutWidget)
  148.         self.label_3.setObjectName(u"label_3")
  149.  
  150.         self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1)
  151.  
  152.         self.label_4 = QLabel(self.gridLayoutWidget)
  153.         self.label_4.setObjectName(u"label_4")
  154.  
  155.         self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
  156.  
  157.         self.threadsCountSpin = QSpinBox(self.gridLayoutWidget)
  158.         self.threadsCountSpin.setObjectName(u"threadsCountSpin")
  159.         self.threadsCountSpin.setMaximum(250)
  160.         self.threadsCountSpin.setValue(10)
  161.  
  162.         self.gridLayout.addWidget(self.threadsCountSpin, 1, 1, 1, 1)
  163.  
  164.         self.verticalLayoutWidget_2 = QWidget(self.tab)
  165.         self.verticalLayoutWidget_2.setObjectName(u"verticalLayoutWidget_2")
  166.         self.verticalLayoutWidget_2.setGeometry(QRect(10, 190, 151, 51))
  167.         self.verticalLayout_2 = QVBoxLayout(self.verticalLayoutWidget_2)
  168.         self.verticalLayout_2.setObjectName(u"verticalLayout_2")
  169.         self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
  170.         self.startCheckButton = QPushButton(self.verticalLayoutWidget_2)
  171.         self.startCheckButton.setObjectName(u"startCheckButton")
  172.  
  173.         self.verticalLayout_2.addWidget(self.startCheckButton)
  174.  
  175.         self.gridLayoutWidget_2 = QWidget(self.tab)
  176.         self.gridLayoutWidget_2.setObjectName(u"gridLayoutWidget_2")
  177.         self.gridLayoutWidget_2.setGeometry(QRect(10, 240, 151, 171))
  178.         self.gridLayout_2 = QGridLayout(self.gridLayoutWidget_2)
  179.         self.gridLayout_2.setObjectName(u"gridLayout_2")
  180.         self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
  181.         self.countCodesLabel = QLabel(self.gridLayoutWidget_2)
  182.         self.countCodesLabel.setObjectName(u"countCodesLabel")
  183.         self.countCodesLabel.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
  184.  
  185.         self.gridLayout_2.addWidget(self.countCodesLabel, 0, 1, 1, 1)
  186.  
  187.         self.label_15 = QLabel(self.gridLayoutWidget_2)
  188.         self.label_15.setObjectName(u"label_15")
  189.  
  190.         self.gridLayout_2.addWidget(self.label_15, 5, 0, 1, 1)
  191.  
  192.         self.label_7 = QLabel(self.gridLayoutWidget_2)
  193.         self.label_7.setObjectName(u"label_7")
  194.  
  195.         self.gridLayout_2.addWidget(self.label_7, 2, 0, 1, 1)
  196.  
  197.         self.label_8 = QLabel(self.gridLayoutWidget_2)
  198.         self.label_8.setObjectName(u"label_8")
  199.  
  200.         self.gridLayout_2.addWidget(self.label_8, 3, 0, 1, 1)
  201.  
  202.         self.label_6 = QLabel(self.gridLayoutWidget_2)
  203.         self.label_6.setObjectName(u"label_6")
  204.  
  205.         self.gridLayout_2.addWidget(self.label_6, 1, 0, 1, 1)
  206.  
  207.         self.countErrorsLabel = QLabel(self.gridLayoutWidget_2)
  208.         self.countErrorsLabel.setObjectName(u"countErrorsLabel")
  209.         self.countErrorsLabel.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
  210.  
  211.         self.gridLayout_2.addWidget(self.countErrorsLabel, 3, 1, 1, 1)
  212.  
  213.         self.label_13 = QLabel(self.gridLayoutWidget_2)
  214.         self.label_13.setObjectName(u"label_13")
  215.  
  216.         self.gridLayout_2.addWidget(self.label_13, 4, 0, 1, 1)
  217.  
  218.         self.countGoodsCodesLabel = QLabel(self.gridLayoutWidget_2)
  219.         self.countGoodsCodesLabel.setObjectName(u"countGoodsCodesLabel")
  220.         self.countGoodsCodesLabel.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
  221.  
  222.         self.gridLayout_2.addWidget(self.countGoodsCodesLabel, 4, 1, 1, 1)
  223.  
  224.         self.countProxyLabel = QLabel(self.gridLayoutWidget_2)
  225.         self.countProxyLabel.setObjectName(u"countProxyLabel")
  226.         self.countProxyLabel.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
  227.  
  228.         self.gridLayout_2.addWidget(self.countProxyLabel, 1, 1, 1, 1)
  229.  
  230.         self.countCheckedCodesLabel = QLabel(self.gridLayoutWidget_2)
  231.         self.countCheckedCodesLabel.setObjectName(u"countCheckedCodesLabel")
  232.         self.countCheckedCodesLabel.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
  233.  
  234.         self.gridLayout_2.addWidget(self.countCheckedCodesLabel, 2, 1, 1, 1)
  235.  
  236.         self.label_5 = QLabel(self.gridLayoutWidget_2)
  237.         self.label_5.setObjectName(u"label_5")
  238.  
  239.         self.gridLayout_2.addWidget(self.label_5, 0, 0, 1, 1)
  240.  
  241.         self.label_16 = QLabel(self.gridLayoutWidget_2)
  242.         self.label_16.setObjectName(u"label_16")
  243.  
  244.         self.gridLayout_2.addWidget(self.label_16, 6, 0, 1, 1)
  245.  
  246.         self.countBadCodesLabel = QLabel(self.gridLayoutWidget_2)
  247.         self.countBadCodesLabel.setObjectName(u"countBadCodesLabel")
  248.         self.countBadCodesLabel.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
  249.  
  250.         self.gridLayout_2.addWidget(self.countBadCodesLabel, 5, 1, 1, 1)
  251.  
  252.         self.countThreadsLabel = QLabel(self.gridLayoutWidget_2)
  253.         self.countThreadsLabel.setObjectName(u"countThreadsLabel")
  254.         self.countThreadsLabel.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
  255.  
  256.         self.gridLayout_2.addWidget(self.countThreadsLabel, 6, 1, 1, 1)
  257.  
  258.         self.gridLayoutWidget_3 = QWidget(self.tab)
  259.         self.gridLayoutWidget_3.setObjectName(u"gridLayoutWidget_3")
  260.         self.gridLayoutWidget_3.setGeometry(QRect(170, 20, 431, 391))
  261.         self.gridLayout_3 = QGridLayout(self.gridLayoutWidget_3)
  262.         self.gridLayout_3.setObjectName(u"gridLayout_3")
  263.         self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
  264.         self.progressBar = QProgressBar(self.gridLayoutWidget_3)
  265.         self.progressBar.setObjectName(u"progressBar")
  266.         self.progressBar.setValue(0)
  267.         self.progressBar.setTextVisible(True)
  268.         self.progressBar.setTextDirection(QProgressBar.TopToBottom)
  269.  
  270.         self.gridLayout_3.addWidget(self.progressBar, 2, 1, 1, 2)
  271.  
  272.         self.tableWidget = QTableWidget(self.gridLayoutWidget_3)
  273.         if (self.tableWidget.columnCount() < 4):
  274.             self.tableWidget.setColumnCount(4)
  275.         __qtablewidgetitem = QTableWidgetItem()
  276.         __qtablewidgetitem.setBackground(QColor(0, 0, 0));
  277.         __qtablewidgetitem.setForeground(brush6);
  278.         self.tableWidget.setHorizontalHeaderItem(0, __qtablewidgetitem)
  279.         __qtablewidgetitem1 = QTableWidgetItem()
  280.         self.tableWidget.setHorizontalHeaderItem(1, __qtablewidgetitem1)
  281.         __qtablewidgetitem2 = QTableWidgetItem()
  282.         self.tableWidget.setHorizontalHeaderItem(2, __qtablewidgetitem2)
  283.         __qtablewidgetitem3 = QTableWidgetItem()
  284.         self.tableWidget.setHorizontalHeaderItem(3, __qtablewidgetitem3)
  285.         self.tableWidget.setObjectName(u"tableWidget")
  286.         sizePolicy1 = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
  287.         sizePolicy1.setHorizontalStretch(0)
  288.         sizePolicy1.setVerticalStretch(0)
  289.         sizePolicy1.setHeightForWidth(self.tableWidget.sizePolicy().hasHeightForWidth())
  290.         self.tableWidget.setSizePolicy(sizePolicy1)
  291.         self.tableWidget.setStyleSheet(u"")
  292.         self.tableWidget.setFrameShape(QFrame.StyledPanel)
  293.         self.tableWidget.setFrameShadow(QFrame.Sunken)
  294.         self.tableWidget.setHorizontalScrollBarPolicy(Qt.ScrollBarAsNeeded)
  295.         self.tableWidget.setSizeAdjustPolicy(QAbstractScrollArea.AdjustIgnored)
  296.         self.tableWidget.setDragEnabled(False)
  297.         self.tableWidget.setShowGrid(True)
  298.         self.tableWidget.setSortingEnabled(True)
  299.         self.tableWidget.setWordWrap(True)
  300.         self.tableWidget.setCornerButtonEnabled(True)
  301.         self.tableWidget.horizontalHeader().setVisible(False)
  302.         self.tableWidget.horizontalHeader().setCascadingSectionResizes(False)
  303.         self.tableWidget.horizontalHeader().setHighlightSections(True)
  304.         self.tableWidget.horizontalHeader().setProperty("showSortIndicator", True)
  305.         self.tableWidget.horizontalHeader().setStretchLastSection(True)
  306.         self.tableWidget.verticalHeader().setVisible(False)
  307.         self.tableWidget.verticalHeader().setCascadingSectionResizes(False)
  308.         self.tableWidget.verticalHeader().setHighlightSections(True)
  309.         self.tableWidget.verticalHeader().setProperty("showSortIndicator", False)
  310.         self.tableWidget.verticalHeader().setStretchLastSection(False)
  311.  
  312.         self.gridLayout_3.addWidget(self.tableWidget, 1, 1, 1, 1)
  313.  
  314.         self.tabWidget.addTab(self.tab, "")
  315.         self.tab_2 = QWidget()
  316.         self.tab_2.setObjectName(u"tab_2")
  317.         palette1 = QPalette()
  318.         palette1.setBrush(QPalette.Active, QPalette.Button, brush1)
  319.         palette1.setBrush(QPalette.Active, QPalette.Base, brush1)
  320.         palette1.setBrush(QPalette.Active, QPalette.Window, brush1)
  321.         palette1.setBrush(QPalette.Inactive, QPalette.Button, brush1)
  322.         palette1.setBrush(QPalette.Inactive, QPalette.Base, brush1)
  323.         palette1.setBrush(QPalette.Inactive, QPalette.Window, brush1)
  324.         palette1.setBrush(QPalette.Disabled, QPalette.Button, brush1)
  325.         palette1.setBrush(QPalette.Disabled, QPalette.Base, brush1)
  326.         palette1.setBrush(QPalette.Disabled, QPalette.Window, brush1)
  327.         self.tab_2.setPalette(palette1)
  328.         self.tab_2.setStyleSheet(u"")
  329.         self.generatedCodesText = QPlainTextEdit(self.tab_2)
  330.         self.generatedCodesText.setObjectName(u"generatedCodesText")
  331.         self.generatedCodesText.setGeometry(QRect(180, 20, 421, 361))
  332.         self.generatedCodesText.setReadOnly(True)
  333.         self.verticalLayoutWidget_3 = QWidget(self.tab_2)
  334.         self.verticalLayoutWidget_3.setObjectName(u"verticalLayoutWidget_3")
  335.         self.verticalLayoutWidget_3.setGeometry(QRect(10, 10, 160, 401))
  336.         self.verticalLayout_3 = QVBoxLayout(self.verticalLayoutWidget_3)
  337.         self.verticalLayout_3.setObjectName(u"verticalLayout_3")
  338.         self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
  339.         self.gridLayout_4 = QGridLayout()
  340.         self.gridLayout_4.setObjectName(u"gridLayout_4")
  341.         self.label = QLabel(self.verticalLayoutWidget_3)
  342.         self.label.setObjectName(u"label")
  343.  
  344.         self.gridLayout_4.addWidget(self.label, 3, 0, 1, 1)
  345.  
  346.         self.startGenerateButton = QPushButton(self.verticalLayoutWidget_3)
  347.         self.startGenerateButton.setObjectName(u"startGenerateButton")
  348.         font = QFont()
  349.         font.setPointSize(10)
  350.         self.startGenerateButton.setFont(font)
  351.  
  352.         self.gridLayout_4.addWidget(self.startGenerateButton, 5, 0, 1, 2)
  353.  
  354.         self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
  355.  
  356.         self.gridLayout_4.addItem(self.verticalSpacer_2, 0, 0, 1, 2)
  357.  
  358.         self.countCodesSpin = QSpinBox(self.verticalLayoutWidget_3)
  359.         self.countCodesSpin.setObjectName(u"countCodesSpin")
  360.         self.countCodesSpin.setMaximum(100000)
  361.  
  362.         self.gridLayout_4.addWidget(self.countCodesSpin, 3, 1, 1, 1)
  363.  
  364.         self.label_2 = QLabel(self.verticalLayoutWidget_3)
  365.         self.label_2.setObjectName(u"label_2")
  366.         font1 = QFont()
  367.         font1.setFamily(u"Stencil Std")
  368.         font1.setPointSize(18)
  369.         font1.setBold(True)
  370.         font1.setWeight(75)
  371.         self.label_2.setFont(font1)
  372.         self.label_2.setTabletTracking(False)
  373.         self.label_2.setAcceptDrops(False)
  374.         self.label_2.setLayoutDirection(Qt.LeftToRight)
  375.         self.label_2.setAutoFillBackground(False)
  376.         self.label_2.setStyleSheet(u"")
  377.         self.label_2.setTextFormat(Qt.AutoText)
  378.         self.label_2.setScaledContents(True)
  379.         self.label_2.setAlignment(Qt.AlignCenter)
  380.         self.label_2.setWordWrap(False)
  381.  
  382.         self.gridLayout_4.addWidget(self.label_2, 1, 0, 1, 2)
  383.  
  384.         self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding)
  385.  
  386.         self.gridLayout_4.addItem(self.verticalSpacer, 7, 0, 1, 2)
  387.  
  388.         self.line = QFrame(self.verticalLayoutWidget_3)
  389.         self.line.setObjectName(u"line")
  390.         self.line.setFrameShape(QFrame.HLine)
  391.         self.line.setFrameShadow(QFrame.Sunken)
  392.  
  393.         self.gridLayout_4.addWidget(self.line, 2, 0, 1, 2)
  394.  
  395.         self.progressCodesGenerationLabel = QLabel(self.verticalLayoutWidget_3)
  396.         self.progressCodesGenerationLabel.setObjectName(u"progressCodesGenerationLabel")
  397.         self.progressCodesGenerationLabel.setAlignment(Qt.AlignCenter)
  398.  
  399.         self.gridLayout_4.addWidget(self.progressCodesGenerationLabel, 6, 0, 1, 2)
  400.  
  401.  
  402.         self.verticalLayout_3.addLayout(self.gridLayout_4)
  403.  
  404.         self.copyCodesButton = QPushButton(self.verticalLayoutWidget_3)
  405.         self.copyCodesButton.setObjectName(u"copyCodesButton")
  406.  
  407.         self.verticalLayout_3.addWidget(self.copyCodesButton)
  408.  
  409.         self.saveCodesInFileButton = QPushButton(self.verticalLayoutWidget_3)
  410.         self.saveCodesInFileButton.setObjectName(u"saveCodesInFileButton")
  411.  
  412.         self.verticalLayout_3.addWidget(self.saveCodesInFileButton)
  413.  
  414.         self.generateCodesProgressBar = QProgressBar(self.tab_2)
  415.         self.generateCodesProgressBar.setObjectName(u"generateCodesProgressBar")
  416.         self.generateCodesProgressBar.setGeometry(QRect(180, 390, 431, 21))
  417.         self.generateCodesProgressBar.setValue(0)
  418.         self.generateCodesProgressBar.setTextVisible(True)
  419.         self.generateCodesProgressBar.setTextDirection(QProgressBar.TopToBottom)
  420.         self.tabWidget.addTab(self.tab_2, "")
  421.         self.tab_3 = QWidget()
  422.         self.tab_3.setObjectName(u"tab_3")
  423.         self.tabWidget.addTab(self.tab_3, "")
  424.  
  425.         self.retranslateUi(Form)
  426.  
  427.         self.tabWidget.setCurrentIndex(1)
  428.  
  429.  
  430.         QMetaObject.connectSlotsByName(Form)
  431.     # setupUi
  432.  
  433.     def retranslateUi(self, Form):
  434.         Form.setWindowTitle(QCoreApplication.translate("Form", u"WarGen by Shitrya", None))
  435.         self.downloadCodesButton.setText(QCoreApplication.translate("Form", u"\u041f\u0438\u043d-\u043a\u043e\u0434\u044b", None))
  436.         self.downloadProxysButton.setText(QCoreApplication.translate("Form", u"\u041f\u0440\u043e\u043a\u0441\u0438", None))
  437.         self.chooseTypeOfProxyBox.setItemText(0, QCoreApplication.translate("Form", u"\u0411\u0435\u0437 \u043f\u0440\u043e\u043a\u0441\u0438", None))
  438.         self.chooseTypeOfProxyBox.setItemText(1, QCoreApplication.translate("Form", u"Http(s)", None))
  439.         self.chooseTypeOfProxyBox.setItemText(2, QCoreApplication.translate("Form", u"Socks4", None))
  440.         self.chooseTypeOfProxyBox.setItemText(3, QCoreApplication.translate("Form", u"Socks5", None))
  441.  
  442.         self.label_3.setText(QCoreApplication.translate("Form", u"\u0422\u0438\u043f \u043f\u0440\u043e\u043a\u0441\u0438:", None))
  443.         self.label_4.setText(QCoreApplication.translate("Form", u"\u041f\u043e\u0442\u043e\u043a\u0438:", None))
  444.         self.startCheckButton.setText(QCoreApplication.translate("Form", u"\u0421\u0442\u0430\u0440\u0442", None))
  445.         self.countCodesLabel.setText(QCoreApplication.translate("Form", u"<html><head/><body><p align=\"right\">0</p></body></html>", None))
  446.         self.label_15.setText(QCoreApplication.translate("Form", u"\u041f\u043b\u043e\u0445\u0438\u0445:", None))
  447.         self.label_7.setText(QCoreApplication.translate("Form", u"\u041f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e:", None))
  448.         self.label_8.setText(QCoreApplication.translate("Form", u"\u041e\u0448\u0438\u0431\u043e\u043a:", None))
  449.         self.label_6.setText(QCoreApplication.translate("Form", u"\u041f\u0440\u043e\u043a\u0441\u0438:", None))
  450.         self.countErrorsLabel.setText(QCoreApplication.translate("Form", u"<html><head/><body><p align=\"right\">0</p></body></html>", None))
  451.         self.label_13.setText(QCoreApplication.translate("Form", u"\u0425\u043e\u0440\u043e\u0448\u0438\u0445:", None))
  452.         self.countGoodsCodesLabel.setText(QCoreApplication.translate("Form", u"<html><head/><body><p align=\"right\">0</p></body></html>", None))
  453.         self.countProxyLabel.setText(QCoreApplication.translate("Form", u"<html><head/><body><p align=\"right\">0</p></body></html>", None))
  454.         self.countCheckedCodesLabel.setText(QCoreApplication.translate("Form", u"<html><head/><body><p align=\"right\">0</p></body></html>", None))
  455.         self.label_5.setText(QCoreApplication.translate("Form", u"\u041f\u0438\u043d-\u043a\u043e\u0434\u044b:", None))
  456.         self.label_16.setText(QCoreApplication.translate("Form", u"\u041f\u043e\u0442\u043e\u043a\u043e\u0432:", None))
  457.         self.countBadCodesLabel.setText(QCoreApplication.translate("Form", u"<html><head/><body><p align=\"right\">0</p></body></html>", None))
  458.         self.countThreadsLabel.setText(QCoreApplication.translate("Form", u"<html><head/><body><p align=\"right\">0</p></body></html>", None))
  459.         ___qtablewidgetitem = self.tableWidget.horizontalHeaderItem(0)
  460.         ___qtablewidgetitem.setText(QCoreApplication.translate("Form", u"\u041f\u0438\u043d-\u043a\u043e\u0434", None));
  461.         ___qtablewidgetitem1 = self.tableWidget.horizontalHeaderItem(1)
  462.         ___qtablewidgetitem1.setText(QCoreApplication.translate("Form", u"\u0421\u0442\u0430\u0442\u0443\u0441", None));
  463.         ___qtablewidgetitem2 = self.tableWidget.horizontalHeaderItem(2)
  464.         ___qtablewidgetitem2.setText(QCoreApplication.translate("Form", u"\u041f\u0440\u0435\u0434\u043c\u0435\u0442", None));
  465.         ___qtablewidgetitem3 = self.tableWidget.horizontalHeaderItem(3)
  466.         ___qtablewidgetitem3.setText(QCoreApplication.translate("Form", u"\u0421\u0440\u043e\u043a", None));
  467. #if QT_CONFIG(tooltip)
  468.         self.tableWidget.setToolTip(QCoreApplication.translate("Form", u"<html><head/><body><p align=\"center\"><br/></p></body></html>", None))
  469. #endif // QT_CONFIG(tooltip)
  470.         self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QCoreApplication.translate("Form", u"\u0412\u0430\u043b\u0438\u0434\u0430\u0442\u043e\u0440", None))
  471.         self.label.setText(QCoreApplication.translate("Form", u"\u041a\u043e\u043b-\u0432\u043e:", None))
  472.         self.startGenerateButton.setText(QCoreApplication.translate("Form", u"\u0421\u0442\u0430\u0440\u0442", None))
  473.         self.label_2.setText(QCoreApplication.translate("Form", u"\u0413\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440", None))
  474.         self.progressCodesGenerationLabel.setText("")
  475.         self.copyCodesButton.setText(QCoreApplication.translate("Form", u"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c", None))
  476.         self.saveCodesInFileButton.setText(QCoreApplication.translate("Form", u"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u0444\u0430\u0439\u043b", None))
  477.         self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QCoreApplication.translate("Form", u"\u0413\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440", None))
  478.         self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QCoreApplication.translate("Form", u"\u041e\u0431 \u0430\u0432\u0442\u043e\u0440\u0435", None))
  479.     # retranslateUi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement