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
78d5d7cb
Commit
78d5d7cb
authored
Jul 06, 2021
by
Zheng Yile
Browse files
修复在某些情况下部分控件显示字体不全的bug
parent
c1218275
Changes
2
Hide whitespace changes
Inline
Side-by-side
mainWindow.py
View file @
78d5d7cb
...
...
@@ -106,13 +106,14 @@ class Ui_windowMain(object):
self
.
pushButtonQuestionReturn
.
setGeometry
(
QtCore
.
QRect
(
890
,
630
,
120
,
32
))
self
.
pushButtonQuestionReturn
.
setObjectName
(
"pushButtonQuestionReturn"
)
self
.
labelQuestionStatus
=
QtWidgets
.
QLabel
(
self
.
frameQuestion
)
self
.
labelQuestionStatus
.
setGeometry
(
QtCore
.
QRect
(
30
,
0
,
150
,
30
))
self
.
labelQuestionStatus
.
setGeometry
(
QtCore
.
QRect
(
0
,
0
,
180
,
30
))
self
.
labelQuestionStatus
.
setIndent
(
10
)
self
.
labelQuestionStatus
.
setObjectName
(
"labelQuestionStatus"
)
self
.
pushButtonSubmitFile
=
NewPushButton
(
self
.
frameQuestion
)
self
.
pushButtonSubmitFile
.
setGeometry
(
QtCore
.
QRect
(
397
,
630
,
120
,
32
))
self
.
pushButtonSubmitFile
.
setObjectName
(
"pushButtonSubmitFile"
)
self
.
comboBoxLanguage
=
QtWidgets
.
QComboBox
(
self
.
frameQuestion
)
self
.
comboBoxLanguage
.
setGeometry
(
QtCore
.
QRect
(
9
2
0
,
0
,
1
32
,
30
))
self
.
comboBoxLanguage
.
setGeometry
(
QtCore
.
QRect
(
90
1
,
0
,
1
51
,
30
))
self
.
comboBoxLanguage
.
setObjectName
(
"comboBoxLanguage"
)
self
.
comboBoxLanguage
.
addItem
(
""
)
self
.
frameSubmit
=
QtWidgets
.
QFrame
(
self
.
centralwidget
)
...
...
@@ -121,11 +122,12 @@ class Ui_windowMain(object):
self
.
frameSubmit
.
setFrameShadow
(
QtWidgets
.
QFrame
.
Raised
)
self
.
frameSubmit
.
setObjectName
(
"frameSubmit"
)
self
.
comboBoxLanguageSubmit
=
QtWidgets
.
QComboBox
(
self
.
frameSubmit
)
self
.
comboBoxLanguageSubmit
.
setGeometry
(
QtCore
.
QRect
(
9
2
0
,
0
,
1
32
,
30
))
self
.
comboBoxLanguageSubmit
.
setGeometry
(
QtCore
.
QRect
(
90
1
,
0
,
1
51
,
30
))
self
.
comboBoxLanguageSubmit
.
setObjectName
(
"comboBoxLanguageSubmit"
)
self
.
comboBoxLanguageSubmit
.
addItem
(
""
)
self
.
labelSubmitStatus
=
QtWidgets
.
QLabel
(
self
.
frameSubmit
)
self
.
labelSubmitStatus
.
setGeometry
(
QtCore
.
QRect
(
30
,
0
,
150
,
30
))
self
.
labelSubmitStatus
.
setGeometry
(
QtCore
.
QRect
(
0
,
0
,
180
,
30
))
self
.
labelSubmitStatus
.
setIndent
(
10
)
self
.
labelSubmitStatus
.
setObjectName
(
"labelSubmitStatus"
)
self
.
textEditSubmit
=
QtWidgets
.
QTextEdit
(
self
.
frameSubmit
)
self
.
textEditSubmit
.
setGeometry
(
QtCore
.
QRect
(
28
,
30
,
1024
,
531
))
...
...
mainWindow.ui
View file @
78d5d7cb
...
...
@@ -320,15 +320,18 @@
<widget
class=
"QLabel"
name=
"labelQuestionStatus"
>
<property
name=
"geometry"
>
<rect>
<x>
3
0
</x>
<x>
0
</x>
<y>
0
</y>
<width>
1
5
0
</width>
<width>
1
8
0
</width>
<height>
30
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
通过/尝试:
</string>
</property>
<property
name=
"indent"
>
<number>
10
</number>
</property>
</widget>
<widget
class=
"NewPushButton"
name=
"pushButtonSubmitFile"
>
<property
name=
"geometry"
>
...
...
@@ -346,9 +349,9 @@
<widget
class=
"QComboBox"
name=
"comboBoxLanguage"
>
<property
name=
"geometry"
>
<rect>
<x>
9
2
0
</x>
<x>
90
1
</x>
<y>
0
</y>
<width>
1
32
</width>
<width>
1
51
</width>
<height>
30
</height>
</rect>
</property>
...
...
@@ -377,9 +380,9 @@
<widget
class=
"QComboBox"
name=
"comboBoxLanguageSubmit"
>
<property
name=
"geometry"
>
<rect>
<x>
9
2
0
</x>
<x>
90
1
</x>
<y>
0
</y>
<width>
1
32
</width>
<width>
1
51
</width>
<height>
30
</height>
</rect>
</property>
...
...
@@ -392,15 +395,18 @@
<widget
class=
"QLabel"
name=
"labelSubmitStatus"
>
<property
name=
"geometry"
>
<rect>
<x>
3
0
</x>
<x>
0
</x>
<y>
0
</y>
<width>
1
5
0
</width>
<width>
1
8
0
</width>
<height>
30
</height>
</rect>
</property>
<property
name=
"text"
>
<string>
通过/尝试
</string>
</property>
<property
name=
"indent"
>
<number>
10
</number>
</property>
</widget>
<widget
class=
"QTextEdit"
name=
"textEditSubmit"
>
<property
name=
"geometry"
>
...
...
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