- Timestamp:
- Aug 18, 2012 2:37:25 PM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItem.cpp
r42872 r42873 50 50 , m_iStrokeDarkness(130) 51 51 , m_iAnimationDarkness(m_iDefaultDarkness) 52 , m_iDragTokenDarkness(150) 52 53 { 53 54 /* Basic item setup: */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemGroup.cpp
r42872 r42873 1083 1083 QColor windowColor = pal.color(QPalette::Active, model()->selectionList().contains(this) ? 1084 1084 QPalette::Highlight : QPalette::Window); 1085 QColor base(Qt::white);1086 1085 1087 1086 /* Root item: */ … … 1092 1091 { 1093 1092 /* Simple and clear: */ 1094 pPainter->fillRect(rect, base.darker(106));1093 pPainter->fillRect(rect, QColor(240, 240, 240)); 1095 1094 } 1096 1095 else … … 1161 1160 QRect midRect = QRect(tRect.bottomLeft(), rect.bottomRight()); 1162 1161 /* Paint all the stuff: */ 1163 pPainter->fillRect(midRect, base.darker(defaultDarkness()));1162 pPainter->fillRect(midRect, QColor(245, 245, 245)); 1164 1163 } 1165 1164 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserView.cpp
r42872 r42873 30 30 /* Fix palette: */ 31 31 QPalette pal = palette(); 32 pal.setColor(QPalette::Base, QColor( Qt::white).darker(106));32 pal.setColor(QPalette::Base, QColor(240, 240, 240)); 33 33 setPalette(pal); 34 34 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElement.cpp
r42872 r42873 691 691 QPalette pal = QApplication::palette(); 692 692 QColor windowColor = pal.color(QPalette::Active, QPalette::Window); 693 QColor base(Qt::white);694 base = base.darker(m_iDefaultDarkness);695 693 696 694 /* Add clipping: */ … … 721 719 /* Paint all the stuff: */ 722 720 pPainter->fillRect(tRect, tGradient); 723 pPainter->fillRect(bRect, base);721 pPainter->fillRect(bRect, QColor(245, 245, 245)); 724 722 725 723 /* Stroke path: */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsView.cpp
r42872 r42873 30 30 /* Fix palette: */ 31 31 QPalette pal = palette(); 32 pal.setColor(QPalette::Base, QColor( Qt::white).darker(106));32 pal.setColor(QPalette::Base, QColor(240, 240, 240)); 33 33 setPalette(pal); 34 34
Note:
See TracChangeset
for help on using the changeset viewer.