- Timestamp:
- Aug 9, 2013 11:40:06 AM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupPane.cpp
r47455 r47633 396 396 /* Paint background: */ 397 397 paintBackground(rect, painter); 398 399 /* Paint frame: */ 400 paintFrame(painter); 398 401 } 399 402 … … 428 431 } 429 432 433 void UIPopupPane::paintFrame(QPainter &painter) 434 { 435 /* Paint frame: */ 436 QColor currentColor(palette().color(QPalette::Window).darker(150)); 437 QPainterPath path = painter.clipPath(); 438 painter.setClipping(false); 439 painter.strokePath(path, currentColor); 440 } 441 430 442 void UIPopupPane::done(int iResultCode) 431 443 { -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIPopupPane.h
r47455 r47633 124 124 void configureClipping(const QRect &rect, QPainter &painter); 125 125 void paintBackground(const QRect &rect, QPainter &painter); 126 void paintFrame(QPainter &painter); 126 127 127 128 /* Helper: Complete stuff: */
Note:
See TracChangeset
for help on using the changeset viewer.