Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Member Functions | Protected Member Functions
QCleanlooksStyle Class Reference

#include <Libs/qtstyleplugins/src/qcleanlooksstyle.h>

Inheritance diagram for QCleanlooksStyle:
Inheritance graph
[legend]
Collaboration diagram for QCleanlooksStyle:
Collaboration graph
[legend]

Public Member Functions

void drawComplexControl (ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget) const Q_DECL_OVERRIDE
 
void drawControl (ControlElement ce, const QStyleOption *option, QPainter *painter, const QWidget *widget) const Q_DECL_OVERRIDE
 
void drawItemPixmap (QPainter *painter, const QRect &rect, int alignment, const QPixmap &pixmap) const Q_DECL_OVERRIDE
 
void drawItemText (QPainter *painter, const QRect &rect, int flags, const QPalette &pal, bool enabled, const QString &text, QPalette::ColorRole textRole=QPalette::NoRole) const Q_DECL_OVERRIDE
 
void drawPrimitive (PrimitiveElement elem, const QStyleOption *option, QPainter *painter, const QWidget *widget=0) const Q_DECL_OVERRIDE
 
QPixmap generatedIconPixmap (QIcon::Mode iconMode, const QPixmap &pixmap, const QStyleOption *opt) const Q_DECL_OVERRIDE
 
SubControl hitTestComplexControl (ComplexControl cc, const QStyleOptionComplex *opt, const QPoint &pt, const QWidget *w=0) const Q_DECL_OVERRIDE
 
QRect itemPixmapRect (const QRect &r, int flags, const QPixmap &pixmap) const Q_DECL_OVERRIDE
 
int pixelMetric (PixelMetric metric, const QStyleOption *option=0, const QWidget *widget=0) const Q_DECL_OVERRIDE
 
void polish (QWidget *widget) Q_DECL_OVERRIDE
 
void polish (QApplication *app) Q_DECL_OVERRIDE
 
void polish (QPalette &pal) Q_DECL_OVERRIDE
 
 QCleanlooksStyle ()
 
QSize sizeFromContents (ContentsType type, const QStyleOption *option, const QSize &size, const QWidget *widget) const Q_DECL_OVERRIDE
 
QIcon standardIcon (StandardPixmap standardIcon, const QStyleOption *option=0, const QWidget *widget=0) const Q_DECL_OVERRIDE
 
QPalette standardPalette () const Q_DECL_OVERRIDE
 
QPixmap standardPixmap (StandardPixmap standardPixmap, const QStyleOption *opt, const QWidget *widget=0) const Q_DECL_OVERRIDE
 
int styleHint (StyleHint hint, const QStyleOption *option=0, const QWidget *widget=0, QStyleHintReturn *returnData=0) const Q_DECL_OVERRIDE
 
QRect subControlRect (ComplexControl cc, const QStyleOptionComplex *opt, SubControl sc, const QWidget *widget) const Q_DECL_OVERRIDE
 
QRect subElementRect (SubElement r, const QStyleOption *opt, const QWidget *widget=0) const Q_DECL_OVERRIDE
 
void unpolish (QWidget *widget) Q_DECL_OVERRIDE
 
void unpolish (QApplication *app) Q_DECL_OVERRIDE
 
 ~QCleanlooksStyle ()
 

Protected Member Functions

bool eventFilter (QObject *o, QEvent *e) Q_DECL_OVERRIDE
 
void startProgressAnimation (QObject *o, QProgressBar *bar)
 
void stopProgressAnimation (QObject *o, QProgressBar *bar)
 
void timerEvent (QTimerEvent *) Q_DECL_OVERRIDE
 

Detailed Description

Definition at line 54 of file qcleanlooksstyle.h.

Constructor & Destructor Documentation

◆ QCleanlooksStyle()

QCleanlooksStyle::QCleanlooksStyle ( )

◆ ~QCleanlooksStyle()

QCleanlooksStyle::~QCleanlooksStyle ( )

Member Function Documentation

◆ drawComplexControl()

void QCleanlooksStyle::drawComplexControl ( ComplexControl  control,
const QStyleOptionComplex *  option,
QPainter *  painter,
const QWidget *  widget 
) const

