MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / rect

Method rect

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

Source from the content-addressed store, hash-verified

416}
417
418QRect AccessibleInstanceView::rect() const
419{
420 if (!view()->isVisible())
421 return QRect();
422 QPoint pos = view()->mapToGlobal(QPoint(0, 0));
423 return QRect(pos.x(), pos.y(), view()->width(), view()->height());
424}
425
426QAccessibleInterface *AccessibleInstanceView::parent() const
427{

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