代码拉取完成,页面将自动刷新
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\pr_python\OPN\OPN.ui'
#
# Created: Thu Jul 02 16:44:43 2015
# by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(674, 329)
self.centralWidget = QtGui.QWidget(MainWindow)
self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
self.gridLayout = QtGui.QGridLayout(self.centralWidget)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.quickRefreshBtn = QtGui.QPushButton(self.centralWidget)
self.quickRefreshBtn.setObjectName(_fromUtf8("quickRefreshBtn"))
self.gridLayout.addWidget(self.quickRefreshBtn, 0, 4, 1, 1)
self.refreshAllBtn = QtGui.QPushButton(self.centralWidget)
self.refreshAllBtn.setObjectName(_fromUtf8("refreshAllBtn"))
self.gridLayout.addWidget(self.refreshAllBtn, 0, 5, 1, 1)
self.keyEdit = QtGui.QLineEdit(self.centralWidget)
self.keyEdit.setObjectName(_fromUtf8("keyEdit"))
self.gridLayout.addWidget(self.keyEdit, 0, 1, 1, 1)
self.searchKeyBtn = QtGui.QPushButton(self.centralWidget)
self.searchKeyBtn.setObjectName(_fromUtf8("searchKeyBtn"))
self.gridLayout.addWidget(self.searchKeyBtn, 0, 2, 1, 1)
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem, 0, 3, 1, 1)
self.label = QtGui.QLabel(self.centralWidget)
self.label.setObjectName(_fromUtf8("label"))
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
self.srView = QtGui.QTableView(self.centralWidget)
self.srView.setObjectName(_fromUtf8("srView"))
self.gridLayout.addWidget(self.srView, 1, 0, 1, 6)
MainWindow.setCentralWidget(self.centralWidget)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(_translate("MainWindow", "笔记搜索工具", None))
self.quickRefreshBtn.setText(_translate("MainWindow", "快速刷新", None))
self.refreshAllBtn.setText(_translate("MainWindow", "全部刷新", None))
self.searchKeyBtn.setText(_translate("MainWindow", "搜索", None))
self.label.setText(_translate("MainWindow", "关键词:", None))
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
MainWindow = QtGui.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。