-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dialog_add.py
49 lines (42 loc) · 2.08 KB
/
Dialog_add.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'Dialog_add.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(275, 175)
Dialog.setMinimumSize(QtCore.QSize(275, 175))
Dialog.setMaximumSize(QtCore.QSize(275, 175))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("image/myicon_1.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Dialog.setWindowIcon(icon)
Dialog.setStyleSheet("background-color: rgb(255, 255, 255);")
self.label = QtWidgets.QLabel(Dialog)
self.label.setGeometry(QtCore.QRect(10, 40, 54, 21))
self.label.setObjectName("label")
self.lineEdit = QtWidgets.QLineEdit(Dialog)
self.lineEdit.setGeometry(QtCore.QRect(70, 40, 181, 21))
self.lineEdit.setObjectName("lineEdit")
#self.label_2 = QtWidgets.QLabel(Dialog)
#self.label_2.setGeometry(QtCore.QRect(30, 100, 60, 20))
#self.label_2.setObjectName("label_2")
#self.radioButton = QtWidgets.QRadioButton(Dialog)
#self.radioButton.setGeometry(QtCore.QRect(90, 100, 90, 20))
#self.radioButton.setObjectName("radioButton")
self.pushButton = QtWidgets.QPushButton(Dialog)
self.pushButton.setGeometry(QtCore.QRect(140, 140, 81, 23))
self.pushButton.setStyleSheet("background-color:rgb(170, 0, 0);")
self.pushButton.setObjectName("pushButton")
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "添加好友"))
self.label.setText(_translate("Dialog", "好友名字:"))
#self.label_2.setText(_translate("Dialog", "头像:"))
#self.radioButton.setText(_translate("Dialog", "默认"))
self.pushButton.setText(_translate("Dialog", "确定"))