-
Notifications
You must be signed in to change notification settings - Fork 0
/
-ui_file4.py
119 lines (112 loc) · 6.09 KB
/
-ui_file4.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'information_pc.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_information(object):
def setupUi(self, information):
information.setObjectName("information")
information.resize(640, 480)
information.setMinimumSize(QtCore.QSize(640, 480))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
information.setWindowIcon(icon)
information.setStyleSheet("font: 8pt \"Consolas\";")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(information)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.tabWidget = QtWidgets.QTabWidget(information)
self.tabWidget.setObjectName("tabWidget")
self.tab = QtWidgets.QWidget()
self.tab.setObjectName("tab")
self.gridLayout_2 = QtWidgets.QGridLayout(self.tab)
self.gridLayout_2.setObjectName("gridLayout_2")
self.treeWidget = QtWidgets.QTreeWidget(self.tab)
self.treeWidget.setObjectName("treeWidget")
self.gridLayout_2.addWidget(self.treeWidget, 0, 0, 1, 1)
self.tabWidget.addTab(self.tab, "")
self.tab_2 = QtWidgets.QWidget()
self.tab_2.setObjectName("tab_2")
self.verticalLayout = QtWidgets.QVBoxLayout(self.tab_2)
self.verticalLayout.setObjectName("verticalLayout")
self.textEdit = QtWidgets.QTextEdit(self.tab_2)
self.textEdit.setReadOnly(True)
self.textEdit.setObjectName("textEdit")
self.verticalLayout.addWidget(self.textEdit)
self.tabWidget.addTab(self.tab_2, "")
self.tab_6 = QtWidgets.QWidget()
self.tab_6.setObjectName("tab_6")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.tab_6)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.textEdit_7 = QtWidgets.QTextEdit(self.tab_6)
self.textEdit_7.setReadOnly(True)
self.textEdit_7.setObjectName("textEdit_7")
self.horizontalLayout_3.addWidget(self.textEdit_7)
self.tabWidget.addTab(self.tab_6, "")
self.tab_3 = QtWidgets.QWidget()
self.tab_3.setObjectName("tab_3")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.tab_3)
self.horizontalLayout.setObjectName("horizontalLayout")
self.textEdit_2 = QtWidgets.QTextEdit(self.tab_3)
self.textEdit_2.setReadOnly(True)
self.textEdit_2.setObjectName("textEdit_2")
self.horizontalLayout.addWidget(self.textEdit_2)
self.tabWidget.addTab(self.tab_3, "")
self.tab_4 = QtWidgets.QWidget()
self.tab_4.setObjectName("tab_4")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.tab_4)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.textEdit_3 = QtWidgets.QTextEdit(self.tab_4)
self.textEdit_3.setReadOnly(True)
self.textEdit_3.setObjectName("textEdit_3")
self.horizontalLayout_2.addWidget(self.textEdit_3)
self.tabWidget.addTab(self.tab_4, "")
self.tab_8 = QtWidgets.QWidget()
self.tab_8.setObjectName("tab_8")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tab_8)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.textEdit_5 = QtWidgets.QTextEdit(self.tab_8)
self.textEdit_5.setReadOnly(True)
self.textEdit_5.setObjectName("textEdit_5")
self.verticalLayout_3.addWidget(self.textEdit_5)
self.tabWidget.addTab(self.tab_8, "")
self.tab_5 = QtWidgets.QWidget()
self.tab_5.setObjectName("tab_5")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.tab_5)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.textEdit_4 = QtWidgets.QTextEdit(self.tab_5)
self.textEdit_4.setReadOnly(True)
self.textEdit_4.setObjectName("textEdit_4")
self.horizontalLayout_4.addWidget(self.textEdit_4)
self.tabWidget.addTab(self.tab_5, "")
self.tab_9 = QtWidgets.QWidget()
self.tab_9.setObjectName("tab_9")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.tab_9)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.textEdit_6 = QtWidgets.QTextEdit(self.tab_9)
self.textEdit_6.setReadOnly(True)
self.textEdit_6.setObjectName("textEdit_6")
self.verticalLayout_4.addWidget(self.textEdit_6)
self.tabWidget.addTab(self.tab_9, "")
self.verticalLayout_2.addWidget(self.tabWidget)
self.error = QtWidgets.QLabel(information)
self.error.setText("")
self.error.setObjectName("error")
self.verticalLayout_2.addWidget(self.error)
self.retranslateUi(information)
self.tabWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(information)
def retranslateUi(self, information):
_translate = QtCore.QCoreApplication.translate
information.setWindowTitle(_translate("information", "Информация о ПК"))
self.treeWidget.headerItem().setText(0, _translate("information", "Имя"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("information", "Пользователи"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("information", "HDD"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), _translate("information", "Разделы"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("information", "OS"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("information", "CPU"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_8), _translate("information", "RAM"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("information", "Видеокарты"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), _translate("information", "Сеть"))