[Bug 207877] A18Y: do not use hardcoded values for default (color scheme incompatibility)
Martin Koller
kollix at aon.at
Fri Sep 25 20:35:54 BST 2009
https://bugs.kde.org/show_bug.cgi?id=207877
--- Comment #4 from Martin Koller <kollix aon at> 2009-09-25 21:35:53 ---
Here is the current kmail code regarding color defaults (configuredialog.cpp):
static const QColor defaultColor[ numColorNames ] = {
QColor( 0x00, 0x80, 0x00 ), // quoted l1
QColor( 0x00, 0x70, 0x00 ), // quoted l2
QColor( 0x00, 0x60, 0x00 ), // quoted l3
scheme.foreground( KColorScheme::LinkText ).color(), // link
scheme.foreground( KColorScheme::VisitedText ).color(),// visited link
scheme.foreground( KColorScheme::NegativeText ).color(), // misspelled
words
Qt::red, // new msg
Qt::blue, // unread mgs
QColor( 0x00, 0x7F, 0x00 ), // important msg
scheme.foreground( KColorScheme::LinkText ).color(), // action item mgs
QColor( 0x00, 0x80, 0xFF ), // pgp encrypted
scheme.background( KColorScheme::PositiveBackground ).color(), // pgp ok,
trusted key
QColor( 0xFF, 0xFF, 0x40 ), // pgp ok, untrusted key
QColor( 0xFF, 0xFF, 0x40 ), // pgp unchk
Qt::red, // pgp bad
QColor( 0xFF, 0x40, 0x40 ), // warning text color
scheme.foreground( KColorScheme::NegativeText ).color(), // close to quota
Qt::lightGray, // colorbar plain bg
Qt::black, // colorbar plain fg
Qt::black, // colorbar html bg
Qt::white // colorbar html fg
If you think you find a better mapping, please make a proposal (or even better:
produce a patch).
Thanks.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list