MCPcopy Create free account
hub / github.com/KDAB/GammaRay / setBackgroundWindow

Method setBackgroundWindow

ui/aboutwidget.cpp:77–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void AboutWidget::setBackgroundWindow(QWidget *window)
78{
79 if (m_backgroundWindow == window)
80 return;
81
82 if (m_backgroundWindow) {
83 m_backgroundWindow->removeEventFilter(this);
84 m_backgroundWindow->update();
85 }
86
87 m_backgroundWindow = window;
88 m_watermark = QPixmap();
89
90 if (m_backgroundWindow) {
91 m_backgroundWindow->installEventFilter(this);
92 m_backgroundWindow->update();
93 }
94}
95
96void AboutWidget::showEvent(QShowEvent *event)
97{

Callers 1

LauncherWindowMethod · 0.80

Calls 2

QPixmapClass · 0.85
updateMethod · 0.45

Tested by

no test coverage detected