mirror of
https://github.com/vicr123/theshell.git
synced 2025-01-23 12:12:06 -05:00
14 lines
261 B
C++
14 lines
261 B
C++
#include "hoverframe.h"
|
|
|
|
HoverFrame::HoverFrame(QWidget *parent) : QFrame(parent)
|
|
{
|
|
this->setMouseTracking(true);
|
|
}
|
|
|
|
void HoverFrame::enterEvent(QEvent *event) {
|
|
emit MouseEnter();
|
|
}
|
|
|
|
void HoverFrame::leaveEvent(QEvent *event) {
|
|
emit MouseExit();
|
|
}
|