itom
Loading...
Searching...
No Matches
ProxyStyle Class Reference

#include <proxyStyle.h>

Inheritance diagram for ProxyStyle:

Public Member Functions

 ProxyStyle (QStyle *baseStyle=0, QObject *parent=0)
 
void ensureBaseStyle () const
 
virtual void drawPrimitive (PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget=0) const
 
virtual void drawControl (ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget=0) const
 
virtual void drawComplexControl (ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget=0) const
 
virtual void drawItemText (QPainter *painter, const QRect &rect, int flags, const QPalette &pal, bool enabled, const QString &text, QPalette::ColorRole textRole=QPalette::NoRole) const
 
virtual void drawItemPixmap (QPainter *painter, const QRect &rect, int alignment, const QPixmap &pixmap) const
 
virtual QSize sizeFromContents (ContentsType type, const QStyleOption *option, const QSize &size, const QWidget *widget) const
 
virtual QRect subElementRect (SubElement element, const QStyleOption *option, const QWidget *widget) const
 
virtual QRect subControlRect (ComplexControl cc, const QStyleOptionComplex *opt, SubControl sc, const QWidget *widget) const
 
virtual QRect itemTextRect (const QFontMetrics &fm, const QRect &r, int flags, bool enabled, const QString &text) const
 
virtual QRect itemPixmapRect (const QRect &r, int flags, const QPixmap &pixmap) const
 
virtual SubControl hitTestComplexControl (ComplexControl control, const QStyleOptionComplex *option, const QPoint &pos, const QWidget *widget=0) const
 
virtual int styleHint (StyleHint hint, const QStyleOption *option=0, const QWidget *widget=0, QStyleHintReturn *returnData=0) const
 
virtual int pixelMetric (PixelMetric metric, const QStyleOption *option=0, const QWidget *widget=0) const
 
virtual QPixmap standardPixmap (StandardPixmap standardPixmap, const QStyleOption *opt, const QWidget *widget=0) const
 
virtual QPixmap generatedIconPixmap (QIcon::Mode iconMode, const QPixmap &pixmap, const QStyleOption *opt) const
 
virtual QPalette standardPalette () const
 
virtual void polish (QWidget *widget)
 
virtual void polish (QPalette &pal)
 
virtual void polish (QApplication *app)
 
virtual void unpolish (QWidget *widget)
 
virtual void unpolish (QApplication *app)
 

Protected Slots

virtual QIcon standardIconImplementation (StandardPixmap standardIcon, const QStyleOption *option, const QWidget *widget) const
 
virtual int layoutSpacingImplementation (QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption *option=0, const QWidget *widget=0) const
 

Protected Member Functions

virtual bool event (QEvent *e)
 

Protected Attributes

QScopedPointer< ProxyStylePrivated_ptr
 

Detailed Description

ProxyStyle fixes some issues with QProxyStyle


The documentation for this class was generated from the following files: