MCPcopy Create free account
hub / github.com/baldurk/renderdoc / updateDropButtonGeometry

Method updateDropButtonGeometry

qrenderdoc/Widgets/Extended/RDTextEdit.cpp:383–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383void RDTextEdit::updateDropButtonGeometry()
384{
385 if(m_Drop)
386 {
387 QRect r = contentsRect();
388 r.setLeft(r.right() - m_Drop->rect().width() + 1);
389 r.setSize(m_Drop->size());
390 m_Drop->setGeometry(r);
391 }
392}
393
394bool RDTextEdit::event(QEvent *e)
395{

Callers

nothing calls this directly

Calls 7

setLeftMethod · 0.80
rightMethod · 0.45
widthMethod · 0.45
rectMethod · 0.45
setSizeMethod · 0.45
sizeMethod · 0.45
setGeometryMethod · 0.45

Tested by

no test coverage detected