Changeset 74682 in vbox for trunk/src/VBox
- Timestamp:
- Oct 8, 2018 1:40:59 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/UIDetailsView.cpp
r74109 r74682 121 121 QAccessible::installFactory(UIAccessibilityInterfaceForUIDetailsView::pFactory); 122 122 123 /* Prepare palette: */124 preparePalette();125 126 123 /* Setup frame: */ 127 124 setFrameShape(QFrame::NoFrame); … … 178 175 } 179 176 180 void UIDetailsView::preparePalette()181 {182 /* Setup palette: */183 QPalette pal = qApp->palette();184 const QColor bodyColor = pal.color(QPalette::Active, QPalette::Mid).lighter(155);185 pal.setColor(QPalette::Base, bodyColor);186 setPalette(pal);187 }188 189 177 void UIDetailsView::resizeEvent(QResizeEvent *pEvent) 190 178 { -
trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsView.h
r74677 r74682 56 56 virtual void retranslateUi() /* override */; 57 57 58 /* Helper: Prepare stuff: */59 void preparePalette();60 61 58 /* Handler: Resize-event stuff: */ 62 59 void resizeEvent(QResizeEvent *pEvent);
Note:
See TracChangeset
for help on using the changeset viewer.