DtkDeclarative
DTK Declarative module
载入中...
搜索中...
未找到
dhandlecontextmenuwindow_p.h
1// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DHANDLECONTEXTMENUWINDOW_P_H
6#define DHANDLECONTEXTMENUWINDOW_P_H
7
8#include <QQuickWindow>
9
10class DHandleContextMenuWindow : public QQuickWindow
11{
12#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
13 Q_OBJECT
14 QML_NAMED_ELEMENT(ContextMenuWindow)
15#endif
16public:
17 DHandleContextMenuWindow(QWindow *parent = nullptr);
18
19protected:
20 bool event(QEvent *) override;
21 void handleMouseEvent(QMouseEvent *);
22};
23
24#endif // DHANDLECONTEXTMENUWINDOW_P_H
Definition dhandlecontextmenuwindow_p.h:11