Slicer  5.3
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
Collaboration diagram for qSlicerStyle:
Collaboration graph

Public Types

typedef ctkProxyStyle Superclass
 Superclass typedef. More...

Public Member Functions

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

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 ( )


◆ ~qSlicerStyle()

qSlicerStyle::~qSlicerStyle ( )

Member Function Documentation

◆ eventFilter()

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

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()

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

◆ pixelMetric()

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

◆ standardDarkPalette()

QPalette qSlicerStyle::standardDarkPalette ( ) const

◆ standardLightPalette()

QPalette qSlicerStyle::standardLightPalette ( ) const

◆ standardPalette()

QPalette qSlicerStyle::standardPalette ( ) const

◆ styleHint()

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

◆ subControlRect()

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

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