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

(7aedcdefb81004f57e664409c0fb9f9b371ff4f0)

#include "qmenu.h"
#include <QtWidgets/private/qtwidgetsglobal_p.h>
#include <QtWidgets/private/qwidgetwindow_p.h>
#include "qactiongroup.h"
#include "qdebug.h"
#include "qstyle.h"
#include "qevent.h"
#include "qtimer.h"
#include "qlayout.h"
#include "qstylepainter.h"
#include <qpa/qplatformtheme.h>
#include "qapplication.h"
#include "qmenu_p.h"
#include "qwidgetaction.h"
#include "qpushbutton.h"
#include <qwindow.h>
#include <private/qpushbutton_p.h>
#include <private/qaction_p.h>
#include <private/qguiapplication_p.h>
#include <private/qstyle_p.h>
#include "moc_qmenu.cpp"
#include "qmenu.moc"
+ Include dependency graph for qmenu.cpp:

Go to the source code of this file.

Classes

class  QTornOffMenu
 
class  ResetOnDestroy
 

Functions

static QWidgetgetParentWidget (const QAction *action)
 

Function Documentation

◆ getParentWidget()

static QWidget * getParentWidget ( const QAction * action)
static

Definition at line 220 of file qmenu.cpp.

References QObject::parent().

Referenced by QMenuPrivate::copyActionToPlatformItem().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: