feat(auth): 授权弹窗添加公司联系信息,删除旧提示语
This commit is contained in:
@ -69,15 +69,6 @@ class LicenseDialog(QDialog):
|
|||||||
title_label.setStyleSheet("color: #2c3e50;")
|
title_label.setStyleSheet("color: #2c3e50;")
|
||||||
main_layout.addWidget(title_label)
|
main_layout.addWidget(title_label)
|
||||||
|
|
||||||
# ── 说明文字 ──
|
|
||||||
hint_label = QLabel(
|
|
||||||
"请获取授权文件(license.lic)后导入,"
|
|
||||||
"或联系技术支持获取授权。"
|
|
||||||
)
|
|
||||||
hint_label.setAlignment(Qt.AlignCenter)
|
|
||||||
hint_label.setStyleSheet("color: #7f8c8d; font-size: 12px;")
|
|
||||||
main_layout.addWidget(hint_label)
|
|
||||||
|
|
||||||
# ── 机器码标签 ──
|
# ── 机器码标签 ──
|
||||||
code_label = QLabel("本机机器码(用于申请授权):")
|
code_label = QLabel("本机机器码(用于申请授权):")
|
||||||
code_label.setStyleSheet("font-weight: bold; color: #34495e;")
|
code_label.setStyleSheet("font-weight: bold; color: #34495e;")
|
||||||
@ -149,6 +140,14 @@ class LicenseDialog(QDialog):
|
|||||||
tip_label.setStyleSheet("color: #95a5a6; font-size: 11px;")
|
tip_label.setStyleSheet("color: #95a5a6; font-size: 11px;")
|
||||||
main_layout.addWidget(tip_label)
|
main_layout.addWidget(tip_label)
|
||||||
|
|
||||||
|
# ── 授权公司联系信息 ──
|
||||||
|
company_label = QLabel(
|
||||||
|
"请联系授权公司:北京理加联合科技有限公司 或者 北京依锐思遥感技术有限公司"
|
||||||
|
)
|
||||||
|
company_label.setAlignment(Qt.AlignCenter)
|
||||||
|
company_label.setStyleSheet("color: #e74c3c; font-size: 12px; font-weight: bold;")
|
||||||
|
main_layout.addWidget(company_label)
|
||||||
|
|
||||||
# ── 取消按钮(退出程序)──
|
# ── 取消按钮(退出程序)──
|
||||||
cancel_btn = QPushButton("退出")
|
cancel_btn = QPushButton("退出")
|
||||||
cancel_btn.setCursor(Qt.PointingHandCursor)
|
cancel_btn.setCursor(Qt.PointingHandCursor)
|
||||||
|
|||||||
Reference in New Issue
Block a user