fix: admit linked legacy ICDB projects and explain blocked actions

This commit is contained in:
阿白叔 committed 2026-11-03 13:51:05 +08:00
1 parent 5eac654c36
commit d36b6bcad0
8 files changed
+138 -18

No files matched your search

+3
View File
@@ -27,6 +27,8 @@ def configure_qt_application(app):
}
for role, color in colors.items():
palette.setColor(role, QColor(color))
for role in (QPalette.ColorRole.WindowText, QPalette.ColorRole.Text, QPalette.ColorRole.ButtonText):
palette.setColor(QPalette.ColorGroup.Disabled, role, QColor('#858b94'))
app.setPalette(palette)
app.setStyleSheet(
'QWidget { color: #202124; }'
@@ -34,6 +36,7 @@ def configure_qt_application(app):
'background: #ffffff; color: #202124; selection-color: #202124; }'
'QHeaderView::section { background: #e9edf2; color: #202124; }'
'QPushButton, QToolButton { color: #202124; }'
'QPushButton:disabled, QToolButton:disabled { color: #858b94; background: #e3e6eb; }'
)
return app