Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
androidjnimenu.h
Go to the documentation of this file.
1// Copyright (C) 2012 BogDan Vatra <bogdan@kde.org>
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 ANDROIDJNIMENU_H
5#define ANDROIDJNIMENU_H
6
7#include <jni.h>
8#include <qglobal.h>
9
11
15class QWindow;
16class QRect;
17class QPoint;
18class QJniEnvironment;
19
20namespace QtAndroidMenu
21{
22 // Menu support
23 void openOptionsMenu();
24 void showContextMenu(QAndroidPlatformMenu *menu, const QRect &anchorRect);
28
33
34 // Menu support
36}
37
39
40#endif // ANDROIDJNIMENU_H
\inmodule QtCore
\inmodule QtCore\reentrant
Definition qpoint.h:25
\inmodule QtCore\reentrant
Definition qrect.h:30
\inmodule QtGui
Definition qwindow.h:63
static bool registerNatives()
Combined button and popup list for selecting options.
void hideContextMenu(QAndroidPlatformMenu *menu)
void setActiveTopLevelWindow(QWindow *window)
void removeMenuBar(QAndroidPlatformMenuBar *menuBar)
void syncMenu(QAndroidPlatformMenu *)
void androidPlatformMenuDestroyed(QAndroidPlatformMenu *menu)
void addMenuBar(QAndroidPlatformMenuBar *menuBar)
void showContextMenu(QAndroidPlatformMenu *menu, const QRect &anchorRect)
void setMenuBar(QAndroidPlatformMenuBar *menuBar, QWindow *window)
aWidget window() -> setWindowTitle("New Window Title")
[2]
QMenu menu
[5]
QMenuBar * menuBar
[0]