码迷,mamicode.com
首页 > 其他好文 > 详细

第七次毕业设计任务书

时间:2017-04-28 13:52:00      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:lin   class   indexof   setfont   one   box   chart   scrollbar   padding   

一、计划进度

 

时间

内容

4.23-4.29

继续编写毕设程序,修改细节部分,完成毕业论文初稿。

4.30-4.29

完善毕业论文和毕业设计

4.30-5.6

完善毕业设计和论文

5.6-5.12

毕业论文定稿和准备答辩

 

二、本周研究内容。

 from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1145, 645)
        self.centralWidget = QtWidgets.QWidget(MainWindow)
        self.centralWidget.setObjectName("centralWidget")
        self.verticalLayoutWidget = QtWidgets.QWidget(self.centralWidget)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(10, 290, 321, 301))
        self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tabWidget = QtWidgets.QTabWidget(self.verticalLayoutWidget)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.listView_2 = QtWidgets.QListView(self.tab)
        self.listView_2.setGeometry(QtCore.QRect(0, 0, 321, 271))
        self.listView_2.setObjectName("listView_2")
        self.verticalScrollBar_2 = QtWidgets.QScrollBar(self.tab)
        self.verticalScrollBar_2.setGeometry(QtCore.QRect(300, 0, 16, 271))
        self.verticalScrollBar_2.setOrientation(QtCore.Qt.Vertical)
        self.verticalScrollBar_2.setObjectName("verticalScrollBar_2")
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.graphicsView = QtWidgets.QGraphicsView(self.tab_2)
        self.graphicsView.setGeometry(QtCore.QRect(0, 0, 321, 281))
        self.graphicsView.setObjectName("graphicsView")
        self.tabWidget.addTab(self.tab_2, "")
        self.tab_3 = QtWidgets.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.graphicsView_2 = QtWidgets.QGraphicsView(self.tab_3)
        self.graphicsView_2.setGeometry(QtCore.QRect(0, 0, 321, 271))
        self.graphicsView_2.setObjectName("graphicsView_2")
        self.tabWidget.addTab(self.tab_3, "")
        self.verticalLayout.addWidget(self.tabWidget)
        self.listView = QtWidgets.QListView(self.centralWidget)
        self.listView.setGeometry(QtCore.QRect(340, 30, 791, 321))
        self.listView.setObjectName("listView")
        self.listWidget = QtWidgets.QListWidget(self.centralWidget)
        self.listWidget.setGeometry(QtCore.QRect(340, 380, 791, 201))
        self.listWidget.setObjectName("listWidget")
        self.label = QtWidgets.QLabel(self.centralWidget)
        self.label.setGeometry(QtCore.QRect(350, 360, 54, 12))
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(self.centralWidget)
        self.label_2.setGeometry(QtCore.QRect(340, 10, 54, 12))
        self.label_2.setObjectName("label_2")
        self.pushButton = QtWidgets.QPushButton(self.centralWidget)
        self.pushButton.setGeometry(QtCore.QRect(100, 150, 121, 41))
        font = QtGui.QFont()
        font.setFamily("Adobe Arabic")
        font.setPointSize(14)
        self.pushButton.setFont(font)
        self.pushButton.setObjectName("pushButton")
        self.label_5 = QtWidgets.QLabel(self.centralWidget)
        self.label_5.setGeometry(QtCore.QRect(50, 20, 54, 12))
        self.label_5.setObjectName("label_5")
        self.verticalScrollBar = QtWidgets.QScrollBar(self.centralWidget)
        self.verticalScrollBar.setGeometry(QtCore.QRect(150, 590, 16, 160))
        self.verticalScrollBar.setOrientation(QtCore.Qt.Vertical)
        self.verticalScrollBar.setObjectName("verticalScrollBar")
        self.layoutWidget = QtWidgets.QWidget(self.centralWidget)
        self.layoutWidget.setGeometry(QtCore.QRect(50, 200, 221, 61))
        self.layoutWidget.setObjectName("layoutWidget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.layoutWidget)
        self.horizontalLayout.setContentsMargins(11, 11, 11, 11)
        self.horizontalLayout.setSpacing(6)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.pushButton_3 = QtWidgets.QPushButton(self.layoutWidget)
        self.pushButton_3.setObjectName("pushButton_3")
        self.horizontalLayout.addWidget(self.pushButton_3)
        self.pushButton_2 = QtWidgets.QPushButton(self.layoutWidget)
        self.pushButton_2.setObjectName("pushButton_2")
        self.horizontalLayout.addWidget(self.pushButton_2)
        self.lineEdit = QtWidgets.QLineEdit(self.centralWidget)
        self.lineEdit.setGeometry(QtCore.QRect(160, 100, 133, 31))
        self.lineEdit.setText("")
        self.lineEdit.setObjectName("lineEdit")
        self.lineEdit_2 = QtWidgets.QLineEdit(self.centralWidget)
        self.lineEdit_2.setGeometry(QtCore.QRect(160, 50, 133, 31))
        self.lineEdit_2.setText("")
        self.lineEdit_2.setObjectName("lineEdit_2")
        self.label_3 = QtWidgets.QLabel(self.centralWidget)
        self.label_3.setGeometry(QtCore.QRect(60, 60, 51, 21))
        font = QtGui.QFont()
        font.setFamily("Adobe Arabic")
        font.setPointSize(12)
        self.label_3.setFont(font)
        self.label_3.setLineWidth(7)
        self.label_3.setObjectName("label_3")
        self.label_4 = QtWidgets.QLabel(self.centralWidget)
        self.label_4.setGeometry(QtCore.QRect(60, 110, 51, 21))
        font = QtGui.QFont()
        font.setFamily("Adobe Arabic")
        font.setPointSize(12)
        self.label_4.setFont(font)
        self.label_4.setObjectName("label_4")
        MainWindow.setCentralWidget(self.centralWidget)
        self.menuBar = QtWidgets.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 1145, 23))
        self.menuBar.setObjectName("menuBar")
        self.menustart = QtWidgets.QMenu(self.menuBar)
        self.menustart.setObjectName("menustart")
        self.menusetting = QtWidgets.QMenu(self.menuBar)
        self.menusetting.setObjectName("menusetting")
        MainWindow.setMenuBar(self.menuBar)
        self.mainToolBar = QtWidgets.QToolBar(MainWindow)
        self.mainToolBar.setObjectName("mainToolBar")
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.mainToolBar)
        self.statusBar = QtWidgets.QStatusBar(MainWindow)
        self.statusBar.setObjectName("statusBar")
        MainWindow.setStatusBar(self.statusBar)
        self.actionload_file = QtWidgets.QAction(MainWindow)
        self.actionload_file.setObjectName("actionload_file")
        self.actionrun = QtWidgets.QAction(MainWindow)
        self.actionrun.setObjectName("actionrun")
        self.actionstop = QtWidgets.QAction(MainWindow)
        self.actionstop.setObjectName("actionstop")
        self.actionexit = QtWidgets.QAction(MainWindow)
        self.actionexit.setObjectName("actionexit")
        self.actionolder_data = QtWidgets.QAction(MainWindow)
        self.actionolder_data.setObjectName("actionolder_data")
        self.actionpretreatment = QtWidgets.QAction(MainWindow)
        self.actionpretreatment.setObjectName("actionpretreatment")
        self.actionrules = QtWidgets.QAction(MainWindow)
        self.actionrules.setObjectName("actionrules")
        self.actionchart = QtWidgets.QAction(MainWindow)
        self.actionchart.setObjectName("actionchart")
        self.menustart.addAction(self.actionload_file)
        self.menustart.addAction(self.actionrun)
        self.menustart.addAction(self.actionstop)
        self.menustart.addAction(self.actionexit)
        self.menusetting.addAction(self.actionolder_data)
        self.menusetting.addAction(self.actionpretreatment)
        self.menusetting.addAction(self.actionrules)
        self.menusetting.addAction(self.actionchart)
        self.menuBar.addAction(self.menustart.menuAction())
        self.menuBar.addAction(self.menusetting.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(2)
        self.pushButton.clicked.connect(self.lineEdit_2.copy)
        self.pushButton.clicked.connect(self.lineEdit.copy)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "详细信息"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "图示1"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "图示2"))
        self.label.setText(_translate("MainWindow", "入侵信息"))
        self.label_2.setText(_translate("MainWindow", "网络数据"))
        self.pushButton.setText(_translate("MainWindow", "确定"))
        self.label_5.setText(_translate("MainWindow", "信息输入"))
        self.pushButton_3.setText(_translate("MainWindow", "开始"))
        self.pushButton_2.setText(_translate("MainWindow", "停止"))
        self.label_3.setText(_translate("MainWindow", "支持度"))
        self.label_4.setText(_translate("MainWindow", "关联度"))
        self.menustart.setTitle(_translate("MainWindow", "start"))
        self.menusetting.setTitle(_translate("MainWindow", "show"))
        self.actionload_file.setText(_translate("MainWindow", "load file"))
        self.actionrun.setText(_translate("MainWindow", "run"))
        self.actionstop.setText(_translate("MainWindow", "stop"))
        self.actionexit.setText(_translate("MainWindow", "exit"))
        self.actionolder_data.setText(_translate("MainWindow", "older data"))
        self.actionpretreatment.setText(_translate("MainWindow", "pretreatment"))
        self.actionrules.setText(_translate("MainWindow", "rules"))
        self.actionchart.setText(_translate("MainWindow", "chart"))


 技术分享

 

三、你本周的体会及需要改进地方。

   这周内容主要是实现界面,下面将完成数据和界面衔接以及细节处理。

 

第七次毕业设计任务书

标签:lin   class   indexof   setfont   one   box   chart   scrollbar   padding   

原文地址:http://www.cnblogs.com/G-Domain/p/6781018.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!