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

(f97e60a4f0602e1478c888ff1043276966c93387)

#include "qmainwindowlayout_p.h"
#include "qmainwindow.h"
#include "qwidgetanimator_p.h"
#include <qapplication.h>
#include <qmimedata.h>
#include <qstring.h>
#include <qstyle.h>
#include <qstylepainter.h>
#include <qvarlengtharray.h>
#include <qstack.h>
#include <qmap.h>
#include <qtimer.h>
#include <qpointer.h>
#include <qdebug.h>
#include <qtextstream.h>
#include <private/qmenu_p.h>
#include <private/qapplication_p.h>
#include <private/qlayoutengine_p.h>
#include <private/qwidgetresizehandler_p.h>
#include <QScopedValueRollback>
#include "qmainwindowlayout.moc"
#include "moc_qmainwindowlayout_p.cpp"
+ Include dependency graph for qmainwindowlayout.cpp:

Go to the source code of this file.

Functions

QMainWindowLayoutqt_mainwindow_layout (const QMainWindow *window)
 
template<typename T >
static QList< T > findChildrenHelper (const QObject *o)
 
static void fixToolBarOrientation (QLayoutItem *item, int dockPos)
 

Function Documentation

◆ findChildrenHelper()

template<typename T >
static QList< T > findChildrenHelper ( const QObject * o)
static

Definition at line 1234 of file qmainwindowlayout.cpp.

References i, list, o, and QList< T >::size().

+ Here is the call graph for this function:

◆ fixToolBarOrientation()

static void fixToolBarOrientation ( QLayoutItem * item,
int dockPos )
static

Definition at line 2395 of file qmainwindowlayout.cpp.

References QInternal::BottomDock, hint(), Qt::Horizontal, item, o, pos, Q_UNUSED, Qt::RightToLeft, QInternal::TopDock, and Qt::Vertical.

Referenced by QMainWindowLayout::hover(), QMainWindowLayout::plug(), QMainWindowLayout::revert(), and QMainWindowLayout::unplug().

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

◆ qt_mainwindow_layout()

QMainWindowLayout * qt_mainwindow_layout ( const QMainWindow * window)
extern

Definition at line 67 of file qmainwindow.cpp.