MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / setUp

Method setUp

src/common/tooltip/tooltip.cpp:110–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void ToolTipPrivate::setUp(const QPoint &pos, QWidget *w, const QRect &rect)
111{
112 tipLabel->configure(pos);
113
114 placeTip(pos);
115 setTipRect(w, rect);
116
117 if (hideDelayTimer.isActive())
118 hideDelayTimer.stop();
119 showTimer.start(tipLabel->showTime());
120}
121
122bool ToolTipPrivate::tipChanged(const QPoint &pos, TipLabel::ContentType type, const QVariant &content, QWidget *w) const
123{

Callers

nothing calls this directly

Calls 5

configureMethod · 0.45
isActiveMethod · 0.45
stopMethod · 0.45
startMethod · 0.45
showTimeMethod · 0.45

Tested by

no test coverage detected