Qt 4.8
|
#include <qwindowsvistastyle_p.h>
Public Functions | |
QWindowsVistaStylePrivate () | |
void | startAnimation (QWindowsVistaAnimation *) |
void | stopAnimation (const QWidget *) |
void | timerEvent () |
bool | transitionsEnabled () const |
QWidget * | treeViewHelper () |
QWindowsVistaAnimation * | widgetAnimation (const QWidget *) const |
~QWindowsVistaStylePrivate () | |
Public Functions inherited from QWindowsXPStylePrivate | |
HBITMAP | buffer (int w=0, int h=0) |
Returns a native buffer (DIB section) of at least the size of ( x , y ). More... | |
HDC | bufferHDC () |
void | cleanup (bool force=false) |
void | cleanupHandleMap () |
void | drawBackground (XPThemeData &themeData) |
Main theme drawing function. More... | |
void | drawBackgroundDirectly (XPThemeData &themeData) |
This function draws the theme parts directly to the paintengines HDC. More... | |
void | drawBackgroundThruNativeBuffer (XPThemeData &themeData) |
This function uses a secondary Native doublebuffer for painting parts. More... | |
bool | fixAlphaChannel (const QRect &rect) |
When the theme engine paints both a true alpha pixmap and a glyph into our buffer, the glyph might not contain a proper alpha value. More... | |
bool | hasAlphaChannel (const QRect &rect) |
Returns true if the native doublebuffer contains pixels with varying alpha value. More... | |
bool | hasAnyData (const QRect &rect) |
Returns true if the native doublebuffer contains a pixel which has a non-0xFF alpha value. More... | |
void | init (bool force=false) |
bool | isTransparent (XPThemeData &themeData) |
Returns true if the part contains any transparency at all. More... | |
QWindowsXPStylePrivate () | |
QRegion | region (XPThemeData &themeData) |
void | setTransparency (QWidget *widget, XPThemeData &themeData) |
Sets the parts region on a window. More... | |
bool | swapAlphaChannel (const QRect &rect, bool allPixels=false) |
Swaps the alpha values on certain pixels: 0xFF?????? -> 0x00?????? 0x00?????? -> 0xFF?????? Used to determin the mask of a non-alpha transparent pixmap in the native doublebuffer, and swap the alphas so we may paint the image as a Premultiplied QImage with drawImage(), and obtain the mask transparency. More... | |
const QPixmap * | tabBody (QWidget *widget) |
Returns the pointer to a tab widgets body pixmap, scaled to the height of the screen. More... | |
~QWindowsXPStylePrivate () | |
Public Functions inherited from QWindowsStylePrivate | |
bool | altDown () const |
bool | hasSeenAlt (const QWidget *widget) const |
QWindowsStylePrivate () | |
void | startAnimation (QObject *o, QProgressBar *bar) |
void | stopAnimation (QObject *o, QProgressBar *bar) |
Public Functions inherited from QCommonStylePrivate | |
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 |
Static Public Functions | |
static bool | resolveSymbols () |
Returns true if all the necessary theme engine symbols were resolved. More... | |
static bool | useVista () |
Static Public Functions inherited from QWindowsXPStylePrivate | |
static bool | isItemViewDelegateLineEdit (const QWidget *widget) |
static bool | resolveSymbols () |
Returns true if all the necessary theme engine symbols were resolved. More... | |
static bool | useXP (bool update=false) |
static HWND | winId (const QWidget *widget) |
This function will always return a valid window handle, and might create a limbo widget to do so. More... | |
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) |
Properties | |
QList< QWindowsVistaAnimation * > | animations |
QBasicTimer | animationTimer |
QWidget * | m_treeViewHelper |
Definition at line 194 of file qwindowsvistastyle_p.h.
QWindowsVistaStylePrivate::QWindowsVistaStylePrivate | ( | ) |
Definition at line 2499 of file qwindowsvistastyle.cpp.
QWindowsVistaStylePrivate::~QWindowsVistaStylePrivate | ( | ) |
Definition at line 2505 of file qwindowsvistastyle.cpp.
|
static |
Returns true if all the necessary theme engine symbols were resolved.
Definition at line 2585 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStylePrivate().
void QWindowsVistaStylePrivate::startAnimation | ( | QWindowsVistaAnimation * | t | ) |
Definition at line 2544 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), and QWindowsVistaStyle::drawPrimitive().
void QWindowsVistaStylePrivate::stopAnimation | ( | const QWidget * | w | ) |
Definition at line 2533 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), startAnimation(), and QWindowsVistaStyle::unpolish().
void QWindowsVistaStylePrivate::timerEvent | ( | ) |
Definition at line 2511 of file qwindowsvistastyle.cpp.
bool QWindowsVistaStylePrivate::transitionsEnabled | ( | ) | const |
Definition at line 2554 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), and QWindowsVistaStyle::drawPrimitive().
QWidget * QWindowsVistaStylePrivate::treeViewHelper | ( | ) |
Definition at line 2622 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawPrimitive().
|
inlinestatic |
Definition at line 139 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), QWindowsVistaStyle::drawPrimitive(), QWindowsVistaStyle::hitTestComplexControl(), QWindowsVistaStyle::pixelMetric(), QWindowsVistaStyle::sizeFromContents(), QWindowsVistaStyle::standardIconImplementation(), QWindowsVistaStyle::standardPixmap(), QWindowsVistaStyle::subControlRect(), QWindowsVistaStyle::subElementRect(), and timerEvent().
QWindowsVistaAnimation * QWindowsVistaStylePrivate::widgetAnimation | ( | const QWidget * | widget | ) | const |
Definition at line 2566 of file qwindowsvistastyle.cpp.
Referenced by QWindowsVistaStyle::drawComplexControl(), QWindowsVistaStyle::drawControl(), and QWindowsVistaStyle::drawPrimitive().
|
private |
Definition at line 211 of file qwindowsvistastyle_p.h.
Referenced by startAnimation(), stopAnimation(), timerEvent(), widgetAnimation(), and ~QWindowsVistaStylePrivate().
|
private |
Definition at line 212 of file qwindowsvistastyle_p.h.
Referenced by startAnimation(), and timerEvent().
|
private |
Definition at line 213 of file qwindowsvistastyle_p.h.
Referenced by treeViewHelper(), and ~QWindowsVistaStylePrivate().