Mercurial > hg > easaier-soundaccess
view widgets/EasaierStyle.cpp @ 282:d9319859a4cf tip
(none)
author | benoitrigolleau |
---|---|
date | Fri, 31 Oct 2008 11:00:24 +0000 |
parents | a5d941805d45 |
children |
line wrap: on
line source
#include "EasaierStyle.h" QPalette EasaierStyle::standardPalette() const{ QPalette palette; palette.setBrush(QPalette::Disabled, QPalette::WindowText, QColor(QRgb(0xff808080))); palette.setBrush(QPalette::Disabled, QPalette::Button, QColor(QRgb(0xffdddfe4))); ////dddfe4 palette.setBrush(QPalette::Disabled, QPalette::Light, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Disabled, QPalette::Midlight, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Disabled, QPalette::Dark, QColor(QRgb(0xff555555))); palette.setBrush(QPalette::Disabled, QPalette::Mid, QColor(QRgb(0xffc7c7c7))); palette.setBrush(QPalette::Disabled, QPalette::Text, QColor(QRgb(0xffc7c7c7))); palette.setBrush(QPalette::Disabled, QPalette::BrightText, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Disabled, QPalette::ButtonText, QColor(QRgb(0xff808080))); palette.setBrush(QPalette::Disabled, QPalette::Base, QColor(QRgb(0xffefefef))); palette.setBrush(QPalette::Disabled, QPalette::AlternateBase, palette.color(QPalette::Disabled, QPalette::Base).dark(110)); palette.setBrush(QPalette::Disabled, QPalette::Window, QColor(QRgb(0xffefefef))); palette.setBrush(QPalette::Disabled, QPalette::Shadow, QColor(QRgb(0xff000000))); palette.setBrush(QPalette::Disabled, QPalette::Highlight, QColor(QRgb(0xffdbf756))); //567594 palette.setBrush(QPalette::Disabled, QPalette::HighlightedText, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Disabled, QPalette::Link, QColor(QRgb(0xff0000ee))); palette.setBrush(QPalette::Disabled, QPalette::LinkVisited, QColor(QRgb(0xff52188b))); palette.setBrush(QPalette::Active, QPalette::WindowText, QColor(QRgb(0xff000000))); palette.setBrush(QPalette::Active, QPalette::Button, QColor(QRgb(0xffdddfe4))); palette.setBrush(QPalette::Active, QPalette::Light, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Active, QPalette::Midlight, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Active, QPalette::Dark, QColor(QRgb(0xff555555))); palette.setBrush(QPalette::Active, QPalette::Mid, QColor(QRgb(0xffc7c7c7))); palette.setBrush(QPalette::Active, QPalette::Text, QColor(QRgb(0xff000000))); palette.setBrush(QPalette::Active, QPalette::BrightText, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Active, QPalette::ButtonText, QColor(QRgb(0xff000000))); palette.setBrush(QPalette::Active, QPalette::Base, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Active, QPalette::AlternateBase, palette.color(QPalette::Active, QPalette::Base).dark(110)); palette.setBrush(QPalette::Active, QPalette::Window, QColor(QRgb(0xffefefef))); palette.setBrush(QPalette::Active, QPalette::Shadow, QColor(QRgb(0xff000000))); palette.setBrush(QPalette::Active, QPalette::Highlight, QColor(QRgb(0xffdbf756))); // palette.setBrush(QPalette::Active, QPalette::HighlightedText, QColor(QRgb(0xff000000))); palette.setBrush(QPalette::Active, QPalette::Link, QColor(QRgb(0xff0000ee))); palette.setBrush(QPalette::Active, QPalette::LinkVisited, QColor(QRgb(0xff52188b))); palette.setBrush(QPalette::Inactive, QPalette::WindowText, QColor(QRgb(0xff000000))); palette.setBrush(QPalette::Inactive, QPalette::Button, QColor(QRgb(0xffdddfe4))); //dddfe4 palette.setBrush(QPalette::Inactive, QPalette::Light, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Inactive, QPalette::Midlight, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Inactive, QPalette::Dark, QColor(QRgb(0xff555555))); palette.setBrush(QPalette::Inactive, QPalette::Mid, QColor(QRgb(0xffc7c7c7))); palette.setBrush(QPalette::Inactive, QPalette::Text, QColor(QRgb(0xff000000))); palette.setBrush(QPalette::Inactive, QPalette::BrightText, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Inactive, QPalette::ButtonText, QColor(QRgb(0xff000000))); palette.setBrush(QPalette::Inactive, QPalette::Base, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Inactive, QPalette::AlternateBase, palette.color(QPalette::Inactive, QPalette::Base).dark(110)); palette.setBrush(QPalette::Inactive, QPalette::Window, QColor(QRgb(0xffefefef))); palette.setBrush(QPalette::Inactive, QPalette::Shadow, QColor(QRgb(0xff000000))); palette.setBrush(QPalette::Inactive, QPalette::Highlight, QColor(QRgb(0xffdbf756))); //678db2 palette.setBrush(QPalette::Inactive, QPalette::HighlightedText, QColor(QRgb(0xffffffff))); palette.setBrush(QPalette::Inactive, QPalette::Link, QColor(QRgb(0xff0000ee))); palette.setBrush(QPalette::Inactive, QPalette::LinkVisited, QColor(QRgb(0xff52188b))); return palette; }