QskSkinHintStatus

More…

#include <QskSkinnable.h>

Public Types

  Name
enum Source { NoSource = 0, Skinnable, Skin, Animator}

Public Functions

  Name
  QskSkinHintStatus()
bool isValid() const

Public Attributes

  Name
Source source
QskAspect aspect

Detailed Description

class QskSkinHintStatus;

See: QskSkinnable::effectiveSkinHint()

QskSkinHintStatus provides the information how a lookup for a skin hint had been resolved and where the value has been found.

Public Types Documentation

enum Source

Enumerator Value Description
NoSource 0  
 The lookup had failed to find a valid hint
``` |
| Skinnable | |  

The hint has been found in the local table of the skinnable

| Skin | |  

The hint has been found in the table of the skin

| Animator | |  

The hint has been taken from an animator, that is in the process of interpolating between values of different states





## Public Functions Documentation

### function QskSkinHintStatus

```cpp
inline QskSkinHintStatus()

See: isValid()

Initializes the status to be invalid, by setting the source to QskSkinHintStatus::NoSource

function isValid

inline bool isValid() const

Return: True, when having a source > QskSkinHintStatus::NoSource

Public Attributes Documentation

variable source

Source source;

See: QskSkinHintStatus::Source

Source, where the hint has been found

variable aspect

QskAspect aspect;

See: QskAspect

Note: The resolved apsect usually differs from the aspect that has been passed as input parameter for QskSkinnable::effectiveSkinHint()

Resolved aspect, that lead to a successful match in one of the
available sources

Updated on 28 July 2023 at 14:02:28 CEST