Mercurial > hg > svgui
comparison view/ViewManager.cpp @ 1576:9c4a057302ff background-mode
Apply sensible highlight/link colours
author | Chris Cannam |
---|---|
date | Thu, 23 Jan 2020 15:14:07 +0000 |
parents | 3761d1ea5015 |
children | 2c974337f306 |
comparison
equal
deleted
inserted
replaced
1575:3761d1ea5015 | 1576:9c4a057302ff |
---|---|
103 QColor("#f0f0f0"), // Text | 103 QColor("#f0f0f0"), // Text |
104 QColor("#ffffff"), // BrightText | 104 QColor("#ffffff"), // BrightText |
105 QColor("#000000"), // Base | 105 QColor("#000000"), // Base |
106 QColor("#202020")); // Window | 106 QColor("#202020")); // Window |
107 | 107 |
108 m_darkPalette.setColor(QPalette::Highlight, QColor(25, 130, 220)); | |
109 m_darkPalette.setColor(QPalette::Link, QColor(50, 175, 255)); | |
110 m_darkPalette.setColor(QPalette::LinkVisited, QColor(50, 175, 255)); | |
111 | |
108 m_darkPalette.setColor(QPalette::Disabled, QPalette::WindowText, | 112 m_darkPalette.setColor(QPalette::Disabled, QPalette::WindowText, |
109 QColor("#808080")); | 113 QColor("#808080")); |
110 m_darkPalette.setColor(QPalette::Disabled, QPalette::Text, | 114 m_darkPalette.setColor(QPalette::Disabled, QPalette::Text, |
111 QColor("#808080")); | 115 QColor("#808080")); |
112 m_darkPalette.setColor(QPalette::Disabled, QPalette::Shadow, | 116 m_darkPalette.setColor(QPalette::Disabled, QPalette::Shadow, |