|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | + |
| 3 | +# Form implementation generated from reading ui file '.\project.ui' |
| 4 | +# |
| 5 | +# Created by: PyQt5 UI code generator 5.15.4 |
| 6 | +# |
| 7 | +# WARNING: Any manual changes made to this file will be lost when pyuic5 is |
| 8 | +# run again. Do not edit this file unless you know what you are doing. |
| 9 | + |
| 10 | + |
| 11 | +from PyQt5 import QtCore, QtGui, QtWidgets |
| 12 | + |
| 13 | + |
| 14 | +class Ui_MainWindow(object): |
| 15 | + def setupUi(self, MainWindow): |
| 16 | + MainWindow.setObjectName("MainWindow") |
| 17 | + MainWindow.resize(768, 579) |
| 18 | + self.centralwidget = QtWidgets.QWidget(MainWindow) |
| 19 | + self.centralwidget.setObjectName("centralwidget") |
| 20 | + self.comboBox = QtWidgets.QComboBox(self.centralwidget) |
| 21 | + self.comboBox.setGeometry(QtCore.QRect(220, 170, 271, 61)) |
| 22 | + font = QtGui.QFont() |
| 23 | + font.setPointSize(14) |
| 24 | + self.comboBox.setFont(font) |
| 25 | + self.comboBox.setObjectName("comboBox") |
| 26 | + self.label = QtWidgets.QLabel(self.centralwidget) |
| 27 | + self.label.setGeometry(QtCore.QRect(230, 90, 251, 51)) |
| 28 | + font = QtGui.QFont() |
| 29 | + font.setPointSize(18) |
| 30 | + self.label.setFont(font) |
| 31 | + self.label.setObjectName("label") |
| 32 | + MainWindow.setCentralWidget(self.centralwidget) |
| 33 | + self.menubar = QtWidgets.QMenuBar(MainWindow) |
| 34 | + self.menubar.setGeometry(QtCore.QRect(0, 0, 768, 23)) |
| 35 | + self.menubar.setObjectName("menubar") |
| 36 | + MainWindow.setMenuBar(self.menubar) |
| 37 | + self.statusbar = QtWidgets.QStatusBar(MainWindow) |
| 38 | + self.statusbar.setObjectName("statusbar") |
| 39 | + MainWindow.setStatusBar(self.statusbar) |
| 40 | + |
| 41 | + self.retranslateUi(MainWindow) |
| 42 | + QtCore.QMetaObject.connectSlotsByName(MainWindow) |
| 43 | + |
| 44 | + def retranslateUi(self, MainWindow): |
| 45 | + _translate = QtCore.QCoreApplication.translate |
| 46 | + MainWindow.setWindowTitle(_translate("MainWindow", "QComboBox示例")) |
| 47 | + self.label.setText(_translate("MainWindow", "你最喜欢的编程语言是")) |
0 commit comments