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

(c26994ff1551aa5450383cc51bed9b4d39f973f7)

#include "qtoolbar.h"
#include <qapplication.h>
#include <qevent.h>
#include <qlayout.h>
#include <qmainwindow.h>
#include <qmenu.h>
#include <qmimedata.h>
#include <qstylepainter.h>
#include <qstyleoption.h>
#include <qtoolbutton.h>
#include <qwidgetaction.h>
#include <qtimer.h>
#include <private/qwidgetaction_p.h>
#include <private/qmainwindowlayout_p.h>
#include <private/qhighdpiscaling_p.h>
#include "qtoolbar_p.h"
#include "qtoolbarseparator_p.h"
#include "qtoolbarlayout_p.h"
#include "qdebug.h"
#include "moc_qtoolbar.cpp"
+ Include dependency graph for qtoolbar.cpp:

Go to the source code of this file.

Macros

#define POPUP_TIMER_INTERVAL   500
 

Functions

QMainWindowLayoutqt_mainwindow_layout (const QMainWindow *window)
 
static bool waitForPopup (QToolBar *tb, QWidget *popup)
 

Macro Definition Documentation

◆ POPUP_TIMER_INTERVAL

#define POPUP_TIMER_INTERVAL   500

Definition at line 43 of file qtoolbar.cpp.

Referenced by QToolBar::event().

Function Documentation

◆ qt_mainwindow_layout()

QMainWindowLayout * qt_mainwindow_layout ( const QMainWindow * window)
extern

Definition at line 67 of file qmainwindow.cpp.

◆ waitForPopup()

static bool waitForPopup ( QToolBar * tb,
QWidget * popup )
static

Definition at line 960 of file qtoolbar.cpp.

References QAction::associatedObjects(), QWidget::isHidden(), menu, QMenu::menuAction(), QWidget::parentWidget(), waitForPopup(), and widget.

Referenced by QToolBar::event(), and waitForPopup().

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