Qt 4.8
|
#include <qlayout_p.h>
Public Types | |
typedef QSpacerItem *(* | QSpacerItemFactoryMethod) (const QLayout *layout, int w, int h, QSizePolicy::Policy hPolicy, QSizePolicy::Policy) |
typedef QWidgetItem *(* | QWidgetItemFactoryMethod) (const QLayout *layout, QWidget *widget) |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
Public Functions | |
void | doResize (const QSize &) |
void | getMargin (int *result, int userMargin, QStyle::PixelMetric pm) const |
QLayoutPrivate () | |
void | reparentChildWidgets (QWidget *mw) |
Public Functions inherited from QObjectPrivate | |
void | _q_reregisterTimers (void *pointer) |
void | addConnection (int signal, Connection *c) |
void | cleanConnectionLists () |
void | connectNotify (const char *signal) |
void | deleteChildren () |
void | disconnectNotify (const char *signal) |
bool | isSender (const QObject *receiver, const char *signal) const |
bool | isSignalConnected (uint signalIdx) const |
Returns true if the signal with index signal_index from object sender is connected. More... | |
void | moveToThread_helper () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | setParent_helper (QObject *) |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData) |
int | signalIndex (const char *signalName) const |
Returns the signal index used in the internal connectionLists vector. More... | |
virtual | ~QObjectPrivate () |
Public Functions inherited from QObjectData | |
virtual | ~QObjectData ()=0 |
Static Public Functions | |
static QSpacerItem * | createSpacerItem (const QLayout *layout, int w, int h, QSizePolicy::Policy hPolicy=QSizePolicy::Minimum, QSizePolicy::Policy vPolicy=QSizePolicy::Minimum) |
static QWidgetItem * | createWidgetItem (const QLayout *layout, QWidget *widget) |
Static Public Functions inherited from QObjectPrivate | |
static void | clearGuards (QObject *) |
static QObjectPrivate * | get (QObject *o) |
static void | resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender) |
static Sender * | setCurrentSender (QObject *receiver, Sender *sender) |
static void | signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result) |
Static Public Variables | |
static QSpacerItemFactoryMethod | spacerItemFactoryMethod = 0 |
static QWidgetItemFactoryMethod | widgetItemFactoryMethod = 0 |
Definition at line 65 of file qlayout_p.h.
typedef QSpacerItem*(* QLayoutPrivate::QSpacerItemFactoryMethod) (const QLayout *layout, int w, int h, QSizePolicy::Policy hPolicy, QSizePolicy::Policy) |
Definition at line 71 of file qlayout_p.h.
typedef QWidgetItem*(* QLayoutPrivate::QWidgetItemFactoryMethod) (const QLayout *layout, QWidget *widget) |
Definition at line 70 of file qlayout_p.h.
QLayoutPrivate::QLayoutPrivate | ( | ) |
Definition at line 161 of file qlayout.cpp.
|
static |
Definition at line 198 of file qlayout.cpp.
Referenced by QBoxLayout::addStrut(), QBoxLayout::insertSpacing(), and QBoxLayout::insertStretch().
|
static |
Definition at line 190 of file qlayout.cpp.
Referenced by QGridLayout::addWidget(), QLayout::addWidget(), QStackedLayout::insertWidget(), QBoxLayout::insertWidget(), QGridBox::QGridBox(), QFormLayoutPrivate::setWidget(), and QLayout::widgetEvent().
void QLayoutPrivate::doResize | ( | const QSize & | r | ) |
Definition at line 702 of file qlayout.cpp.
void QLayoutPrivate::getMargin | ( | int * | result, |
int | userMargin, | ||
QStyle::PixelMetric | pm | ||
) | const |
Definition at line 168 of file qlayout.cpp.
void QLayoutPrivate::reparentChildWidgets | ( | QWidget * | mw | ) |
Definition at line 1005 of file qlayout.cpp.
uint QLayoutPrivate::activated |
Definition at line 92 of file qlayout_p.h.
uint QLayoutPrivate::autoNewChild |
Definition at line 93 of file qlayout_p.h.
QLayout::SizeConstraint QLayoutPrivate::constraint |
Definition at line 94 of file qlayout_p.h.
Referenced by QLayout::setSizeConstraint().
uint QLayoutPrivate::enabled |
Definition at line 91 of file qlayout_p.h.
int QLayoutPrivate::insideSpacing |
Definition at line 85 of file qlayout_p.h.
QWidget* QLayoutPrivate::menubar |
Definition at line 96 of file qlayout_p.h.
Referenced by doResize(), and reparentChildWidgets().
QRect QLayoutPrivate::rect |
Definition at line 95 of file qlayout_p.h.
Referenced by doResize().
|
static |
Definition at line 83 of file qlayout_p.h.
Referenced by createSpacerItem(), and getMargin().
uint QLayoutPrivate::topLevel |
Definition at line 90 of file qlayout_p.h.
Referenced by getMargin().
int QLayoutPrivate::userBottomMargin |
Definition at line 89 of file qlayout_p.h.
int QLayoutPrivate::userLeftMargin |
Definition at line 86 of file qlayout_p.h.
int QLayoutPrivate::userRightMargin |
Definition at line 88 of file qlayout_p.h.
int QLayoutPrivate::userTopMargin |
Definition at line 87 of file qlayout_p.h.
|
static |
Definition at line 82 of file qlayout_p.h.
Referenced by createWidgetItem(), and getMargin().