MCPcopy Create free account
hub / github.com/clementgallet/libTAS / paintEvent

Method paintEvent

src/external/qhexview/src/qhexview.cpp:1384–1393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1382}
1383
1384void QHexView::paintEvent(QPaintEvent*) {
1385 if(!m_hexdocument)
1386 return;
1387
1388 QPainter painter(this->viewport());
1389 if(m_hexdelegate)
1390 m_hexdelegate->paint(&painter, this);
1391 else
1392 this->paint(&painter);
1393}
1394
1395void QHexView::resizeEvent(QResizeEvent* e) {
1396 this->checkState();

Callers

nothing calls this directly

Calls 1

paintMethod · 0.95

Tested by

no test coverage detected