MCPcopy Create free account
hub / github.com/MultiMC/Launcher / rect

Method rect

launcher/ui/instanceview/AccessibleInstanceView.cpp:412–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412QRect AccessibleInstanceView::rect() const
413{
414 if (!view()->isVisible())
415 return QRect();
416 QPoint pos = view()->mapToGlobal(QPoint(0, 0));
417 return QRect(pos.x(), pos.y(), view()->width(), view()->height());
418}
419
420QAccessibleInterface *AccessibleInstanceView::parent() const
421{

Callers 4

scrollToMethod · 0.80
verticalScrollToValueMethod · 0.80
stateMethod · 0.80
paintInfoLabelMethod · 0.80

Calls 2

visualRectMethod · 0.80
translateMethod · 0.80

Tested by

no test coverage detected