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

Method drawBackground

ui/remoteviewwidget.cpp:602–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600}
601
602void RemoteViewWidget::drawBackground(QPainter *p)
603{
604 // not really efficient...
605 p->fillRect(rect(), m_inactiveBackgroundBrush);
606 p->fillRect(m_x, m_y,
607 m_zoom * m_frame.viewRect().width(),
608 m_zoom * m_frame.viewRect().height(),
609 m_activeBackgroundBrush);
610}
611
612void RemoteViewWidget::drawDecoration(QPainter *p)
613{

Callers

nothing calls this directly

Calls 2

viewRectMethod · 0.80
fillRectMethod · 0.45

Tested by

no test coverage detected