mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
feat: options dialog cleanup, menu/tree styling, light theme contrast
- Remove dead "Safe Mode" option, rename title case to "Uppercase menu items" - Options tree: icons, themed hover/selection, mouse tracking (matches workspace tree) - Tree item row padding (+4px) via MenuBarStyle CT_ItemViewItem for all trees - Titlebar grows 2px when icon shown - Menu popups: custom separator drawing, opaque background fill, flat hover highlight - Menu bar/popup hover uses accent color (QPalette::Highlight) instead of grey - Light theme: bump textMuted/textFaint contrast - Dock grip widget for workspace and scanner docks
This commit is contained in:
@@ -107,12 +107,14 @@ void TitleBarWidget::setShowIcon(bool show) {
|
||||
if (show) {
|
||||
m_appLabel->setText(QString());
|
||||
m_appLabel->setPixmap(QIcon(":/icons/class.png").pixmap(24, 24));
|
||||
setFixedHeight(34);
|
||||
} else {
|
||||
m_appLabel->setPixmap(QPixmap());
|
||||
m_appLabel->setText(QStringLiteral("Reclass"));
|
||||
m_appLabel->setStyleSheet(
|
||||
QStringLiteral("QLabel { color: %1; font-size: 12px; font-weight: bold; }")
|
||||
.arg(m_theme.text.name()));
|
||||
setFixedHeight(32);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user