Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
window_manager.h
Go to the documentation of this file.
1// Copyright (C) 2025 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QARKUI__WINDOW_MANAGER_H
5#define QARKUI__WINDOW_MANAGER_H
6
7#include <qohosdisplayinfo.h>
8#include <qarkui/window.h>
9#include <qarkui/input.h>
10#include <QtCore/private/qohoscommon_p.h>
11#include <QtCore/qglobal.h>
12#include <QtCore/qpoint.h>
13
15
16namespace QArkUi {
17
18std::shared_ptr<void> registerMouseEventsConsumer(
19 JsWindowId jsWindowId,
20 QOhosConsumer<const MouseEvent &> eventsConsumer);
21
22std::shared_ptr<void> registerKeyEventsConsumer(
23 JsWindowId jsWindowId,
24 QOhosConsumer<const KeyEvent &> eventsConsumer);
25
26std::shared_ptr<void> registerTouchEventsConsumer(
27 JsWindowId jsWindowId,
28 QOhosConsumer<const TouchEvent &> eventsConsumer);
29
30}
31
32QT_END_NAMESPACE
33
34#endif
std::shared_ptr< void > registerMouseEventsConsumer(JsWindowId jsWindowId, QOhosConsumer< const MouseEvent & > eventsConsumer)
std::shared_ptr< void > registerKeyEventsConsumer(JsWindowId jsWindowId, QOhosConsumer< const KeyEvent & > eventsConsumer)
std::shared_ptr< void > registerTouchEventsConsumer(JsWindowId jsWindowId, QOhosConsumer< const TouchEvent & > eventsConsumer)
Combined button and popup list for selecting options.