Changeset 74674 in vbox for trunk/src/VBox
- Timestamp:
- Oct 8, 2018 12:28:52 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager/details
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetails.cpp
r74109 r74674 39 39 , m_pDetailsView(0) 40 40 { 41 /* Prepare palette: */42 preparePalette();43 44 41 /* Prepare layout: */ 45 42 prepareLayout(); … … 59 56 /* Propagate to details-model: */ 60 57 m_pDetailsModel->setItems(items); 61 }62 63 void UIDetails::preparePalette()64 {65 /* Setup palette: */66 setAutoFillBackground(true);67 QPalette pal = qApp->palette();68 const QColor bodyColor = pal.color(QPalette::Active, QPalette::Mid).lighter(155);69 pal.setColor(QPalette::Base, bodyColor);70 setPalette(pal);71 58 } 72 59 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetails.h
r73424 r74674 61 61 62 62 /* Helpers: Prepare stuff: */ 63 void preparePalette();64 63 void prepareLayout(); 65 64 void prepareModel();
Note:
See TracChangeset
for help on using the changeset viewer.