Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
StyleOptionHelper Namespace Reference

Enumerations

enum class  ControlState {
  Normal , Hover , Pressed , Disabled ,
  Normal , Hover , Pressed , Disabled
}
enum class  ControlState {
  Normal , Hover , Pressed , Disabled ,
  Normal , Hover , Pressed , Disabled
}

Functions

bool isChecked (const QStyleOption *option)
bool isDisabled (const QStyleOption *option)
bool isPressed (const QStyleOption *option)
bool isHover (const QStyleOption *option)
bool isAutoRaise (const QStyleOption *option)
ControlState calcControlState (const QStyleOption *option)

Enumeration Type Documentation

◆ ControlState [1/2]

Enumerator
Normal 
Hover 
Pressed 
Disabled 
Normal 
Hover 
Pressed 
Disabled 

Definition at line 70 of file qwindows11style.cpp.

◆ ControlState [2/2]

Enumerator
Normal 
Hover 
Pressed 
Disabled 
Normal 
Hover 
Pressed 
Disabled 

Definition at line 70 of file qwindows11style.cpp.

Function Documentation

◆ calcControlState()

ControlState StyleOptionHelper::calcControlState ( const QStyleOption * option)
inline

Definition at line 71 of file qwindows11style.cpp.

References Disabled, Hover, Normal, and Pressed.

◆ isAutoRaise()

bool StyleOptionHelper::isAutoRaise ( const QStyleOption * option)
inline

Definition at line 66 of file qwindows11style.cpp.

◆ isChecked()

bool StyleOptionHelper::isChecked ( const QStyleOption * option)
inline

Definition at line 50 of file qwindows11style.cpp.

◆ isDisabled()

bool StyleOptionHelper::isDisabled ( const QStyleOption * option)
inline

Definition at line 54 of file qwindows11style.cpp.

◆ isHover()

bool StyleOptionHelper::isHover ( const QStyleOption * option)
inline

Definition at line 62 of file qwindows11style.cpp.

◆ isPressed()

bool StyleOptionHelper::isPressed ( const QStyleOption * option)
inline

Definition at line 58 of file qwindows11style.cpp.