MCPcopy Create free account
hub / github.com/begla/Intrinsic / positionOnScreen

Method positionOnScreen

IntrinsicEd/src/IntrinsicEdNotificationBase.cpp:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42IntrinsicEdNotificationBase::~IntrinsicEdNotificationBase() {}
43
44void IntrinsicEdNotificationBase::positionOnScreen()
45{
46 const QPoint parentBottomRight =
47 ((QWidget*)parent())->geometry().bottomRight();
48 setGeometry(parentBottomRight.x() - size().width(),
49 parentBottomRight.y() - size().height(), size().width(),
50 size().height());
51}
52
53void IntrinsicEdNotificationBase::onTick()
54{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected