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
src_gui_widgets_qmenu.cpp File Reference

(001d88ae38435a2d108178c5d396839986985bc4)

Go to the source code of this file.

Functions

 exec (QCursor::pos())
 [0]
 
 exec (somewidget.mapToGlobal(QPoint(0, 0)))
 [0]
 
 exec (e->globalPosition().toPoint())
 [1]
 
 for (QAction *a :std::as_const(actions)) menu.addAction(a)
 
menu exec (pos, at)
 

Variables

QMenu menu
 [5]
 
QActionat = actions[0]
 

Function Documentation

◆ exec() [1/4]

exec ( e-> globalPosition).toPoint()

[1]

[4]

[2]

[5]

◆ exec() [2/4]

menu exec ( pos ,
at  )

◆ exec() [3/4]

exec ( QCursor::pos() )

[0]

[2]

[3]

◆ exec() [4/4]

exec ( somewidget. mapToGlobalQPoint(0, 0))

[0]

[3]

[1]

[4]

◆ for()

for ( QAction *a :std::as_constactions)

Variable Documentation

◆ at

QAction * at = actions[0]

Definition at line 36 of file src_gui_widgets_qmenu.cpp.

◆ menu