QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskSkinHintStatus Class Reference

#include <QskSkinnable.h>

Detailed Description

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

See also
QskSkinnable::effectiveSkinHint()

Definition at line 46 of file QskSkinnable.h.

Public Types

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

Public Attributes

Source source
 
QskAspect aspect
 

Public Member Functions

 QskSkinHintStatus ()
 
bool isValid () const
 

Member Enumeration Documentation

◆ Source

Enumerator
NoSource 
 The lookup had failed to find a valid hint
Skinnable 
 The hint has been found in the local table of the skinnable
See also
QskSkinnable::hintTable()
Skin 
The hint has been found in the table of the skin
See also
QskSkinnable::effectiveSkin(), QskSkin::hintTable()
Animator 
The hint has been taken from an animator, that is in the process
of interpolating between values of different states
See also
QskHintAnimator, QskSkinnable::setSkinState()

Definition at line 49 of file QskSkinnable.h.

Constructor & Destructor Documentation

◆ QskSkinHintStatus()

QskSkinHintStatus::QskSkinHintStatus ( )
inline

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

See also
isValid()

Definition at line 58 of file QskSkinnable.h.

Member Function Documentation

◆ isValid()

QskSkinHintStatus::isValid ( ) const
inline
Returns
True, when having a source > QskSkinHintStatus::NoSource

Definition at line 63 of file QskSkinnable.h.

Member Data Documentation

◆ aspect

QskSkinHintStatus::aspect
Resolved aspect, that lead to a successful match in one of the
available sources
See also
QskAspect
Note
The resolved apsect usually differs from the aspect that has been passed as input parameter for QskSkinnable::effectiveSkinHint()

Definition at line 69 of file QskSkinnable.h.

◆ source

QskSkinHintStatus::source
Source, where the hint has been found
See also
QskSkinHintStatus::Source

Definition at line 68 of file QskSkinnable.h.