◆ drawControl()

void QCleanlooksStyle::drawControl ( ControlElement  ce,
const QStyleOption *  option,
QPainter *  painter,
const QWidget *  widget 
) const

◆ drawItemPixmap()

void QCleanlooksStyle::drawItemPixmap ( QPainter *  painter,
const QRect &  rect,
int  alignment,
const QPixmap &  pixmap 
) const

◆ drawItemText()

void QCleanlooksStyle::drawItemText ( QPainter *  painter,
const QRect &  rect,
int  flags,
const QPalette &  pal,
bool  enabled,
const QString &  text,
QPalette::ColorRole  textRole = QPalette::NoRole 
) const

◆ drawPrimitive()

void QCleanlooksStyle::drawPrimitive ( PrimitiveElement  elem,
const QStyleOption *  option,
QPainter *  painter,
const QWidget *  widget = 0 
) const

◆ eventFilter()

bool QCleanlooksStyle::eventFilter ( QObject *  o,
QEvent *  e 
)
protected

◆ generatedIconPixmap()

QPixmap QCleanlooksStyle::generatedIconPixmap ( QIcon::Mode  iconMode,
const QPixmap &  pixmap,
const QStyleOption *  opt 
) const

◆ hitTestComplexControl()

SubControl QCleanlooksStyle::hitTestComplexControl ( ComplexControl  cc,
const QStyleOptionComplex *  opt,
const QPoint &  pt,
const QWidget *  w = 0 
) const

◆ itemPixmapRect()

QRect QCleanlooksStyle::itemPixmapRect ( const QRect &  r,
int  flags,
const QPixmap &  pixmap 
) const

◆ pixelMetric()

int QCleanlooksStyle::pixelMetric ( PixelMetric  metric,
const QStyleOption *  option = 0,
const QWidget *  widget = 0 
) const

◆ polish() [1/3]

void QCleanlooksStyle::polish ( QWidget *  widget)

◆ polish() [2/3]

void QCleanlooksStyle::polish ( QApplication *  app)

◆ polish() [3/3]

void QCleanlooksStyle::polish ( QPalette &  pal)

◆ sizeFromContents()

QSize QCleanlooksStyle::sizeFromContents ( ContentsType  type,
const QStyleOption *  option,
const QSize &  size,
const QWidget *  widget 
) const

◆ standardIcon()

QIcon QCleanlooksStyle::standardIcon ( StandardPixmap  standardIcon,
const QStyleOption *  option = 0,
const QWidget *  widget = 0 
) const

◆ standardPalette()

QPalette QCleanlooksStyle::standardPalette ( ) const

◆ standardPixmap()

QPixmap QCleanlooksStyle::standardPixmap ( StandardPixmap  standardPixmap,
const QStyleOption *  opt,
const QWidget *  widget = 0 
) const

◆ startProgressAnimation()

void QCleanlooksStyle::startProgressAnimation ( QObject *  o,
QProgressBar *  bar 
)
protected

◆ stopProgressAnimation()

void QCleanlooksStyle::stopProgressAnimation ( QObject *  o,
QProgressBar *  bar 
)
protected

◆ styleHint()

int QCleanlooksStyle::styleHint ( StyleHint  hint,
const QStyleOption *  option = 0,
const QWidget *  widget = 0,
QStyleHintReturn *  returnData = 0 
) const

◆ subControlRect()

QRect QCleanlooksStyle::subControlRect ( ComplexControl  cc,
const QStyleOptionComplex *  opt,
SubControl  sc,
const QWidget *  widget 
) const

◆ subElementRect()

QRect QCleanlooksStyle::subElementRect ( SubElement  r,
const QStyleOption *  opt,
const QWidget *  widget = 0 
) const

◆ timerEvent()

void QCleanlooksStyle::timerEvent ( QTimerEvent *  )
protected

◆ unpolish() [1/2]

void QCleanlooksStyle::unpolish ( QWidget *  widget)

◆ unpolish() [2/2]

void QCleanlooksStyle::unpolish ( QApplication *  app)

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