-
Notifications
You must be signed in to change notification settings - Fork 0
/
clientui.py
54 lines (48 loc) · 2.4 KB
/
clientui.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'messenger.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(429, 491)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.label = QtWidgets.QLabel(self.centralwidget)
self.label.setGeometry(QtCore.QRect(120, 20, 201, 31))
font = QtGui.QFont()
font.setPointSize(24)
self.label.setFont(font)
self.label.setObjectName("label")
self.name = QtWidgets.QLineEdit(self.centralwidget)
self.name.setGeometry(QtCore.QRect(70, 70, 331, 21))
self.name.setObjectName("name")
self.label_2 = QtWidgets.QLabel(self.centralwidget)
self.label_2.setGeometry(QtCore.QRect(30, 70, 31, 16))
self.label_2.setObjectName("label_2")
self.messages = QtWidgets.QTextBrowser(self.centralwidget)
self.messages.setGeometry(QtCore.QRect(30, 110, 371, 291))
self.messages.setObjectName("messages")
self.text = QtWidgets.QTextEdit(self.centralwidget)
self.text.setGeometry(QtCore.QRect(30, 420, 311, 31))
self.text.setObjectName("text")
self.send = QtWidgets.QPushButton(self.centralwidget)
self.send.setGeometry(QtCore.QRect(350, 420, 51, 32))
self.send.setObjectName("send")
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.label.setText(_translate("MainWindow", "Skillbox Messenger"))
self.name.setPlaceholderText(_translate("MainWindow", "Введите имя"))
self.label_2.setText(_translate("MainWindow", "Имя:"))
self.text.setPlaceholderText(_translate("MainWindow", "Введите текст"))
self.send.setText(_translate("MainWindow", ">"))