Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zheng Yile
codiaclient
Commits
6f11045c
Commit
6f11045c
authored
Jun 27, 2021
by
Zheng Yile
Browse files
Modify mainFunctions.py, mainWindow.py, mainWindow.ui
parent
65ad8e27
Changes
3
Hide whitespace changes
Inline
Side-by-side
mainFunctions.py
View file @
6f11045c
...
...
@@ -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
)
...
...
mainWindow.py
View file @
6f11045c
...
...
@@ -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
,
2
4
))
self
.
menubar
.
setGeometry
(
QtCore
.
QRect
(
0
,
0
,
1080
,
2
6
))
self
.
menubar
.
setObjectName
(
"menubar"
)
windowMain
.
setMenuBar
(
self
.
menubar
)
self
.
statusbar
=
QtWidgets
.
QStatusBar
(
windowMain
)
...
...
mainWindow.ui
View file @
6f11045c
...
...
@@ -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>
2
4
</height>
<height>
2
6
</height>
</rect>
</property>
</widget>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment