添加 GPLv3 Logo

This commit is contained in:
2025-06-29 03:12:31 +08:00
parent 964ba2ef8e
commit 9e23810ccb
5 changed files with 414 additions and 8 deletions

View File

@@ -35,11 +35,16 @@ class AboutCard(HeaderCardWidget):
self.vBoxLayout = QVBoxLayout(self)
self.vBoxLayout.setContentsMargins(0, 0, 0, 0)
self.lineHBoxLayout = QHBoxLayout(self)
self.lineHBoxLayout.setContentsMargins(24, 16, 24, 8)
self.lineVBoxLayout = QVBoxLayout(self)
self.lineVBoxLayout.setContentsMargins(24, 16, 24, 8)
self.lineVBoxLayout.setContentsMargins(0, 0, 0, 0)
self.textVBoxLayout = QVBoxLayout(self)
self.textVBoxLayout.setContentsMargins(24, 8, 24, 16)
self.viewLayout.setContentsMargins(0, 0, 0, 0)
self.gplv3Image = ImageLabel(':/images/gplv3.png')
self.lineHBoxLayout.addLayout(self.lineVBoxLayout)
self.lineHBoxLayout.addWidget(self.gplv3Image)
self.addLine('程序名称', '教学工具箱')
if RELEASE_ENV:
@@ -57,7 +62,7 @@ class AboutCard(HeaderCardWidget):
self.addTextWithLink('您应该已收到一份 GNU 通用公共许可证的副本;如果没有,请查看<',
'https://www.gnu.org/licenses/gpl-3.0.html')
self.vBoxLayout.addLayout(self.lineVBoxLayout)
self.vBoxLayout.addLayout(self.lineHBoxLayout)
self.vBoxLayout.addWidget(CardSeparator(self))
self.vBoxLayout.addLayout(self.textVBoxLayout)
self.viewLayout.addLayout(self.vBoxLayout)