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

#include <Base/QTGUI/qSlicerStyle.h>

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

Public Types

typedef ctkProxyStyle Superclass
 Superclass typedef. More...
 

Public Member Functions

virtual bool eventFilter (QObject *obj, QEvent *event)
 
virtual SubControl hitTestComplexControl (ComplexControl cc, const QStyleOptionComplex *opt, const QPoint &pt, const QWidget *widget) const
 
virtual int pixelMetric (PixelMetric metric, const QStyleOption *option=0, const QWidget *widget=0) const
 
 qSlicerStyle ()
 Constructors. More...
 
virtual QPalette standardPalette () const
 
virtual int styleHint (StyleHint hint, const QStyleOption *opt, const QWidget *widget, QStyleHintReturn *returnData) const
 
virtual QRect subControlRect (ComplexControl control, const QStyleOptionComplex *option, SubControl subControl, const QWidget *widget) const
 
virtual ~qSlicerStyle ()
 

Detailed Description

Definition at line 30 of file qSlicerStyle.h.

Member Typedef Documentation

◆ Superclass

typedef ctkProxyStyle qSlicerStyle::Superclass

Superclass typedef.

Definition at line 35 of file qSlicerStyle.h.

Constructor & Destructor Documentation

◆ qSlicerStyle()

qSlicerStyle::qSlicerStyle ( )

Constructors.

◆ ~qSlicerStyle()

virtual qSlicerStyle::~qSlicerStyle ( )
virtual

Member Function Documentation

◆ eventFilter()

virtual bool qSlicerStyle::eventFilter ( QObject *  obj,
QEvent *  event 
)
virtual

Behavior of widgets can be tweaked if an event filter is installed on a widget or application. If activated, the filter:

  • prevents widgets to receive wheel events when they are in a scroll area with a visible scrollbar.

◆ hitTestComplexControl()

virtual SubControl qSlicerStyle::hitTestComplexControl ( ComplexControl  cc,
const QStyleOptionComplex *  opt,
const QPoint &  pt,
const QWidget *  widget 
) const
virtual

◆ pixelMetric()

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

◆ standardPalette()

virtual QPalette qSlicerStyle::standardPalette ( ) const
virtual

Reimplemented in qSlicerDarkStyle.

◆ styleHint()

virtual int qSlicerStyle::styleHint ( StyleHint  hint,
const QStyleOption *  opt,
const QWidget *  widget,
QStyleHintReturn *  returnData 
) const
virtual

◆ subControlRect()

virtual QRect qSlicerStyle::subControlRect ( ComplexControl  control,
const QStyleOptionComplex *  option,
SubControl  subControl,
const QWidget *  widget 
) const
virtual

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