Commit 6f11045c authored by Zheng Yile's avatar Zheng Yile
Browse files

Modify mainFunctions.py, mainWindow.py, mainWindow.ui

parent 65ad8e27
......@@ -329,9 +329,6 @@ def BeginMain(callback=None):
uiMain.textEditSubmit.setTabStopWidth(uiMain.textEditSubmit.font().pointSize() * 4)
else:
uiMain.textEditSubmit.setTabStopWidth(uiMain.textEditSubmit.font().pointSize() * 2)
codeFont = QFont()
codeFont.setFamily("Consolas")
uiMain.textEditSubmit.setFont(codeFont)
# uiMain.listWidgetPack.itemClicked.connect(getSelectedPid)
uiMain.listWidgetPack.itemDoubleClicked.connect(frameExerciseInit)
......
......@@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'mainWindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
# Created by: PyQt5 UI code generator 5.15.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
......@@ -134,6 +134,9 @@ class Ui_windowMain(object):
self.labelSubmitStatus.setObjectName("labelSubmitStatus")
self.textEditSubmit = QtWidgets.QTextEdit(self.frameSubmit)
self.textEditSubmit.setGeometry(QtCore.QRect(28, 30, 1024, 531))
font = QtGui.QFont()
font.setFamily("Consolas")
self.textEditSubmit.setFont(font)
self.textEditSubmit.setTabStopWidth(40)
self.textEditSubmit.setObjectName("textEditSubmit")
self.progressBarSubmit = NewProgressBar(self.frameSubmit)
......@@ -179,6 +182,9 @@ class Ui_windowMain(object):
self.frameCode.setObjectName("frameCode")
self.textEditCode = QtWidgets.QTextEdit(self.frameCode)
self.textEditCode.setGeometry(QtCore.QRect(28, 30, 1024, 531))
font = QtGui.QFont()
font.setFamily("Consolas")
self.textEditCode.setFont(font)
self.textEditCode.setReadOnly(True)
self.textEditCode.setObjectName("textEditCode")
self.pushButtonShowTestData = NewPushButton(self.frameCode)
......@@ -212,7 +218,7 @@ class Ui_windowMain(object):
self.frameTestData.raise_()
windowMain.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(windowMain)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1080, 24))
self.menubar.setGeometry(QtCore.QRect(0, 0, 1080, 26))
self.menubar.setObjectName("menubar")
windowMain.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(windowMain)
......
......@@ -441,6 +441,11 @@
<height>531</height>
</rect>
</property>
<property name="font">
<font>
<family>Consolas</family>
</font>
</property>
<property name="tabStopWidth">
<number>40</number>
</property>
......@@ -611,6 +616,11 @@
<height>531</height>
</rect>
</property>
<property name="font">
<font>
<family>Consolas</family>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
......@@ -720,7 +730,7 @@
<x>0</x>
<y>0</y>
<width>1080</width>
<height>24</height>
<height>26</height>
</rect>
</property>
</widget>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment