You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
119 lines
5.5 KiB
119 lines
5.5 KiB
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'UI_Novel.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.15.4
|
|
#
|
|
# 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
|
|
from PyQt5.QtWidgets import QApplication
|
|
import sys
|
|
|
|
class Ui_MainWindow(object):
|
|
def setupUi(self, MainWindow):
|
|
MainWindow.setObjectName("MainWindow")
|
|
MainWindow.resize(1116, 643)
|
|
MainWindow.setMinimumSize(QtCore.QSize(1116, 643))
|
|
MainWindow.setMaximumSize(QtCore.QSize(1116, 643))
|
|
font = QtGui.QFont()
|
|
font.setPointSize(10)
|
|
font.setBold(False)
|
|
font.setWeight(50)
|
|
MainWindow.setFont(font)
|
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
|
self.centralwidget.setObjectName("centralwidget")
|
|
self.label_3 = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_3.setGeometry(QtCore.QRect(51, 378, 999, 16))
|
|
self.label_3.setText("")
|
|
self.label_3.setObjectName("label_3")
|
|
self.tableWidget = QtWidgets.QTableWidget(self.centralwidget)
|
|
self.tableWidget.setGeometry(QtCore.QRect(60, 110, 1001, 341))
|
|
self.tableWidget.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
|
|
self.tableWidget.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
|
|
self.tableWidget.setIconSize(QtCore.QSize(0, 0))
|
|
self.tableWidget.setObjectName("tableWidget")
|
|
self.tableWidget.setColumnCount(6)
|
|
self.tableWidget.setRowCount(0)
|
|
item = QtWidgets.QTableWidgetItem()
|
|
self.tableWidget.setHorizontalHeaderItem(0, item)
|
|
item = QtWidgets.QTableWidgetItem()
|
|
self.tableWidget.setHorizontalHeaderItem(1, item)
|
|
item = QtWidgets.QTableWidgetItem()
|
|
self.tableWidget.setHorizontalHeaderItem(2, item)
|
|
item = QtWidgets.QTableWidgetItem()
|
|
self.tableWidget.setHorizontalHeaderItem(3, item)
|
|
item = QtWidgets.QTableWidgetItem()
|
|
self.tableWidget.setHorizontalHeaderItem(4, item)
|
|
item = QtWidgets.QTableWidgetItem()
|
|
self.tableWidget.setHorizontalHeaderItem(5, item)
|
|
self.label_2 = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_2.setGeometry(QtCore.QRect(60, 50, 51, 31))
|
|
font = QtGui.QFont()
|
|
font.setPointSize(12)
|
|
font.setBold(False)
|
|
font.setWeight(50)
|
|
self.label_2.setFont(font)
|
|
self.label_2.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.label_2.setObjectName("label_2")
|
|
self.comboBox = QtWidgets.QComboBox(self.centralwidget)
|
|
self.comboBox.setGeometry(QtCore.QRect(133, 50, 371, 31))
|
|
self.comboBox.setObjectName("comboBox")
|
|
self.comboBox.addItem("")
|
|
self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
|
|
self.lineEdit.setGeometry(QtCore.QRect(540, 50, 391, 31))
|
|
font = QtGui.QFont()
|
|
font.setPointSize(11)
|
|
font.setBold(False)
|
|
font.setWeight(50)
|
|
self.lineEdit.setFont(font)
|
|
self.lineEdit.setText("")
|
|
self.lineEdit.setObjectName("lineEdit")
|
|
self.bnt_search = QtWidgets.QPushButton(self.centralwidget)
|
|
self.bnt_search.setGeometry(QtCore.QRect(940, 50, 111, 28))
|
|
self.bnt_search.setObjectName("bnt_search")
|
|
self.label_4 = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_4.setGeometry(QtCore.QRect(740, 470, 321, 31))
|
|
font = QtGui.QFont()
|
|
font.setPointSize(12)
|
|
font.setBold(True)
|
|
font.setWeight(75)
|
|
self.label_4.setFont(font)
|
|
self.label_4.setScaledContents(True)
|
|
self.label_4.setObjectName("label_4")
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 1116, 29))
|
|
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", "MainWindow"))
|
|
item = self.tableWidget.horizontalHeaderItem(0)
|
|
item.setText(_translate("MainWindow", "文章名称"))
|
|
item = self.tableWidget.horizontalHeaderItem(1)
|
|
item.setText(_translate("MainWindow", "最新章节"))
|
|
item = self.tableWidget.horizontalHeaderItem(2)
|
|
item.setText(_translate("MainWindow", "作者"))
|
|
item = self.tableWidget.horizontalHeaderItem(3)
|
|
item.setText(_translate("MainWindow", "字数"))
|
|
item = self.tableWidget.horizontalHeaderItem(4)
|
|
item.setText(_translate("MainWindow", "更新"))
|
|
item = self.tableWidget.horizontalHeaderItem(5)
|
|
item.setText(_translate("MainWindow", "状态"))
|
|
self.label_2.setText(_translate("MainWindow", "网站"))
|
|
self.comboBox.setItemText(0, _translate("MainWindow", "http://www.ibiqu.org/"))
|
|
self.lineEdit.setPlaceholderText(_translate("MainWindow", "在这里输入您想下载的书名"))
|
|
self.bnt_search.setText(_translate("MainWindow", "开始搜索"))
|
|
self.label_4.setText(_translate("MainWindow", "正在为您找寻合适的书籍....."))
|
|
|