1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mystifying-Course-information-management

В этом репозитории не указан файл с открытой лицензией (LICENSE). При использовании обратитесь к конкретному описанию проекта и его зависимостям в коде.
Клонировать/Скачать
主界面.py 33 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
阴阳怪气 Отправлено 14.11.2020 09:48 0ae72ef
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'table2.ui'
#
# Created by: PyQt5 UI code generator 5.13.0
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1131, 633)
MainWindow.setStyleSheet("/**********子界面背景**********/\n"
"QWidget#customWidget {\n"
" background: rgb(173, 202, 232);\n"
"}\n"
"\n"
"/**********子界面中央背景**********/\n"
"QWidget#centerWidget {\n"
" background: rgb(232, 241, 252);\n"
"}\n"
"\n"
"/**********主界面样式**********/\n"
"QWidget#mainWindow {\n"
" border: 1px solid rgb(111, 156, 207);\n"
" background: rgb(232, 241, 252);\n"
"}\n"
"\n"
"QWidget#messageWidget {\n"
" background: rgba(173, 202, 232, 50%);\n"
"}\n"
"\n"
"QWidget#loadingWidget {\n"
" border: none;\n"
" border-radius: 5px;\n"
" background: rgb(187, 212, 238);\n"
"}\n"
"\n"
"QWidget#remoteWidget {\n"
" border-top-right-radius: 10px;\n"
" border-bottom-right-radius: 10px;\n"
" border: 1px solid rgb(111, 156, 207);\n"
" border-left: none;\n"
" background: transparent;\n"
"}\n"
"\n"
"StyledWidget {\n"
" qproperty-normalColor: rgb(65, 65, 65);\n"
" qproperty-disableColor: rgb(180, 180, 180);\n"
" qproperty-highlightColor: rgb(0, 160, 230);\n"
" qproperty-errorColor: red;\n"
"}\n"
"\n"
"QProgressIndicator {\n"
" qproperty-color: rgb(2, 65, 132);\n"
"}\n"
"\n"
"/**********提示**********/\n"
"QToolTip{\n"
" border: 1px solid rgb(111, 156, 207);\n"
" background: white;\n"
" color: rgb(51, 51, 51);\n"
"}\n"
"\n"
"/**********菜单栏**********/\n"
"QMenuBar {\n"
" background: rgb(187, 212, 238);\n"
" border: 1px solid rgb(111, 156, 207);\n"
" border-left: none;\n"
" border-right: none;\n"
"}\n"
"QMenuBar::item {\n"
" border: 1px solid transparent;\n"
" padding: 5px 10px 5px 10px;\n"
" background: transparent;\n"
"}\n"
"QMenuBar::item:enabled {\n"
" color: rgb(2, 65, 132);\n"
"}\n"
"QMenuBar::item:!enabled {\n"
" color: rgb(155, 155, 155);\n"
"}\n"
"QMenuBar::item:enabled:selected {\n"
" border-top-color: rgb(111, 156, 207);\n"
" border-bottom-color: rgb(111, 156, 207);\n"
" background: rgb(198, 224, 252);\n"
"}\n"
"\n"
"/**********菜单**********/\n"
"QMenu {\n"
" border: 1px solid rgb(111, 156, 207);\n"
" background: rgb(232, 241, 250);\n"
"}\n"
"QMenu::item {\n"
" height: 22px;\n"
" padding: 0px 25px 0px 20px;\n"
"}\n"
"QMenu::item:enabled {\n"
" color: rgb(84, 84, 84);\n"
"}\n"
"QMenu::item:!enabled {\n"
" color: rgb(155, 155, 155);\n"
"}\n"
"QMenu::item:enabled:selected {\n"
" color: rgb(2, 65, 132);\n"
" background: rgba(255, 255, 255, 200);\n"
"}\n"
"QMenu::separator {\n"
" height: 1px;\n"
" background: rgb(111, 156, 207);\n"
"}\n"
"QMenu::indicator {\n"
" width: 13px;\n"
" height: 13px;\n"
"}\n"
"QMenu::icon {\n"
" padding-left: 2px;\n"
" padding-right: 2px;\n"
"}\n"
"\n"
"/**********状态栏**********/\n"
"QStatusBar {\n"
" background: rgb(187, 212, 238);\n"
" border: 1px solid rgb(111, 156, 207);\n"
" border-left: none;\n"
" border-right: none;\n"
" border-bottom: none;\n"
"}\n"
"QStatusBar::item {\n"
" border: none;\n"
" border-right: 1px solid rgb(111, 156, 207);\n"
"}\n"
"\n"
"/**********分组框**********/\n"
"QGroupBox {\n"
" font-size: 15px;\n"
" border: 1px solid rgb(111, 156, 207);\n"
" border-radius: 4px;\n"
" margin-top: 10px;\n"
"}\n"
"QGroupBox::title {\n"
" color: rgb(56, 99, 154);\n"
" top: -12px;\n"
" left: 10px;\n"
"}\n"
"\n"
"/**********页签项**********/\n"
"QTabWidget::pane {\n"
" border: none;\n"
" border-top: 3px solid rgb(0, 78, 161);\n"
" background: rgb(187, 212, 238);\n"
"}\n"
"QTabWidget::tab-bar {\n"
" border: none;\n"
"}\n"
"QTabBar::tab {\n"
" border: none;\n"
" border-top-left-radius: 4px;\n"
" border-top-right-radius: 4px;\n"
" color: white;\n"
" background: rgb(120, 170, 220);\n"
" height: 28px;\n"
" min-width: 85px;\n"
" margin-right: 5px;\n"
" padding-left: 5px;\n"
" padding-right: 5px;\n"
"}\n"
"QTabBar::tab:hover {\n"
" background: rgb(0, 78, 161);\n"
"}\n"
"QTabBar::tab:selected {\n"
" color: white;\n"
" background: rgb(0, 78, 161);\n"
"}\n"
"\n"
"QTabWidget#tabWidget::pane {\n"
" border: 1px solid rgb(111, 156, 207);\n"
" background: rgb(232, 241, 252);\n"
" margin-top: -1px;\n"
"}\n"
"\n"
"QTabBar#tabBar::tab {\n"
" border: 1px solid rgb(111, 156, 207);\n"
" border-bottom: none;\n"
" color: rgb(70, 71, 73);\n"
" background: transparent;\n"
"}\n"
"QTabBar#tabBar::tab:hover {\n"
" color: rgb(2, 65, 132);\n"
"}\n"
"QTabBar#tabBar::tab:selected {\n"
" color: rgb(2, 65, 132);\n"
" background: rgb(232, 241, 252);\n"
"}\n"
"\n"
"/**********表头**********/\n"
"QHeaderView{\n"
" border: none;\n"
" border-bottom: 3px solid rgb(0, 78, 161);\n"
" background: transparent;\n"
" min-height: 30px;\n"
"}\n"
"QHeaderView::section:horizontal {\n"
" border: none;\n"
" color: rgb(2, 65, 132);\n"
" background: transparent;\n"
" padding-left: 5px;\n"
"}\n"
"QHeaderView::section:horizontal:hover {\n"
" color: white;\n"
" background: rgb(0, 78, 161);\n"
"}\n"
"QHeaderView::section:horizontal:pressed {\n"
" color: white;\n"
" background: rgb(6, 94, 187);\n"
"}\n"
"QHeaderView::up-arrow {\n"
" width: 13px;\n"
" height: 11px;\n"
" padding-right: 5px;\n"
" image: url(:/White/topArrow);\n"
" subcontrol-position: center right;\n"
"}\n"
"QHeaderView::up-arrow:hover, QHeaderView::up-arrow:pressed {\n"
" image: url(:/White/topArrowHover);\n"
"}\n"
"QHeaderView::down-arrow {\n"
" width: 13px;\n"
" height: 11px;\n"
" padding-right: 5px;\n"
" image: url(:/White/bottomArrow);\n"
" subcontrol-position: center right;\n"
"}\n"
"QHeaderView::down-arrow:hover, QHeaderView::down-arrow:pressed {\n"
" image: url(:/White/bottomArrowHover);\n"
"}\n"
"\n"
"/**********表格**********/\n"
"QTableView {\n"
" border: 1px solid rgb(111, 156, 207);\n"
" background: rgb(224, 238, 255);\n"
" gridline-color: rgb(111, 156, 207);\n"
"}\n"
"QTableView::item {\n"
" padding-left: 5px;\n"
" padding-right: 5px;\n"
" border: none;\n"
" background: white;\n"
" border-right: 1px solid rgb(111, 156, 207);\n"
" border-bottom: 1px solid rgb(111, 156, 207);\n"
"}\n"
"QTableView::item:selected {\n"
" background: rgba(255, 255, 255, 100);\n"
"}\n"
"QTableView::item:selected:!active {\n"
" color: rgb(65, 65, 65);\n"
"}\n"
"QTableView::indicator {\n"
" width: 20px;\n"
" height: 20px;\n"
"}\n"
"QTableView::indicator:enabled:unchecked {\n"
" image: url(:/White/checkBox);\n"
"}\n"
"QTableView::indicator:enabled:unchecked:hover {\n"
" image: url(:/White/checkBoxHover);\n"
"}\n"
"QTableView::indicator:enabled:unchecked:pressed {\n"
" image: url(:/White/checkBoxPressed);\n"
"}\n"
"QTableView::indicator:enabled:checked {\n"
" image: url(:/White/checkBoxChecked);\n"
"}\n"
"QTableView::indicator:enabled:checked:hover {\n"
" image: url(:/White/checkBoxCheckedHover);\n"
"}\n"
"QTableView::indicator:enabled:checked:pressed {\n"
" image: url(:/White/checkBoxCheckedPressed);\n"
"}\n"
"QTableView::indicator:enabled:indeterminate {\n"
" image: url(:/White/checkBoxIndeterminate);\n"
"}\n"
"QTableView::indicator:enabled:indeterminate:hover {\n"
" image: url(:/White/checkBoxIndeterminateHover);\n"
"}\n"
"QTableView::indicator:enabled:indeterminate:pressed {\n"
" image: url(:/White/checkBoxIndeterminatePressed);\n"
"}\n"
"\n"
"/**********滚动条-水平**********/\n"
"QScrollBar:horizontal {\n"
" height: 20px;\n"
" background: transparent;\n"
" margin-top: 3px;\n"
" margin-bottom: 3px;\n"
"}\n"
"QScrollBar::handle:horizontal {\n"
" height: 20px;\n"
" min-width: 30px;\n"
" background: rgb(170, 200, 230);\n"
" margin-left: 15px;\n"
" margin-right: 15px;\n"
"}\n"
"QScrollBar::handle:horizontal:hover {\n"
" background: rgb(165, 195, 225);\n"
"}\n"
"QScrollBar::sub-line:horizontal {\n"
" width: 15px;\n"
" background: transparent;\n"
" image: url(:/White/arrowLeft);\n"
" subcontrol-position: left;\n"
"}\n"
"QScrollBar::add-line:horizontal {\n"
" width: 15px;\n"
" background: transparent;\n"
" image: url(:/White/arrowRight);\n"
" subcontrol-position: right;\n"
"}\n"
"QScrollBar::sub-line:horizontal:hover {\n"
" background: rgb(170, 200, 230);\n"
"}\n"
"QScrollBar::add-line:horizontal:hover {\n"
" background: rgb(170, 200, 230);\n"
"}\n"
"QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal {\n"
" background: transparent;\n"
"}\n"
"\n"
"/**********滚动条-垂直**********/\n"
"QScrollBar:vertical {\n"
" width: 20px;\n"
" background: transparent;\n"
" margin-left: 3px;\n"
" margin-right: 3px;\n"
"}\n"
"QScrollBar::handle:vertical {\n"
" width: 20px;\n"
" min-height: 30px;\n"
" background: rgb(170, 200, 230);\n"
" margin-top: 15px;\n"
" margin-bottom: 15px;\n"
"}\n"
"QScrollBar::handle:vertical:hover {\n"
" background: rgb(165, 195, 225);\n"
"}\n"
"QScrollBar::sub-line:vertical {\n"
" height: 15px;\n"
" background: transparent;\n"
" image: url(:/White/topArrow);\n"
" subcontrol-position: top;\n"
"}\n"
"QScrollBar::add-line:vertical {\n"
" height: 15px;\n"
" background: transparent;\n"
" image: url(:/White/bottomArrow);\n"
" subcontrol-position: bottom;\n"
"}\n"
"QScrollBar::sub-line:vertical:hover {\n"
" background: rgb(170, 200, 230);\n"
"}\n"
"QScrollBar::add-line:vertical:hover {\n"
" background: rgb(170, 200, 230);\n"
"}\n"
"QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {\n"
" background: transparent;\n"
"}\n"
"\n"
"QScrollBar#verticalScrollBar:vertical {\n"
" margin-top: 30px;\n"
"}\n"
"\n"
"/**********下拉列表**********/\n"
"QComboBox {\n"
" height: 25px;\n"
" border-radius: 4px;\n"
" border: 1px solid rgb(111, 156, 207);\n"
" background: white;\n"
"}\n"
"QComboBox:enabled {\n"
" color: rgb(84, 84, 84);\n"
"}\n"
"QComboBox:!enabled {\n"
" color: rgb(80, 80, 80);\n"
"}\n"
"QComboBox:enabled:hover, QComboBox:enabled:focus {\n"
" color: rgb(51, 51, 51);\n"
"}\n"
"QComboBox::drop-down {\n"
" width: 20px;\n"
" border: none;\n"
" background: transparent;\n"
"}\n"
"QComboBox::drop-down:hover {\n"
" background: rgba(255, 255, 255, 30);\n"
"}\n"
"QComboBox::down-arrow {\n"
" image: url(:/White/arrowBottom);\n"
"}\n"
"QComboBox::down-arrow:on {\n"
" /**top: 1px;**/\n"
"}\n"
"QComboBox QAbstractItemView {\n"
" border: 1px solid rgb(111, 156, 207);\n"
" background: white;\n"
" outline: none;\n"
"}\n"
"QComboBox QAbstractItemView::item {\n"
" height: 25px;\n"
" color: rgb(73, 73, 73);\n"
"}\n"
"QComboBox QAbstractItemView::item:selected {\n"
" background: rgb(232, 241, 250);\n"
" color: rgb(2, 65, 132);\n"
"}\n"
"\n"
"/**********进度条**********/\n"
"QProgressBar{\n"
" border: none;\n"
" text-align: center;\n"
" color: white;\n"
" background: rgb(173, 202, 232);\n"
"}\n"
"QProgressBar::chunk {\n"
" background: rgb(16, 135, 209);\n"
"}\n"
"\n"
"QProgressBar#progressBar {\n"
" border: none;\n"
" text-align: center;\n"
" color: white;\n"
" background-color: transparent;\n"
" background-image: url(\":/White/progressBar\");\n"
" background-repeat: repeat-x;\n"
"}\n"
"QProgressBar#progressBar::chunk {\n"
" border: none;\n"
" background-color: transparent;\n"
" background-image: url(\":/White/progressBarChunk\");\n"
" background-repeat: repeat-x;\n"
"}\n"
"\n"
"/**********复选框**********/\n"
"QCheckBox{\n"
" spacing: 5px;\n"
"}\n"
"QCheckBox:enabled:checked{\n"
" color: rgb(2, 65, 132);\n"
"}\n"
"QCheckBox:enabled:!checked{\n"
" color: rgb(70, 71, 73);\n"
"}\n"
"QCheckBox:enabled:hover{\n"
" color: rgb(0, 78, 161);\n"
"}\n"
"QCheckBox:!enabled{\n"
" color: rgb(80, 80, 80);\n"
"}\n"
"QCheckBox::indicator {\n"
" width: 20px;\n"
" height: 20px;\n"
"}\n"
"QCheckBox::indicator:unchecked {\n"
" image: url(:/White/checkBox);\n"
"}\n"
"QCheckBox::indicator:unchecked:hover {\n"
" image: url(:/White/checkBoxHover);\n"
"}\n"
"QCheckBox::indicator:unchecked:pressed {\n"
" image: url(:/White/checkBoxPressed);\n"
"}\n"
"QCheckBox::indicator:checked {\n"
" image: url(:/White/checkBoxChecked);\n"
"}\n"
"QCheckBox::indicator:checked:hover {\n"
" image: url(:/White/checkBoxCheckedHover);\n"
"}\n"
"QCheckBox::indicator:checked:pressed {\n"
" image: url(:/White/checkBoxCheckedPressed);\n"
"}\n"
"QCheckBox::indicator:indeterminate {\n"
" image: url(:/White/checkBoxIndeterminate);\n"
"}\n"
"QCheckBox::indicator:indeterminate:hover {\n"
" image: url(:/White/checkBoxIndeterminateHover);\n"
"}\n"
"QCheckBox::indicator:indeterminate:pressed {\n"
" image: url(:/White/checkBoxIndeterminatePressed);\n"
"}\n"
"\n"
"/**********单选框**********/\n"
"QRadioButton{\n"
" spacing: 5px;\n"
"}\n"
"QRadioButton:enabled:checked{\n"
" color: rgb(2, 65, 132);\n"
"}\n"
"QRadioButton:enabled:!checked{\n"
" color: rgb(70, 71, 73);\n"
"}\n"
"QRadioButton:enabled:hover{\n"
" color: rgb(0, 78, 161);\n"
"}\n"
"QRadioButton:!enabled{\n"
" color: rgb(80, 80, 80);\n"
"}\n"
"QRadioButton::indicator {\n"
" width: 20px;\n"
" height: 20px;\n"
"}\n"
"QRadioButton::indicator:unchecked {\n"
" image: url(:/White/radioButton);\n"
"}\n"
"QRadioButton::indicator:unchecked:hover {\n"
" image: url(:/White/radioButtonHover);\n"
"}\n"
"QRadioButton::indicator:unchecked:pressed {\n"
" image: url(:/White/radioButtonPressed);\n"
"}\n"
"QRadioButton::indicator:checked {\n"
" image: url(:/White/radioButtonChecked);\n"
"}\n"
"QRadioButton::indicator:checked:hover {\n"
" image: url(:/White/radioButtonCheckedHover);\n"
"}\n"
"QRadioButton::indicator:checked:pressed {\n"
" image: url(:/White/radioButtonCheckedPressed);\n"
"}\n"
"\n"
"/**********输入框**********/\n"
"QLineEdit {\n"
" border-radius: 4px;\n"
" height: 25px;\n"
" border: 1px solid rgb(111, 156, 207);\n"
" background: white;\n"
"}\n"
"QLineEdit:enabled {\n"
" color: rgb(84, 84, 84);\n"
"}\n"
"QLineEdit:enabled:hover, QLineEdit:enabled:focus {\n"
" color: rgb(51, 51, 51);\n"
"}\n"
"QLineEdit:!enabled {\n"
" color: rgb(80, 80, 80);\n"
"}\n"
"\n"
"/**********文本编辑框**********/\n"
"QTextEdit {\n"
" border: 1px solid rgb(111, 156, 207);\n"
" color: rgb(70, 71, 73);\n"
" background: rgb(187, 212, 238);\n"
"}\n"
"\n"
"/**********滚动区域**********/\n"
"QScrollArea {\n"
" border: 1px solid rgb(111, 156, 207);\n"
" background: rgb(187, 212, 238);\n"
"}\n"
"\n"
"/**********滚动区域**********/\n"
"QWidget#transparentWidget {\n"
" background: transparent;\n"
"}\n"
"\n"
"/**********微调器**********/\n"
"QSpinBox {\n"
" border-radius: 4px;\n"
" height: 24px;\n"
" min-width: 40px;\n"
" border: 1px solid rgb(111, 156, 207);\n"
" background: white;\n"
"}\n"
"QSpinBox:enabled {\n"
" color: rgb(60, 60, 60);\n"
"}\n"
"QSpinBox:enabled:hover, QSpinBox:enabled:focus {\n"
" color: rgb(51, 51, 51);\n"
"}\n"
"QSpinBox:!enabled {\n"
" color: rgb(210, 210, 210);\n"
" background: transparent;\n"
"}\n"
"QSpinBox::up-button {\n"
" border-left: 1px solid rgb(111, 156, 207);\n"
" width: 18px;\n"
" height: 12px;\n"
" border-top-right-radius: 4px;\n"
" image: url(:/White/upButton);\n"
"}\n"
"QSpinBox::up-button:!enabled {\n"
" background: transparent;\n"
"}\n"
"QSpinBox::up-button:enabled:hover {\n"
" background: rgb(255, 255, 255, 30);\n"
"}\n"
"QSpinBox::down-button {\n"
" border-left: 1px solid rgb(111, 156, 207);\n"
" width: 18px;\n"
" height: 12px;\n"
" border-bottom-right-radius: 4px;\n"
" image: url(:/White/downButton);\n"
"}\n"
"QSpinBox::down-button:!enabled {\n"
" background: transparent;\n"
"}\n"
"QSpinBox::down-button:hover {\n"
" background: rgb(255, 255, 255, 30);\n"
"}\n"
"\n"
"/**********标签**********/\n"
"QLabel#grayLabel {\n"
" color: rgb(70, 71, 73);\n"
"}\n"
"\n"
"QLabel#highlightLabel {\n"
" color: rgb(2, 65, 132);\n"
"}\n"
"\n"
"QLabel#redLabel {\n"
" color: red;\n"
"}\n"
"\n"
"QLabel#grayYaHeiLabel {\n"
" color: rgb(175, 175, 175);\n"
" font-size: 16px;\n"
"}\n"
"\n"
"QLabel#blueLabel {\n"
" color: rgb(0, 160, 230);\n"
"}\n"
"\n"
"QLabel#listLabel {\n"
" color: rgb(51, 51, 51);\n"
"}\n"
"\n"
"QLabel#lineBlueLabel {\n"
" background: rgb(0, 78, 161);\n"
"}\n"
"\n"
"QLabel#graySeperateLabel {\n"
" background: rgb(200, 220, 230);\n"
"}\n"
"\n"
"QLabel#seperateLabel {\n"
" background: rgb(112, 153, 194);\n"
"}\n"
"\n"
"QLabel#radiusBlueLabel {\n"
" border-radius: 15px;\n"
" color: white;\n"
" font-size: 16px;\n"
" background: rgb(0, 78, 161);\n"
"}\n"
"\n"
"QLabel#skinLabel[colorProperty=\"normal\"] {\n"
" color: rgb(56, 99, 154);\n"
"}\n"
"QLabel#skinLabel[colorProperty=\"highlight\"] {\n"
" color: rgb(0, 160, 230);\n"
"}\n"
"\n"
"QLabel#informationLabel {\n"
" qproperty-pixmap: url(:/White/information);\n"
"}\n"
"\n"
"QLabel#errorLabel {\n"
" qproperty-pixmap: url(:/White/error);\n"
"}\n"
"\n"
"QLabel#successLabel {\n"
" qproperty-pixmap: url(:/White/success);\n"
"}\n"
"\n"
"QLabel#questionLabel {\n"
" qproperty-pixmap: url(:/White/question);\n"
"}\n"
"\n"
"QLabel#warningLabel {\n"
" qproperty-pixmap: url(:/White/warning);\n"
"}\n"
"\n"
"QLabel#groupLabel {\n"
" color: rgb(56, 99, 154);\n"
" border: 1px solid rgb(111, 156, 207);\n"
" font-size: 15px;\n"
" border-top-color: transparent;\n"
" border-right-color: transparent;\n"
" border-left-color: transparent;\n"
"}\n"
"\n"
"/**********按钮**********/\n"
"QToolButton#nsccButton {\n"
" border: none;\n"
" color: rgb(2, 65, 132);\n"
" background: transparent;\n"
" padding: 10px;\n"
" qproperty-icon: url(:/White/nscc);\n"
" qproperty-iconSize: 32px 32px;\n"
" qproperty-toolButtonStyle: ToolButtonTextUnderIcon;\n"
"}\n"
"QToolButton#nsccButton:hover {\n"
" background: rgb(187, 212, 238);\n"
"}\n"
"\n"
"QToolButton#transferButton {\n"
" border: none;\n"
" color: rgb(2, 65, 132);\n"
" background: transparent;\n"
" padding: 10px;\n"
" qproperty-icon: url(:/White/transfer);\n"
" qproperty-iconSize: 32px 32px;\n"
" qproperty-toolButtonStyle: ToolButtonTextUnderIcon;\n"
"}\n"
"QToolButton#transferButton:hover {\n"
" background: rgb(187, 212, 238);\n"
"}\n"
"\n"
"/**********按钮**********/\n"
"QPushButton{\n"
" border-radius: 4px;\n"
" border: none;\n"
" width: 75px;\n"
" height: 25px;\n"
"}\n"
"QPushButton:enabled {\n"
" background: rgb(120, 170, 220);\n"
" color: white;\n"
"}\n"
"QPushButton:!enabled {\n"
" background: rgb(180, 180, 180);\n"
" color: white;\n"
"}\n"
"QPushButton:enabled:hover{\n"
" background: rgb(100, 160, 220);\n"
"}\n"
"QPushButton:enabled:pressed{\n"
" background: rgb(0, 78, 161);\n"
"}\n"
"\n"
"QPushButton#blueButton {\n"
" color: white;\n"
"}\n"
"QPushButton#blueButton:enabled {\n"
" background: rgb(0, 78, 161);\n"
" color: white;\n"
"}\n"
"QPushButton:!enabled {\n"
" background: rgb(180, 180, 180);\n"
" color: white;\n"
"}\n"
"QPushButton#blueButton:enabled:hover {\n"
" background: rgb(2, 65, 132);\n"
"}\n"
"QPushButton#blueButton:enabled:pressed {\n"
" background: rgb(6, 94, 187);\n"
"}\n"
"\n"
"QPushButton#selectButton {\n"
" border: none;\n"
" border-radius: none;\n"
" border-left: 1px solid rgb(111, 156, 207);\n"
" background: transparent;\n"
" image: url(:/White/scan);\n"
" color: rgb(51, 51, 51);\n"
"}\n"
"QPushButton#selectButton:enabled:hover{\n"
" background: rgb(187, 212, 238);\n"
"}\n"
"QPushButton#selectButton:enabled:pressed{\n"
" background: rgb(120, 170, 220);\n"
"}\n"
"\n"
"QPushButton#linkButton {\n"
" background: transparent;\n"
" color: rgb(0, 160, 230);\n"
" text-align:left;\n"
"}\n"
"QPushButton#linkButton:hover {\n"
" color: rgb(20, 185, 255);\n"
" text-decoration: underline;\n"
"}\n"
"QPushButton#linkButton:pressed {\n"
" color: rgb(0, 160, 230);\n"
"}\n"
"\n"
"QPushButton#transparentButton {\n"
" background: transparent;\n"
"}\n"
"\n"
"/*****************标题栏按钮*******************/\n"
"QPushButton#minimizeButton {\n"
" border-radius: none;\n"
" border-bottom-left-radius: 4px;\n"
" border-bottom-right-radius: 4px;\n"
" background: rgb(120, 170, 220);\n"
" image: url(:/White/minimizeHover);\n"
"}\n"
"QPushButton#minimizeButton:hover {\n"
" image: url(:/White/minimize);\n"
"}\n"
"QPushButton#minimizeButton:pressed {\n"
" image: url(:/White/minimizePressed);\n"
"}\n"
"\n"
"QPushButton#maximizeButton[maximizeProperty=\"maximize\"] {\n"
" border-radius: none;\n"
" border-bottom-left-radius: 4px;\n"
" border-bottom-right-radius: 4px;\n"
" background: rgb(120, 170, 220);\n"
" image: url(:/White/maximizeHover);\n"
"}\n"
"QPushButton#maximizeButton[maximizeProperty=\"maximize\"]:hover {\n"
" image: url(:/White/maximize);\n"
"}\n"
"QPushButton#maximizeButton[maximizeProperty=\"maximize\"]:pressed {\n"
" image: url(:/White/maximizePressed);\n"
"}\n"
"\n"
"QPushButton#maximizeButton[maximizeProperty=\"restore\"] {\n"
" border-radius: none;\n"
" border-bottom-left-radius: 4px;\n"
" border-bottom-right-radius: 4px;\n"
" background: rgb(120, 170, 220);\n"
" image: url(:/White/restoreHover);\n"
"}\n"
"QPushButton#maximizeButton[maximizeProperty=\"restore\"]:hover {\n"
" image: url(:/White/restore);\n"
"}\n"
"QPushButton#maximizeButton[maximizeProperty=\"restore\"]:pressed {\n"
" image: url(:/White/restorePressed);\n"
"}\n"
"\n"
"QPushButton#closeButton {\n"
" border-radius: none;\n"
" border-bottom-left-radius: 4px;\n"
" border-bottom-right-radius: 4px;\n"
" background: rgb(120, 170, 220);\n"
" image: url(:/White/closeHover);\n"
"}\n"
"QPushButton#closeButton:hover {\n"
" image: url(:/White/close);\n"
"}\n"
"QPushButton#closeButton:pressed {\n"
" image: url(:/White/closePressed);\n"
"}\n"
"\n"
"QPushButton#skinButton {\n"
" border-radius: none;\n"
" border-bottom-left-radius: 4px;\n"
" border-bottom-right-radius: 4px;\n"
" background: rgb(120, 170, 220);\n"
" image: url(:/White/skinHover);\n"
"}\n"
"QPushButton#skinButton:hover {\n"
" image: url(:/White/skin);\n"
"}\n"
"QPushButton#skinButton:pressed {\n"
" image: url(:/White/skinPressed);\n"
"}\n"
"\n"
"QPushButton#feedbackButton {\n"
" border-radius: none;\n"
" border-bottom-left-radius: 4px;\n"
" border-bottom-right-radius: 4px;\n"
" background: rgb(120, 170, 220);\n"
" image: url(:/White/feedbackHover);\n"
"}\n"
"QPushButton#feedbackButton:hover {\n"
" image: url(:/White/feedback);\n"
"}\n"
"QPushButton#feedbackButton:pressed {\n"
" image: url(:/White/feedbackPressed);\n"
"}\n"
"\n"
"QPushButton#closeTipButton {\n"
" border-radius: none;\n"
" border-image: url(:/White/close);\n"
" background: transparent;\n"
"}\n"
"QPushButton#closeTipButton:hover {\n"
" border-image: url(:/White/closeHover);\n"
"}\n"
"QPushButton#closeTipButton:pressed {\n"
" border-image: url(:/White/closePressed);\n"
"}\n"
"\n"
"QPushButton#changeSkinButton{\n"
" border-radius: 4px;\n"
" border: 2px solid rgb(111, 156, 207);\n"
" background: rgb(204, 227, 252);\n"
"}\n"
"QPushButton#changeSkinButton:hover{\n"
" border-color: rgb(60, 150, 200);\n"
"}\n"
"QPushButton#changeSkinButton:pressed, QPushButton#changeSkinButton:checked{\n"
" border-color: rgb(0, 160, 230);\n"
"}\n"
"\n"
"QPushButton#transferButton {\n"
" padding-left: 5px;\n"
" padding-right: 5px;\n"
" color: white;\n"
" background: rgb(0, 78, 161);\n"
"}\n"
"QPushButton#transferButton:hover {\n"
" background: rgb(2, 65, 132);\n"
"}\n"
"QPushButton#transferButton:pressed {\n"
" background: rgb(6, 94, 187);\n"
"}\n"
"QPushButton#transferButton[iconProperty=\"left\"] {\n"
" qproperty-icon: url(:/White/left);\n"
"}\n"
"QPushButton#transferButton[iconProperty=\"right\"] {\n"
" qproperty-icon: url(:/White/right);\n"
"}\n"
"\n"
"QPushButton#openButton {\n"
" border-radius: none;\n"
" image: url(:/White/open);\n"
" background: transparent;\n"
"}\n"
"QPushButton#openButton:hover {\n"
" image: url(:/White/openHover);\n"
"}\n"
"QPushButton#openButton:pressed {\n"
" image: url(:/White/openPressed);\n"
"}\n"
"\n"
"QPushButton#deleteButton {\n"
" border-radius: none;\n"
" image: url(:/White/delete);\n"
" background: transparent;\n"
"}\n"
"QPushButton#deleteButton:hover {\n"
" image: url(:/White/deleteHover);\n"
"}\n"
"QPushButton#deleteButton:pressed {\n"
" image: url(:/White/deletePressed);\n"
"}\n"
"\n"
"QPushButton#menuButton {\n"
" text-align: left center;\n"
" padding-left: 3px;\n"
" color: rgb(84, 84, 84);\n"
" border: 1px solid rgb(111, 156, 207);\n"
" background: white;\n"
"}\n"
"QPushButton#menuButton::menu-indicator{\n"
" subcontrol-position: right center;\n"
" subcontrol-origin: padding;\n"
" image: url(:/White/arrowBottom);\n"
" padding-right: 3px;\n"
"}")
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
self.tabWidget.setGeometry(QtCore.QRect(0, 0, 1131, 581))
self.tabWidget.setObjectName("tabWidget")
self.student = QtWidgets.QWidget()
self.student.setObjectName("student")
self.tableView = QtWidgets.QTableView(self.student)
self.tableView.setGeometry(QtCore.QRect(0, 0, 1131, 551))
self.tableView.setObjectName("tableView")
self.tabWidget.addTab(self.student, "")
self.teacher = QtWidgets.QWidget()
self.teacher.setObjectName("teacher")
self.tableView_2 = QtWidgets.QTableView(self.teacher)
self.tableView_2.setGeometry(QtCore.QRect(0, 0, 1131, 551))
self.tableView_2.setObjectName("tableView_2")
self.tabWidget.addTab(self.teacher, "")
self.course = QtWidgets.QWidget()
self.course.setObjectName("course")
self.tableView_3 = QtWidgets.QTableView(self.course)
self.tableView_3.setGeometry(QtCore.QRect(0, 0, 1131, 551))
self.tableView_3.setObjectName("tableView_3")
self.tabWidget.addTab(self.course, "")
self.department = QtWidgets.QWidget()
self.department.setObjectName("department")
self.tableView_4 = QtWidgets.QTableView(self.department)
self.tableView_4.setGeometry(QtCore.QRect(0, 0, 1131, 551))
self.tableView_4.setObjectName("tableView_4")
self.tabWidget.addTab(self.department, "")
self.sct = QtWidgets.QWidget()
self.sct.setObjectName("sct")
self.tableView_5 = QtWidgets.QTableView(self.sct)
self.tableView_5.setGeometry(QtCore.QRect(0, 0, 1131, 551))
self.tableView_5.setObjectName("tableView_5")
self.tabWidget.addTab(self.sct, "")
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1131, 30))
self.menubar.setObjectName("menubar")
self.menu_U = QtWidgets.QMenu(self.menubar)
self.menu_U.setObjectName("menu_U")
self.menu_F = QtWidgets.QMenu(self.menubar)
self.menu_F.setObjectName("menu_F")
self.menu = QtWidgets.QMenu(self.menu_F)
self.menu.setObjectName("menu")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.action2_D = QtWidgets.QAction(MainWindow)
self.action2_D.setObjectName("action2_D")
self.action3_C = QtWidgets.QAction(MainWindow)
self.action3_C.setObjectName("action3_C")
self.action_2 = QtWidgets.QAction(MainWindow)
self.action_2.setObjectName("action_2")
self.action_3 = QtWidgets.QAction(MainWindow)
self.action_3.setObjectName("action_3")
self.action_4 = QtWidgets.QAction(MainWindow)
self.action_4.setObjectName("action_4")
self.actionxiugai = QtWidgets.QAction(MainWindow)
self.actionxiugai.setObjectName("actionxiugai")
self.actiony = QtWidgets.QAction(MainWindow)
self.actiony.setObjectName("actiony")
self.actiont = QtWidgets.QAction(MainWindow)
self.actiont.setObjectName("actiont")
self.actionK = QtWidgets.QAction(MainWindow)
self.actionK.setObjectName("actionK")
self.actionJ = QtWidgets.QAction(MainWindow)
self.actionJ.setObjectName("actionJ")
self.menu_U.addAction(self.action_3)
self.menu_U.addAction(self.actiony)
self.menu_U.addAction(self.actiont)
self.menu.addAction(self.actionK)
self.menu.addAction(self.actionJ)
self.menu_F.addAction(self.action3_C)
self.menu_F.addAction(self.actionxiugai)
self.menu_F.addAction(self.action_2)
self.menu_F.addAction(self.action2_D)
self.menu_F.addAction(self.action_4)
self.menu_F.addAction(self.menu.menuAction())
self.menubar.addAction(self.menu_U.menuAction())
self.menubar.addAction(self.menu_F.menuAction())
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(4)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "学生选课管理系统"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.student), _translate("MainWindow", "学生"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.teacher), _translate("MainWindow", "教师"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.course), _translate("MainWindow", "课程"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.department), _translate("MainWindow", "院系"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.sct), _translate("MainWindow", "选课"))
self.menu_U.setTitle(_translate("MainWindow", "开始(&U)"))
self.menu_F.setTitle(_translate("MainWindow", "操作(&F)"))
self.menu.setTitle(_translate("MainWindow", "选课"))
self.action2_D.setText(_translate("MainWindow", "删除"))
self.action2_D.setToolTip(_translate("MainWindow", "Ctrl + D"))
self.action2_D.setShortcut(_translate("MainWindow", "Ctrl+D"))
self.action3_C.setText(_translate("MainWindow", "查询信息(&C)"))
self.action_2.setText(_translate("MainWindow", "增加"))
self.action_2.setToolTip(_translate("MainWindow", "Ctrl + A"))
self.action_2.setShortcut(_translate("MainWindow", "Ctrl+A"))
self.action_3.setText(_translate("MainWindow", "关闭"))
self.action_3.setToolTip(_translate("MainWindow", "关闭"))
self.action_3.setShortcut(_translate("MainWindow", "Alt+E"))
self.action_4.setText(_translate("MainWindow", "刷新"))
self.action_4.setToolTip(_translate("MainWindow", "ctrl + S"))
self.action_4.setShortcut(_translate("MainWindow", "Ctrl+S"))
self.actionxiugai.setText(_translate("MainWindow", "修改密码(&D)"))
self.actionxiugai.setShortcut(_translate("MainWindow", "Ctrl+M"))
self.actiony.setText(_translate("MainWindow", "退出登录"))
self.actiony.setShortcut(_translate("MainWindow", "Ctrl+Q"))
self.actiont.setText(_translate("MainWindow", "生成报表"))
self.actiont.setShortcut(_translate("MainWindow", "Ctrl+W"))
self.actionK.setText(_translate("MainWindow", "开始选课"))
self.actionK.setShortcut(_translate("MainWindow", "Ctrl+K"))
self.actionJ.setText(_translate("MainWindow", "结束选课"))
self.actionJ.setShortcut(_translate("MainWindow", "Ctrl+J"))

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mystifying-Course-information-management.git
git@api.gitlife.ru:oschina-mirror/mystifying-Course-information-management.git
oschina-mirror
mystifying-Course-information-management
mystifying-Course-information-management
master