FlightGear
next
HoverArea.hxx
Go to the documentation of this file.
1
#ifndef HOVERAREA_HXX
2
#define HOVERAREA_HXX
3
4
#include <QQuickItem>
5
6
class
HoverArea
:
public
QQuickItem
7
{
8
Q_OBJECT
9
10
Q_PROPERTY(
bool
containsMouse
READ
containsMouse
NOTIFY
containsMouseChanged
);
11
12
public
:
13
HoverArea
();
14
15
bool
containsMouse
()
const
16
{
17
return
m_containsMouse;
18
}
19
20
signals:
21
22
void
containsMouseChanged
(
bool
containsMouse
);
23
24
protected
:
25
bool
eventFilter
(QObject* sender, QEvent* event)
override
;
26
27
private
:
28
bool
m_containsMouse =
false
;
29
};
30
31
#endif
// HOVERAREA_HXX
HoverArea::eventFilter
bool eventFilter(QObject *sender, QEvent *event) override
Definition
HoverArea.cxx:17
HoverArea::HoverArea
HoverArea()
Definition
HoverArea.cxx:6
HoverArea::containsMouseChanged
void containsMouseChanged(bool containsMouse)
HoverArea::containsMouse
bool containsMouse() const
Definition
HoverArea.hxx:15
HoverArea::containsMouse
bool containsMouse
Definition
HoverArea.hxx:10
src
GUI
HoverArea.hxx
Generated on Tue Jun 3 2025 12:58:39 for FlightGear by
1.13.2