profile: first rudimentary port of the ToolTipItem to qt-quick

Still behaves weirdly when panning the chart.

No support for moving the ToolTipItem.

Doesn't add information on bookmarks under the mouse cursor.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2023-06-16 18:24:22 +02:00
parent e3767976a3
commit 13c9218ecf
14 changed files with 260 additions and 48 deletions

View file

@ -94,6 +94,7 @@ void ChartPixmapItem::resize(QSizeF size)
painter->setRenderHint(QPainter::Antialiasing);
}
rect.setSize(size);
setPositionDirty(); // position includes the size.
setTextureDirty();
}