mirror of
https://github.com/tonquer/picacg-qt.git
synced 2025-01-09 04:17:41 +08:00
调整了搜索的布局
This commit is contained in:
parent
5e8e271af5
commit
53301a0b5d
@ -199,6 +199,7 @@ class QtBookList(QListWidget, QtTaskBase):
|
||||
self.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||
|
||||
def Test(self, item: QListWidgetItem):
|
||||
# TODO qt6设置grabGesture后,双击事件不生效,临时处理
|
||||
import time
|
||||
if not self.doubleClickType:
|
||||
return
|
||||
|
344
ui/search.py
344
ui/search.py
@ -21,11 +21,174 @@ class Ui_search(object):
|
||||
def setupUi(self, search):
|
||||
if not search.objectName():
|
||||
search.setObjectName(u"search")
|
||||
search.resize(827, 585)
|
||||
search.resize(968, 585)
|
||||
self.gridLayout_2 = QGridLayout(search)
|
||||
self.gridLayout_2.setObjectName(u"gridLayout_2")
|
||||
self.bookLayout = QGridLayout()
|
||||
self.bookLayout.setObjectName(u"bookLayout")
|
||||
self.horizontalLayout_4 = QHBoxLayout()
|
||||
self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
|
||||
self.label_5 = QLabel(search)
|
||||
self.label_5.setObjectName(u"label_5")
|
||||
self.label_5.setMinimumSize(QSize(80, 0))
|
||||
self.label_5.setMaximumSize(QSize(80, 50))
|
||||
|
||||
self.horizontalLayout_4.addWidget(self.label_5)
|
||||
|
||||
self.keywordList = QtCategoryList(search)
|
||||
self.keywordList.setObjectName(u"keywordList")
|
||||
self.keywordList.setMinimumSize(QSize(0, 0))
|
||||
self.keywordList.setMaximumSize(QSize(16777215, 50))
|
||||
self.keywordList.setStyleSheet(u"QListWidget {background-color:transparent;}\n"
|
||||
"QListWidget::item {\n"
|
||||
" background-color:rgb(251, 239, 243);\n"
|
||||
" color: rgb(196, 95, 125);\n"
|
||||
" border:2px solid red;\n"
|
||||
" border-color:rgb(196, 95, 125);\n"
|
||||
" border-radius: 15px;\n"
|
||||
"}\n"
|
||||
"/* \u9f20\u6807\u5728\u6309\u94ae\u4e0a\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
" QListWidget::item:hover \n"
|
||||
"{\n"
|
||||
" background-color:rgb(21, 85, 154);\n"
|
||||
" border-radius: 15px;\n"
|
||||
" color: rgb(0, 0, 0);\n"
|
||||
"}\n"
|
||||
"")
|
||||
self.keywordList.setFrameShape(QFrame.NoFrame)
|
||||
self.keywordList.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||
self.keywordList.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||
self.keywordList.setFlow(QListView.LeftToRight)
|
||||
self.keywordList.setSpacing(6)
|
||||
|
||||
self.horizontalLayout_4.addWidget(self.keywordList)
|
||||
|
||||
|
||||
self.bookLayout.addLayout(self.horizontalLayout_4, 4, 0, 1, 1)
|
||||
|
||||
self.horizontalLayout = QHBoxLayout()
|
||||
self.horizontalLayout.setObjectName(u"horizontalLayout")
|
||||
self.label_6 = QLabel(search)
|
||||
self.label_6.setObjectName(u"label_6")
|
||||
self.label_6.setMinimumSize(QSize(80, 0))
|
||||
self.label_6.setMaximumSize(QSize(80, 16777215))
|
||||
|
||||
self.horizontalLayout.addWidget(self.label_6)
|
||||
|
||||
self.searchEdit = CompleteLineEdit(search)
|
||||
self.searchEdit.setObjectName(u"searchEdit")
|
||||
self.searchEdit.setMinimumSize(QSize(0, 30))
|
||||
self.searchEdit.setMaximumSize(QSize(16777215, 30))
|
||||
self.searchEdit.setStyleSheet(u"QLineEdit {background-color:transparent;}")
|
||||
|
||||
self.horizontalLayout.addWidget(self.searchEdit)
|
||||
|
||||
self.comboBox = QComboBox(search)
|
||||
self.comboBox.addItem("")
|
||||
self.comboBox.addItem("")
|
||||
self.comboBox.addItem("")
|
||||
self.comboBox.addItem("")
|
||||
self.comboBox.setObjectName(u"comboBox")
|
||||
|
||||
self.horizontalLayout.addWidget(self.comboBox)
|
||||
|
||||
self.searchButton = QPushButton(search)
|
||||
self.searchButton.setObjectName(u"searchButton")
|
||||
self.searchButton.setMinimumSize(QSize(0, 30))
|
||||
self.searchButton.setMaximumSize(QSize(16777215, 30))
|
||||
|
||||
self.horizontalLayout.addWidget(self.searchButton)
|
||||
|
||||
self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
|
||||
|
||||
self.horizontalLayout.addItem(self.horizontalSpacer_2)
|
||||
|
||||
self.line_4 = QFrame(search)
|
||||
self.line_4.setObjectName(u"line_4")
|
||||
self.line_4.setFrameShape(QFrame.VLine)
|
||||
self.line_4.setFrameShadow(QFrame.Sunken)
|
||||
|
||||
self.horizontalLayout.addWidget(self.line_4)
|
||||
|
||||
self.label = QLabel(search)
|
||||
self.label.setObjectName(u"label")
|
||||
self.label.setMinimumSize(QSize(60, 30))
|
||||
self.label.setMaximumSize(QSize(16777215, 30))
|
||||
|
||||
self.horizontalLayout.addWidget(self.label)
|
||||
|
||||
self.line_5 = QFrame(search)
|
||||
self.line_5.setObjectName(u"line_5")
|
||||
self.line_5.setFrameShape(QFrame.VLine)
|
||||
self.line_5.setFrameShadow(QFrame.Sunken)
|
||||
|
||||
self.horizontalLayout.addWidget(self.line_5)
|
||||
|
||||
self.spinBox = QSpinBox(search)
|
||||
self.spinBox.setObjectName(u"spinBox")
|
||||
self.spinBox.setMinimumSize(QSize(50, 0))
|
||||
self.spinBox.setStyleSheet(u"background-color:transparent;")
|
||||
self.spinBox.setMinimum(1)
|
||||
self.spinBox.setMaximum(1)
|
||||
|
||||
self.horizontalLayout.addWidget(self.spinBox)
|
||||
|
||||
self.line_6 = QFrame(search)
|
||||
self.line_6.setObjectName(u"line_6")
|
||||
self.line_6.setFrameShape(QFrame.VLine)
|
||||
self.line_6.setFrameShadow(QFrame.Sunken)
|
||||
|
||||
self.horizontalLayout.addWidget(self.line_6)
|
||||
|
||||
self.jumpPage = QPushButton(search)
|
||||
self.jumpPage.setObjectName(u"jumpPage")
|
||||
self.jumpPage.setMinimumSize(QSize(60, 30))
|
||||
self.jumpPage.setMaximumSize(QSize(16777215, 30))
|
||||
|
||||
self.horizontalLayout.addWidget(self.jumpPage)
|
||||
|
||||
|
||||
self.bookLayout.addLayout(self.horizontalLayout, 2, 0, 1, 1)
|
||||
|
||||
self.bookList = QtBookList(search)
|
||||
self.bookList.setObjectName(u"bookList")
|
||||
self.bookList.setStyleSheet(u"QListWidget {background-color:transparent;}")
|
||||
|
||||
self.bookLayout.addWidget(self.bookList, 0, 0, 1, 1)
|
||||
|
||||
self.horizontalLayout_3 = QHBoxLayout()
|
||||
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
|
||||
self.label_4 = QLabel(search)
|
||||
self.label_4.setObjectName(u"label_4")
|
||||
self.label_4.setMinimumSize(QSize(80, 0))
|
||||
self.label_4.setMaximumSize(QSize(80, 40))
|
||||
|
||||
self.horizontalLayout_3.addWidget(self.label_4)
|
||||
|
||||
self.categoryList = QtCategoryList(search)
|
||||
self.categoryList.setObjectName(u"categoryList")
|
||||
self.categoryList.setMaximumSize(QSize(16777215, 40))
|
||||
self.categoryList.setStyleSheet(u"QListWidget {background-color:transparent;}")
|
||||
self.categoryList.setFrameShape(QFrame.StyledPanel)
|
||||
self.categoryList.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||
self.categoryList.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||
self.categoryList.setFlow(QListView.LeftToRight)
|
||||
self.categoryList.setSpacing(6)
|
||||
|
||||
self.horizontalLayout_3.addWidget(self.categoryList)
|
||||
|
||||
|
||||
self.bookLayout.addLayout(self.horizontalLayout_3, 3, 0, 1, 1)
|
||||
|
||||
self.horizontalLayout_2 = QHBoxLayout()
|
||||
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
|
||||
self.label_7 = QLabel(search)
|
||||
self.label_7.setObjectName(u"label_7")
|
||||
self.label_7.setMinimumSize(QSize(80, 0))
|
||||
self.label_7.setMaximumSize(QSize(80, 16777215))
|
||||
|
||||
self.horizontalLayout_2.addWidget(self.label_7)
|
||||
|
||||
self.localBox = QRadioButton(search)
|
||||
self.localBox.setObjectName(u"localBox")
|
||||
self.localBox.setChecked(True)
|
||||
@ -145,156 +308,7 @@ class Ui_search(object):
|
||||
self.horizontalLayout_2.addItem(self.horizontalSpacer)
|
||||
|
||||
|
||||
self.gridLayout_2.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
|
||||
|
||||
self.horizontalLayout = QHBoxLayout()
|
||||
self.horizontalLayout.setObjectName(u"horizontalLayout")
|
||||
self.searchEdit = CompleteLineEdit(search)
|
||||
self.searchEdit.setObjectName(u"searchEdit")
|
||||
self.searchEdit.setMinimumSize(QSize(0, 30))
|
||||
self.searchEdit.setMaximumSize(QSize(16777215, 30))
|
||||
self.searchEdit.setStyleSheet(u"QLineEdit {background-color:transparent;}")
|
||||
|
||||
self.horizontalLayout.addWidget(self.searchEdit)
|
||||
|
||||
self.comboBox = QComboBox(search)
|
||||
self.comboBox.addItem("")
|
||||
self.comboBox.addItem("")
|
||||
self.comboBox.addItem("")
|
||||
self.comboBox.addItem("")
|
||||
self.comboBox.setObjectName(u"comboBox")
|
||||
|
||||
self.horizontalLayout.addWidget(self.comboBox)
|
||||
|
||||
self.searchButton = QPushButton(search)
|
||||
self.searchButton.setObjectName(u"searchButton")
|
||||
self.searchButton.setMinimumSize(QSize(0, 30))
|
||||
self.searchButton.setMaximumSize(QSize(16777215, 30))
|
||||
|
||||
self.horizontalLayout.addWidget(self.searchButton)
|
||||
|
||||
self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Expanding, QSizePolicy.Minimum)
|
||||
|
||||
self.horizontalLayout.addItem(self.horizontalSpacer_2)
|
||||
|
||||
self.line_4 = QFrame(search)
|
||||
self.line_4.setObjectName(u"line_4")
|
||||
self.line_4.setFrameShape(QFrame.VLine)
|
||||
self.line_4.setFrameShadow(QFrame.Sunken)
|
||||
|
||||
self.horizontalLayout.addWidget(self.line_4)
|
||||
|
||||
self.label = QLabel(search)
|
||||
self.label.setObjectName(u"label")
|
||||
self.label.setMinimumSize(QSize(60, 30))
|
||||
self.label.setMaximumSize(QSize(16777215, 30))
|
||||
|
||||
self.horizontalLayout.addWidget(self.label)
|
||||
|
||||
self.line_5 = QFrame(search)
|
||||
self.line_5.setObjectName(u"line_5")
|
||||
self.line_5.setFrameShape(QFrame.VLine)
|
||||
self.line_5.setFrameShadow(QFrame.Sunken)
|
||||
|
||||
self.horizontalLayout.addWidget(self.line_5)
|
||||
|
||||
self.spinBox = QSpinBox(search)
|
||||
self.spinBox.setObjectName(u"spinBox")
|
||||
self.spinBox.setMinimumSize(QSize(50, 0))
|
||||
self.spinBox.setStyleSheet(u"background-color:transparent;")
|
||||
self.spinBox.setMinimum(1)
|
||||
self.spinBox.setMaximum(1)
|
||||
|
||||
self.horizontalLayout.addWidget(self.spinBox)
|
||||
|
||||
self.line_6 = QFrame(search)
|
||||
self.line_6.setObjectName(u"line_6")
|
||||
self.line_6.setFrameShape(QFrame.VLine)
|
||||
self.line_6.setFrameShadow(QFrame.Sunken)
|
||||
|
||||
self.horizontalLayout.addWidget(self.line_6)
|
||||
|
||||
self.jumpPage = QPushButton(search)
|
||||
self.jumpPage.setObjectName(u"jumpPage")
|
||||
self.jumpPage.setMinimumSize(QSize(60, 30))
|
||||
self.jumpPage.setMaximumSize(QSize(16777215, 30))
|
||||
|
||||
self.horizontalLayout.addWidget(self.jumpPage)
|
||||
|
||||
|
||||
self.gridLayout_2.addLayout(self.horizontalLayout, 2, 0, 1, 1)
|
||||
|
||||
self.bookLayout = QGridLayout()
|
||||
self.bookLayout.setObjectName(u"bookLayout")
|
||||
self.horizontalLayout_3 = QHBoxLayout()
|
||||
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
|
||||
self.label_4 = QLabel(search)
|
||||
self.label_4.setObjectName(u"label_4")
|
||||
self.label_4.setMinimumSize(QSize(80, 0))
|
||||
self.label_4.setMaximumSize(QSize(80, 40))
|
||||
|
||||
self.horizontalLayout_3.addWidget(self.label_4)
|
||||
|
||||
self.categoryList = QtCategoryList(search)
|
||||
self.categoryList.setObjectName(u"categoryList")
|
||||
self.categoryList.setMaximumSize(QSize(16777215, 40))
|
||||
self.categoryList.setStyleSheet(u"QListWidget {background-color:transparent;}")
|
||||
self.categoryList.setFrameShape(QFrame.StyledPanel)
|
||||
self.categoryList.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||
self.categoryList.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||
self.categoryList.setFlow(QListView.LeftToRight)
|
||||
self.categoryList.setSpacing(6)
|
||||
|
||||
self.horizontalLayout_3.addWidget(self.categoryList)
|
||||
|
||||
|
||||
self.bookLayout.addLayout(self.horizontalLayout_3, 1, 0, 1, 1)
|
||||
|
||||
self.bookList = QtBookList(search)
|
||||
self.bookList.setObjectName(u"bookList")
|
||||
self.bookList.setStyleSheet(u"QListWidget {background-color:transparent;}")
|
||||
|
||||
self.bookLayout.addWidget(self.bookList, 0, 0, 1, 1)
|
||||
|
||||
self.horizontalLayout_4 = QHBoxLayout()
|
||||
self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
|
||||
self.label_5 = QLabel(search)
|
||||
self.label_5.setObjectName(u"label_5")
|
||||
self.label_5.setMinimumSize(QSize(80, 0))
|
||||
self.label_5.setMaximumSize(QSize(80, 50))
|
||||
|
||||
self.horizontalLayout_4.addWidget(self.label_5)
|
||||
|
||||
self.keywordList = QtCategoryList(search)
|
||||
self.keywordList.setObjectName(u"keywordList")
|
||||
self.keywordList.setMinimumSize(QSize(0, 0))
|
||||
self.keywordList.setMaximumSize(QSize(16777215, 50))
|
||||
self.keywordList.setStyleSheet(u"QListWidget {background-color:transparent;}\n"
|
||||
"QListWidget::item {\n"
|
||||
" background-color:rgb(251, 239, 243);\n"
|
||||
" color: rgb(196, 95, 125);\n"
|
||||
" border:2px solid red;\n"
|
||||
" border-color:rgb(196, 95, 125);\n"
|
||||
" border-radius: 15px;\n"
|
||||
"}\n"
|
||||
"/* \u9f20\u6807\u5728\u6309\u94ae\u4e0a\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
" QListWidget::item:hover \n"
|
||||
"{\n"
|
||||
" background-color:rgb(21, 85, 154);\n"
|
||||
" border-radius: 15px;\n"
|
||||
" color: rgb(0, 0, 0);\n"
|
||||
"}\n"
|
||||
"")
|
||||
self.keywordList.setFrameShape(QFrame.NoFrame)
|
||||
self.keywordList.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||
self.keywordList.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
|
||||
self.keywordList.setFlow(QListView.LeftToRight)
|
||||
self.keywordList.setSpacing(6)
|
||||
|
||||
self.horizontalLayout_4.addWidget(self.keywordList)
|
||||
|
||||
|
||||
self.bookLayout.addLayout(self.horizontalLayout_4, 2, 0, 1, 1)
|
||||
self.bookLayout.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
|
||||
|
||||
|
||||
self.gridLayout_2.addLayout(self.bookLayout, 0, 0, 1, 1)
|
||||
@ -314,6 +328,21 @@ class Ui_search(object):
|
||||
|
||||
def retranslateUi(self, search):
|
||||
search.setWindowTitle(QCoreApplication.translate("search", u"Form", None))
|
||||
self.label_5.setText(QCoreApplication.translate("search", u"\u5927\u5bb6\u90fd\u5728\u641c\uff1a", None))
|
||||
self.label_6.setText(QCoreApplication.translate("search", u"\u641c\u7d22\uff1a", None))
|
||||
self.comboBox.setItemText(0, QCoreApplication.translate("search", u"\u65b0\u5230\u65e7", None))
|
||||
self.comboBox.setItemText(1, QCoreApplication.translate("search", u"\u65e7\u5230\u65b0", None))
|
||||
self.comboBox.setItemText(2, QCoreApplication.translate("search", u"\u6700\u591a\u7231\u5fc3", None))
|
||||
self.comboBox.setItemText(3, QCoreApplication.translate("search", u"\u6700\u591a\u7ec5\u58eb\u6307\u6570", None))
|
||||
|
||||
self.searchButton.setText(QCoreApplication.translate("search", u"\u641c\u7d22", None))
|
||||
#if QT_CONFIG(shortcut)
|
||||
self.searchButton.setShortcut(QCoreApplication.translate("search", u"Return", None))
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
self.label.setText(QCoreApplication.translate("search", u"\u9875\uff1a0/0", None))
|
||||
self.jumpPage.setText(QCoreApplication.translate("search", u"\u8df3\u8f6c", None))
|
||||
self.label_4.setText(QCoreApplication.translate("search", u"\u5c4f\u853d\uff1a", None))
|
||||
self.label_7.setText(QCoreApplication.translate("search", u"\u8bbe\u7f6e\uff1a", None))
|
||||
self.localBox.setText(QCoreApplication.translate("search", u"\u4f7f\u7528\u672c\u5730\u641c\u7d22", None))
|
||||
self.titleBox.setText(QCoreApplication.translate("search", u"\u6807\u9898", None))
|
||||
self.desBox.setText(QCoreApplication.translate("search", u"\u5185\u5bb9", None))
|
||||
@ -336,18 +365,5 @@ class Ui_search(object):
|
||||
self.label_2.setText(QCoreApplication.translate("search", u"\u66f4\u65b0\u65f6\u95f4\uff1a", None))
|
||||
self.timesLabel.setText(QCoreApplication.translate("search", u"TextLabel", None))
|
||||
self.sucLabel.setText(QCoreApplication.translate("search", u"\u6b63\u5728\u66f4\u65b0", None))
|
||||
self.comboBox.setItemText(0, QCoreApplication.translate("search", u"\u65b0\u5230\u65e7", None))
|
||||
self.comboBox.setItemText(1, QCoreApplication.translate("search", u"\u65e7\u5230\u65b0", None))
|
||||
self.comboBox.setItemText(2, QCoreApplication.translate("search", u"\u6700\u591a\u7231\u5fc3", None))
|
||||
self.comboBox.setItemText(3, QCoreApplication.translate("search", u"\u6700\u591a\u7ec5\u58eb\u6307\u6570", None))
|
||||
|
||||
self.searchButton.setText(QCoreApplication.translate("search", u"\u641c\u7d22", None))
|
||||
#if QT_CONFIG(shortcut)
|
||||
self.searchButton.setShortcut(QCoreApplication.translate("search", u"Return", None))
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
self.label.setText(QCoreApplication.translate("search", u"\u9875\uff1a0/0", None))
|
||||
self.jumpPage.setText(QCoreApplication.translate("search", u"\u8df3\u8f6c", None))
|
||||
self.label_4.setText(QCoreApplication.translate("search", u"\u5c4f\u853d\uff1a", None))
|
||||
self.label_5.setText(QCoreApplication.translate("search", u"\u5927\u5bb6\u90fd\u5728\u641c\uff1a", None))
|
||||
# retranslateUi
|
||||
|
||||
|
914
ui/search.ui
914
ui/search.ui
@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>827</width>
|
||||
<width>968</width>
|
||||
<height>585</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -14,445 +14,9 @@
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<item row="1" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<widget class="QRadioButton" name="localBox">
|
||||
<property name="text">
|
||||
<string>使用本地搜索</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="titleBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>标题</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="desBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>内容</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="authorBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>作者</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="tagsBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>tags</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="categoryBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>分类</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="creatorBox">
|
||||
<property name="text">
|
||||
<string>上传者</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="sortKey">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>更新时间</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>创建时间</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>爱心数</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>观看数</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>章节数</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>图片数</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="sortId">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>降序</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>升序</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>本地数量:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="numsLabel">
|
||||
<property name="text">
|
||||
<string>TextLabel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>更新时间:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="timesLabel">
|
||||
<property name="text">
|
||||
<string>TextLabel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_3">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="sucLabel">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color:transparent;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>正在更新</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="CompleteLineEdit" name="searchEdit">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit {background-color:transparent;}</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="comboBox">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>新到旧</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>旧到新</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>最多爱心</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>最多绅士指数</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="searchButton">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>搜索</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Return</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_4">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>60</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>页:0/0</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_5">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QSpinBox" name="spinBox">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color:transparent;</string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>1</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_6">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="jumpPage">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>60</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>跳转</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<layout class="QGridLayout" name="bookLayout">
|
||||
<item row="1" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>屏蔽:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QtCategoryList" name="categoryList">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QListWidget {background-color:transparent;}</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="verticalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||
</property>
|
||||
<property name="horizontalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||
</property>
|
||||
<property name="flow">
|
||||
<enum>QListView::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QtBookList" name="bookList">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QListWidget {background-color:transparent;}</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<item row="4" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_5">
|
||||
@ -524,6 +88,480 @@ QListWidget::item {
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>搜索:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="CompleteLineEdit" name="searchEdit">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QLineEdit {background-color:transparent;}</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="comboBox">
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>新到旧</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>旧到新</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>最多爱心</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>最多绅士指数</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="searchButton">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>搜索</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Return</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_4">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>60</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>页:0/0</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_5">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QSpinBox" name="spinBox">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>50</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color:transparent;</string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>1</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_6">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="jumpPage">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>60</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>跳转</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QtBookList" name="bookList">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QListWidget {background-color:transparent;}</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>屏蔽:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QtCategoryList" name="categoryList">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QListWidget {background-color:transparent;}</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="verticalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||
</property>
|
||||
<property name="horizontalScrollBarPolicy">
|
||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||
</property>
|
||||
<property name="flow">
|
||||
<enum>QListView::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>6</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_7">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>设置:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QRadioButton" name="localBox">
|
||||
<property name="text">
|
||||
<string>使用本地搜索</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="titleBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>标题</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="desBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>内容</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="authorBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>作者</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="tagsBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>tags</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="categoryBox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>分类</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="creatorBox">
|
||||
<property name="text">
|
||||
<string>上传者</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="sortKey">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>更新时间</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>创建时间</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>爱心数</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>观看数</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>章节数</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>图片数</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QComboBox" name="sortId">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>降序</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>升序</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>本地数量:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="numsLabel">
|
||||
<property name="text">
|
||||
<string>TextLabel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="text">
|
||||
<string>更新时间:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="timesLabel">
|
||||
<property name="text">
|
||||
<string>TextLabel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Line" name="line_3">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="sucLabel">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color:transparent;</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>正在更新</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
|
28
ui/user.py
28
ui/user.py
@ -19,7 +19,7 @@ class Ui_User(object):
|
||||
def setupUi(self, User):
|
||||
if not User.objectName():
|
||||
User.setObjectName(u"User")
|
||||
User.resize(1059, 712)
|
||||
User.resize(1053, 792)
|
||||
User.setMinimumSize(QSize(0, 0))
|
||||
self.gridLayout_2 = QGridLayout(User)
|
||||
self.gridLayout_2.setObjectName(u"gridLayout_2")
|
||||
@ -81,7 +81,7 @@ class Ui_User(object):
|
||||
|
||||
self.signButton = QToolButton(User)
|
||||
self.signButton.setObjectName(u"signButton")
|
||||
self.signButton.setMinimumSize(QSize(100, 30))
|
||||
self.signButton.setMinimumSize(QSize(120, 30))
|
||||
self.signButton.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
" background:transparent;\n"
|
||||
@ -113,7 +113,7 @@ class Ui_User(object):
|
||||
self.buttonGroup.setObjectName(u"buttonGroup")
|
||||
self.buttonGroup.addButton(self.toolButton11)
|
||||
self.toolButton11.setObjectName(u"toolButton11")
|
||||
self.toolButton11.setMinimumSize(QSize(100, 30))
|
||||
self.toolButton11.setMinimumSize(QSize(120, 30))
|
||||
self.toolButton11.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
" background:transparent;\n"
|
||||
@ -144,7 +144,7 @@ class Ui_User(object):
|
||||
self.toolButton4 = QToolButton(User)
|
||||
self.buttonGroup.addButton(self.toolButton4)
|
||||
self.toolButton4.setObjectName(u"toolButton4")
|
||||
self.toolButton4.setMinimumSize(QSize(100, 30))
|
||||
self.toolButton4.setMinimumSize(QSize(120, 30))
|
||||
self.toolButton4.setMaximumSize(QSize(100, 16777215))
|
||||
self.toolButton4.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
@ -176,7 +176,7 @@ class Ui_User(object):
|
||||
self.toolButton5 = QToolButton(User)
|
||||
self.buttonGroup.addButton(self.toolButton5)
|
||||
self.toolButton5.setObjectName(u"toolButton5")
|
||||
self.toolButton5.setMinimumSize(QSize(100, 30))
|
||||
self.toolButton5.setMinimumSize(QSize(120, 30))
|
||||
self.toolButton5.setMaximumSize(QSize(100, 16777215))
|
||||
self.toolButton5.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
@ -215,7 +215,7 @@ class Ui_User(object):
|
||||
self.toolButton0 = QToolButton(User)
|
||||
self.buttonGroup.addButton(self.toolButton0)
|
||||
self.toolButton0.setObjectName(u"toolButton0")
|
||||
self.toolButton0.setMinimumSize(QSize(100, 40))
|
||||
self.toolButton0.setMinimumSize(QSize(120, 40))
|
||||
self.toolButton0.setMaximumSize(QSize(100, 16777215))
|
||||
self.toolButton0.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
@ -248,7 +248,7 @@ class Ui_User(object):
|
||||
self.toolButton1 = QToolButton(User)
|
||||
self.buttonGroup.addButton(self.toolButton1)
|
||||
self.toolButton1.setObjectName(u"toolButton1")
|
||||
self.toolButton1.setMinimumSize(QSize(100, 40))
|
||||
self.toolButton1.setMinimumSize(QSize(120, 40))
|
||||
self.toolButton1.setMaximumSize(QSize(100, 16777215))
|
||||
self.toolButton1.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
@ -280,7 +280,7 @@ class Ui_User(object):
|
||||
self.toolButton2 = QToolButton(User)
|
||||
self.buttonGroup.addButton(self.toolButton2)
|
||||
self.toolButton2.setObjectName(u"toolButton2")
|
||||
self.toolButton2.setMinimumSize(QSize(100, 40))
|
||||
self.toolButton2.setMinimumSize(QSize(120, 40))
|
||||
self.toolButton2.setMaximumSize(QSize(100, 16777215))
|
||||
self.toolButton2.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
@ -312,7 +312,7 @@ class Ui_User(object):
|
||||
self.toolButton3 = QToolButton(User)
|
||||
self.buttonGroup.addButton(self.toolButton3)
|
||||
self.toolButton3.setObjectName(u"toolButton3")
|
||||
self.toolButton3.setMinimumSize(QSize(100, 40))
|
||||
self.toolButton3.setMinimumSize(QSize(120, 40))
|
||||
self.toolButton3.setMaximumSize(QSize(100, 16777215))
|
||||
self.toolButton3.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
@ -344,7 +344,7 @@ class Ui_User(object):
|
||||
self.toolButton6 = QToolButton(User)
|
||||
self.buttonGroup.addButton(self.toolButton6)
|
||||
self.toolButton6.setObjectName(u"toolButton6")
|
||||
self.toolButton6.setMinimumSize(QSize(100, 40))
|
||||
self.toolButton6.setMinimumSize(QSize(120, 40))
|
||||
self.toolButton6.setMaximumSize(QSize(100, 16777215))
|
||||
self.toolButton6.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
@ -376,7 +376,7 @@ class Ui_User(object):
|
||||
self.toolButton7 = QToolButton(User)
|
||||
self.buttonGroup.addButton(self.toolButton7)
|
||||
self.toolButton7.setObjectName(u"toolButton7")
|
||||
self.toolButton7.setMinimumSize(QSize(100, 40))
|
||||
self.toolButton7.setMinimumSize(QSize(120, 40))
|
||||
self.toolButton7.setMaximumSize(QSize(100, 16777215))
|
||||
self.toolButton7.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
@ -408,7 +408,7 @@ class Ui_User(object):
|
||||
self.toolButton8 = QToolButton(User)
|
||||
self.buttonGroup.addButton(self.toolButton8)
|
||||
self.toolButton8.setObjectName(u"toolButton8")
|
||||
self.toolButton8.setMinimumSize(QSize(100, 40))
|
||||
self.toolButton8.setMinimumSize(QSize(120, 40))
|
||||
self.toolButton8.setMaximumSize(QSize(100, 16777215))
|
||||
self.toolButton8.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
@ -440,7 +440,7 @@ class Ui_User(object):
|
||||
self.toolButton9 = QToolButton(User)
|
||||
self.buttonGroup.addButton(self.toolButton9)
|
||||
self.toolButton9.setObjectName(u"toolButton9")
|
||||
self.toolButton9.setMinimumSize(QSize(100, 40))
|
||||
self.toolButton9.setMinimumSize(QSize(120, 40))
|
||||
self.toolButton9.setMaximumSize(QSize(100, 16777215))
|
||||
self.toolButton9.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
@ -472,7 +472,7 @@ class Ui_User(object):
|
||||
self.toolButton10 = QToolButton(User)
|
||||
self.buttonGroup.addButton(self.toolButton10)
|
||||
self.toolButton10.setObjectName(u"toolButton10")
|
||||
self.toolButton10.setMinimumSize(QSize(100, 40))
|
||||
self.toolButton10.setMinimumSize(QSize(120, 40))
|
||||
self.toolButton10.setMaximumSize(QSize(100, 16777215))
|
||||
self.toolButton10.setStyleSheet(u"/* \u6b63\u5e38\u65f6\uff0c\u6309\u94ae\u989c\u8272 */\n"
|
||||
"QToolButton{\n"
|
||||
|
30
ui/user.ui
30
ui/user.ui
@ -6,8 +6,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1059</width>
|
||||
<height>712</height>
|
||||
<width>1053</width>
|
||||
<height>792</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimumSize">
|
||||
@ -167,7 +167,7 @@
|
||||
<widget class="QToolButton" name="signButton">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -205,7 +205,7 @@ QToolButton:checked {
|
||||
<widget class="QToolButton" name="toolButton11">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -249,7 +249,7 @@ QToolButton:checked {
|
||||
<widget class="QToolButton" name="toolButton4">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -299,7 +299,7 @@ QToolButton:checked {
|
||||
<widget class="QToolButton" name="toolButton5">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>30</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -367,7 +367,7 @@ QToolButton:checked {
|
||||
<widget class="QToolButton" name="toolButton0">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -420,7 +420,7 @@ QToolButton:checked {
|
||||
<widget class="QToolButton" name="toolButton1">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -470,7 +470,7 @@ QToolButton:checked {
|
||||
<widget class="QToolButton" name="toolButton2">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -520,7 +520,7 @@ QToolButton:checked {
|
||||
<widget class="QToolButton" name="toolButton3">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -570,7 +570,7 @@ QToolButton:checked {
|
||||
<widget class="QToolButton" name="toolButton6">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -620,7 +620,7 @@ QToolButton:checked {
|
||||
<widget class="QToolButton" name="toolButton7">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -670,7 +670,7 @@ QToolButton:checked {
|
||||
<widget class="QToolButton" name="toolButton8">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -720,7 +720,7 @@ QToolButton:checked {
|
||||
<widget class="QToolButton" name="toolButton9">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -770,7 +770,7 @@ QToolButton:checked {
|
||||
<widget class="QToolButton" name="toolButton10">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<width>120</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
|
Loading…
Reference in New Issue
Block a user