资源简介
操作系统上机作业,模拟实现进程创建,进程调度,进程阻塞,进程唤醒和进程撤销,从文件读取初始化进程,将过程存入文件均已实现,用pyqt5实现GUI界面,有良好的用户交互性
代码片段和文件信息
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file ‘create.ui‘
#
# Created by: PyQt5 UI code generator 5.11.3
#
# WARNING! All changes made in this file will be lost!
from Ui_MianWindows import *
from PyQt5 import QtCore QtGui QtWidgets
from PyQt5.QtWidgets import *
class Ui_Dialog(object):
def setupUi(self Dialog):
Dialog.setobjectName(“Dialog“)
Dialog.resize(599 550)
self.horizontalLayoutWidget = QtWidgets.QWidget(Dialog)
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(30 10 211 51))
self.horizontalLayoutWidget.setobjectName(“horizontalLayoutWidget“)
self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget)
self.horizontalLayout.setContentsMargins(0 0 0 0)
self.horizontalLayout.setobjectName(“horizontalLayout“)
self.label = QtWidgets.QLabel(self.horizontalLayoutWidget)
font = QtGui.QFont()
font.setFamily(“Arial“)
font.setPointSize(14)
self.label.setFont(font)
self.label.setobjectName(“label“)
self.horizontalLayout.addWidget(self.label)
self.comboBox = QtWidgets.QComboBox(self.horizontalLayoutWidget)
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.comboBox.addItem(““)
self.comboBox.addItem(““)
self.comboBox.addItem(““)
self.horizontalLayout.addWidget(self.comboBox)
self.horizontalLayoutWidget_2 = QtWidgets.QWidget(Dialog)
self.horizontalLayoutWidget_2.setGeometry(QtCore.QRect(30 70 211 51))
self.horizontalLayoutWidget_2.setobjectName(“horizontalLayoutWidget_2“)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget_2)
self.horizontalLayout_2.setContentsMargins(0 0 0 0)
self.horizontalLayout_2.setobjectName(“horizontalLayout_2“)
self.label_2 = QtWidgets.QLabel(self.horizontalLayoutWidget_2)
font = QtGui.QFont()
font.setFamily(“Arial“)
font.setPointSize(14)
self.label_2.setFont(font)
self.label_2.setobjectName(“label_2“)
self.horizontalLayout_2.addWidget(self.label_2)
self.comboBox_2 = QtWidgets.QComboBox(self.horizontalLayoutWidget_2)
self.comboBox_2.setobjectName(“comboBox_2“)
self.comboBox_2.addItem(““)
self.comboBox_2.addItem(““)
self.comboBox_2.addItem(““)
self.comboBox_2.addItem(““)
self.comboBox_2.addItem(““)
self.horizontalLayout_2.addWidget(self.comboBox_2
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 229 2019-05-15 16:42 ProcessManagement\1.txt
文件 7519 2019-05-15 22:15 ProcessManagement\create.py
文件 6490 2019-05-14 10:50 ProcessManagement\create.ui
文件 48 2019-05-17 11:16 ProcessManagement\readme.MD
文件 18775 2019-05-16 08:41 ProcessManagement\Ui_MianWindows.py
文件 1014 2019-05-16 08:43 ProcessManagement\Ui_MianWindows.spec
目录 0 2019-05-17 11:16 ProcessManagement
----------- --------- ---------- ----- ----
34075 7
- 上一篇:卷积神经网络结构图--visio
- 下一篇:人才招聘网数据库
评论
共有 条评论