Slicer  5.0
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

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

Constructors.

◆ ~qSlicerStyle()

qSlicerStyle::~qSlicerStyle ( )
override

Member Function Documentation

◆ eventFilter()

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

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
override

◆ pixelMetric()

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

◆ standardDarkPalette()

QPalette qSlicerStyle::standardDarkPalette ( ) const

◆ standardLightPalette()

QPalette qSlicerStyle::standardLightPalette ( ) const

◆ standardPalette()

QPalette qSlicerStyle::standardPalette ( ) const
override

◆ styleHint()

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

◆ subControlRect()

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

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