Qt 4.8
|
#include <qcommonstyle_p.h>
Public Functions | |
bool | isViewItemCached (const QStyleOptionViewItemV4 &option) const |
QCommonStylePrivate () | |
void | tabLayout (const QStyleOptionTabV3 *opt, const QWidget *widget, QRect *textRect, QRect *pixmapRect) const |
void | viewItemDrawText (QPainter *p, const QStyleOptionViewItemV4 *option, const QRect &rect) const |
void | viewItemLayout (const QStyleOptionViewItemV4 *opt, QRect *checkRect, QRect *pixmapRect, QRect *textRect, bool sizehint) const |
Set sizehint to false to layout the elements inside opt->rect. More... | |
QSize | viewItemSize (const QStyleOptionViewItemV4 *option, int role) const |
~QCommonStylePrivate () | |
Public Functions inherited from QStylePrivate | |
QStylePrivate () | |
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 |
Additional Inherited Members | |
Public Types inherited from QObjectPrivate | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
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) |
Definition at line 66 of file qcommonstyle_p.h.
|
inline |
Definition at line 70 of file qcommonstyle_p.h.
|
inline |
Definition at line 77 of file qcommonstyle_p.h.
|
inline |
Definition at line 88 of file qcommonstyle_p.h.
void QCommonStylePrivate::tabLayout | ( | const QStyleOptionTabV3 * | opt, |
const QWidget * | widget, | ||
QRect * | textRect, | ||
QRect * | iconRect | ||
) | const |
Uses the same computation than in QTabBar::tabSizeHint
Definition at line 1138 of file qcommonstyle.cpp.
void QCommonStylePrivate::viewItemDrawText | ( | QPainter * | p, |
const QStyleOptionViewItemV4 * | option, | ||
const QRect & | rect | ||
) | const |
Definition at line 924 of file qcommonstyle.cpp.
Referenced by ~QCommonStylePrivate().
void QCommonStylePrivate::viewItemLayout | ( | const QStyleOptionViewItemV4 * | opt, |
QRect * | checkRect, | ||
QRect * | pixmapRect, | ||
QRect * | textRect, | ||
bool | sizehint | ||
) | const |
Set sizehint to false to layout the elements inside opt->rect.
Set sizehint to true to ignore opt->rect and return rectangles in infinite space
Code duplicated in QItemDelegate::doLayout
Definition at line 1005 of file qcommonstyle.cpp.
Referenced by ~QCommonStylePrivate().
QSize QCommonStylePrivate::viewItemSize | ( | const QStyleOptionViewItemV4 * | option, |
int | role | ||
) | const |
Definition at line 841 of file qcommonstyle.cpp.
Referenced by ~QCommonStylePrivate().
|
mutable |
Definition at line 87 of file qcommonstyle_p.h.
Referenced by ~QCommonStylePrivate().
|
mutable |
Definition at line 86 of file qcommonstyle_p.h.
Referenced by ~QCommonStylePrivate().
|
mutable |
Definition at line 86 of file qcommonstyle_p.h.
|
mutable |
Definition at line 86 of file qcommonstyle_p.h.
|
mutable |
Definition at line 105 of file qcommonstyle_p.h.