#include <Base/QTGUI/qSlicerStyle.h>
|
| typedef ctkProxyStyle | Superclass |
| | Superclass typedef.
|
| |
|
| 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.
|
| |
| 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 |
| |
Definition at line 30 of file qSlicerStyle.h.
◆ Superclass
◆ qSlicerStyle()
| qSlicerStyle::qSlicerStyle |
( |
| ) |
|
◆ ~qSlicerStyle()
| qSlicerStyle::~qSlicerStyle |
( |
| ) |
|
|
override |
◆ 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: