#include "qboxlayout.h"
#include "qapplication.h"
#include "qwidget.h"
#include "qlist.h"
#include "qsizepolicy.h"
#include "qvector.h"
#include "qlayoutengine_p.h"
#include "qlayout_p.h"
Include dependency graph for qboxlayout.cpp:

Go to the source code of this file.
Classes | |
| struct | QBoxLayoutItem |
| class | QBoxLayoutPrivate |
Functions | |
| static bool | checkWidget (QLayout *layout, QWidget *widget) |
| static bool | horz (QBoxLayout::Direction dir) |
Definition at line 39 of file qboxlayout.cpp.
References layout, and qWarning().
Referenced by QGridLayout::addWidget(), and QBoxLayout::insertWidget().
00040 { 00041 if (!widget) { 00042 qWarning("QLayout: Cannot add null widget to %s/%s", layout->metaObject()->className(), 00043 layout->objectName().toLocal8Bit().data()); 00044 return false; 00045 } 00046 return true; 00047 }
Here is the call graph for this function:

| static bool horz | ( | QBoxLayout::Direction | dir | ) | [inline, static] |
Definition at line 127 of file qboxlayout.cpp.
References QBoxLayout::LeftToRight, and QBoxLayout::RightToLeft.
Referenced by QBoxLayout::addStrut(), QBoxLayoutPrivate::calcHfw(), QBoxLayout::insertSpacing(), QBoxLayout::insertStretch(), QBoxLayout::setDirection(), QBoxLayout::setGeometry(), and QBoxLayoutPrivate::setupGeom().
00128 { 00129 return dir == QBoxLayout::RightToLeft || dir == QBoxLayout::LeftToRight; 00130 }
1.5.1