Qt 4.8
Classes | Functions
qgraphicslayout_p.h File Reference
#include <QtCore/qglobal.h>
#include "qgraphicslayout.h"
#include "qgraphicslayoutitem_p.h"
#include <QtGui/qstyle.h>
#include <QtGui/qwidget.h>
#include <QtGui/qstyleoption.h>

Go to the source code of this file.

Classes

class  QGraphicsLayoutPrivate
 
class  QLayoutStyleInfo
 

Functions

bool qt_graphicsLayoutDebug ()
 

Function Documentation

◆ qt_graphicsLayoutDebug()

bool qt_graphicsLayoutDebug ( )
inline

Definition at line 72 of file qgraphicslayout_p.h.

Referenced by QGraphicsLinearLayout::dump(), QGraphicsGridLayoutPrivate::dump(), QGraphicsLayoutPrivate::reparentChildItems(), QGraphicsLinearLayout::setGeometry(), and QGraphicsGridLayout::setGeometry().

73 {
74  static int checked_env = -1;
75  if(checked_env == -1)
76  checked_env = !!qgetenv("QT_GRAPHICSLAYOUT_DEBUG").toInt();
77  return checked_env;
78 }
Q_CORE_EXPORT QByteArray qgetenv(const char *varName)
int toInt(bool *ok=0, int base=10) const
Returns the byte array converted to an int using base base, which is 10 by default and must be betwee...