Changeset 42828 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 15, 2012 3:52:16 PM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemGroup.cpp
r42796 r42828 1205 1205 int iFullHeaderHeight = data(GroupItemData_FullHeaderSize).toSize().height(); 1206 1206 1207 /* Update palette: */ 1208 if (model()->selectionList().contains(this)) 1209 { 1210 QPalette pal = palette(); 1211 pPainter->setPen(pal.color(QPalette::HighlightedText)); 1212 } 1213 1207 1214 /* Update buttons: */ 1208 1215 if (m_pToggleButton) -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemMachine.cpp
r42795 r42828 543 543 { 544 544 /* Highlight color: */ 545 QColor highlight = pal.color(QPalette:: Active, QPalette::Highlight);545 QColor highlight = pal.color(QPalette::Highlight); 546 546 547 547 /* Calculate top rectangle: */ … … 656 656 QSize machineStatePixmapSize = data(MachineItemData_StatePixmapSize).toSize(); 657 657 QSize machineStateTextSize = data(MachineItemData_StateTextSize).toSize(); 658 659 /* Update palette: */ 660 if (model()->selectionList().contains(this)) 661 { 662 QPalette pal = palette(); 663 pPainter->setPen(pal.color(QPalette::HighlightedText)); 664 } 658 665 659 666 /* Calculate indents: */
Note:
See TracChangeset
for help on using the changeset viewer.