Revert "Use native hover events (#5722)" (#5757)

This reverts commit e4f40a82a2.

This change had unintended consequences in the hover behavior, reverting
for now.
This commit is contained in:
Basile Clement 2025-03-21 01:25:20 +01:00 committed by GitHub
parent d03f5388d4
commit be28d50997
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 77 additions and 27 deletions

View file

@ -158,6 +158,12 @@ void DeckView::mouseDoubleClickEvent(QMouseEvent *event)
}
}
void DeckViewCard::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
{
event->accept();
processHoverEvent();
}
DeckViewCardContainer::DeckViewCardContainer(const QString &_name) : QGraphicsItem(), name(_name), width(0), height(0)
{
setCacheMode(DeviceCoordinateCache);