Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3648152
  • 博文数量: 365
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2522
  • 用 户 组: 普通用户
  • 注册时间: 2019-10-28 13:40
文章分类

全部博文(365)

文章存档

2023年(8)

2022年(130)

2021年(155)

2020年(50)

2019年(22)

我的朋友

分类: Python/Ruby

2022-12-27 16:30:26

# -*- coding: utf-8 -*-

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_MainWindow(object):

    def setupUi(self, MainWindow):

        MainWindow.setObjectName("MainWindow")

        MainWindow.resize(800, 600)

        self.centralwidget = QtWidgets.QWidget(MainWindow)

        self.centralwidget.setObjectName("centralwidget")

        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.centralwidget)

        self.verticalLayout_3.setObjectName("verticalLayout_3")

        self.verticalLayout_2 = QtWidgets.QVBoxLayout()

        self.verticalLayout_2.setObjectName("verticalLayout_2")

        self.horizontalLayout = QtWidgets.QHBoxLayout()

        self.horizontalLayout.setContentsMargins(-1, 10, -1, 10)

        self.horizontalLayout.setObjectName("horizontalLayout")

        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)

        self.horizontalLayout.addItem(spacerItem)

        self.label = QtWidgets.QLabel(self.centralwidget)

        self.label.setObjectName("label")

        self.horizontalLayout.addWidget(self.label)

        self.comboBox = QtWidgets.QComboBox(self.centralwidget)

        self.comboBox.setEnabled(False)

        self.comboBox.setObjectName("comboBox")

        self.comboBox.addItem("")

        self.comboBox.addItem("")

        self.comboBox.addItem("")

        self.comboBox.addItem("")

        self.comboBox.addItem("")

        self.comboBox.addItem("")

        self.comboBox.addItem("")

        self.comboBox.addItem("")

        self.comboBox.addItem("")

        self.comboBox.addItem("")

        self.comboBox.addItem("")

        self.comboBox.addItem("")

        self.horizontalLayout.addWidget(self.comboBox)

        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)

        self.horizontalLayout.addItem(spacerItem1)

        self.verticalLayout_2.addLayout(self.horizontalLayout)

        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()

        self.horizontalLayout_2.setObjectName("horizontalLayout_2")

        self.frame = QtWidgets.QFrame(self.centralwidget)

        self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)

        self.frame.setFrameShadow(QtWidgets.QFrame.Raised)

        self.frame.setObjectName("frame")

        self.horizontalLayout_2.addWidget(self.frame)

        self.verticalLayout_2.addLayout(self.horizontalLayout_2)

        self.verticalLayout_2.setStretch(0, 1)

        self.verticalLayout_2.setStretch(1, 20)

        self.verticalLayout_3.addLayout(self.verticalLayout_2)

        MainWindow.setCentralWidget(self.centralwidget)

        self.menubar =外汇跟单gendan5.com QtWidgets.QMenuBar(MainWindow)

        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 26))

        self.menubar.setObjectName("menubar")

        MainWindow.setMenuBar(self.menubar)

        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", "疫情情况快速查询"))

        self.label.setText(_translate("MainWindow", "引擎选择:"))

        self.comboBox.setItemText(0, _translate("MainWindow", "百度"))

        self.comboBox.setItemText(1, _translate("MainWindow", "新浪"))

        self.comboBox.setItemText(2, _translate("MainWindow", "网易"))

        self.comboBox.setItemText(3, _translate("MainWindow", "腾讯"))

        self.comboBox.setItemText(4, _translate("MainWindow", "搜狗"))

        self.comboBox.setItemText(5, _translate("MainWindow", "凤凰"))

        self.comboBox.setItemText(6, _translate("MainWindow", "猕尔"))

        self.comboBox.setItemText(7, _translate("MainWindow", "360"))

        self.comboBox.setItemText(8, _translate("MainWindow", "丁香园"))

        self.comboBox.setItemText(9, _translate("MainWindow", "华尔街"))

        self.comboBox.setItemText(10, _translate("MainWindow", "今日头条"))

        self.comboBox.setItemText(11, _translate("MainWindow", "美国中文网"))

阅读(764) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~