Skip to content
GitLab
Menu
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
8e20a47f
Commit
8e20a47f
authored
Jun 22, 2021
by
Zheng Yile
Browse files
Attempt to fit darwin
parent
7cb4f41a
Changes
5
Hide whitespace changes
Inline
Side-by-side
codiaclientgui/utils.py
View file @
8e20a47f
...
...
@@ -19,8 +19,7 @@ if sys.platform == 'win32':
Font
[
'main'
].
setFamily
(
"Microsoft YaHei"
)
Font
[
'main'
].
setPointSize
(
10
)
elif
sys
.
platform
==
'darwin'
:
Font
[
'main'
].
setFamily
(
"Microsoft YaHei"
)
Font
[
'main'
].
setPointSize
(
13
)
pass
else
:
Font
[
'main'
].
setFamily
(
"Microsoft YaHei"
)
Font
[
'main'
].
setPointSize
(
13
)
...
...
functionWindow.py
View file @
8e20a47f
...
...
@@ -16,10 +16,6 @@ class Ui_functionWindow(object):
functionWindow
.
setObjectName
(
"functionWindow"
)
functionWindow
.
resize
(
1000
,
720
)
functionWindow
.
setMaximumSize
(
QtCore
.
QSize
(
1000
,
720
))
font
=
QtGui
.
QFont
()
font
.
setFamily
(
"Microsoft YaHei"
)
font
.
setPointSize
(
10
)
functionWindow
.
setFont
(
font
)
icon
=
QtGui
.
QIcon
()
icon
.
addPixmap
(
QtGui
.
QPixmap
(
"favicon.ico"
),
QtGui
.
QIcon
.
Normal
,
QtGui
.
QIcon
.
Off
)
functionWindow
.
setWindowIcon
(
icon
)
...
...
functionWindow.ui
View file @
8e20a47f
...
...
@@ -16,12 +16,6 @@
<height>
720
</height>
</size>
</property>
<property
name=
"font"
>
<font>
<family>
Microsoft YaHei
</family>
<pointsize>
10
</pointsize>
</font>
</property>
<property
name=
"windowTitle"
>
<string>
题包列表
</string>
</property>
...
...
loginWindow.py
View file @
8e20a47f
...
...
@@ -17,10 +17,6 @@ class Ui_loginWindow(object):
loginWindow
.
resize
(
640
,
360
)
loginWindow
.
setMinimumSize
(
QtCore
.
QSize
(
0
,
0
))
loginWindow
.
setMaximumSize
(
QtCore
.
QSize
(
640
,
420
))
font
=
QtGui
.
QFont
()
font
.
setFamily
(
"Microsoft YaHei"
)
font
.
setPointSize
(
10
)
loginWindow
.
setFont
(
font
)
icon
=
QtGui
.
QIcon
()
icon
.
addPixmap
(
QtGui
.
QPixmap
(
"favicon.ico"
),
QtGui
.
QIcon
.
Normal
,
QtGui
.
QIcon
.
Off
)
loginWindow
.
setWindowIcon
(
icon
)
...
...
loginWindow.ui
View file @
8e20a47f
...
...
@@ -22,12 +22,6 @@
<height>
420
</height>
</size>
</property>
<property
name=
"font"
>
<font>
<family>
Microsoft YaHei
</family>
<pointsize>
10
</pointsize>
</font>
</property>
<property
name=
"windowTitle"
>
<string>
欢迎使用Codia——登录
</string>
</property>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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