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

Detailed Description

Definition at line 14 of file QskAnimationHint.h.

Public Types

enum  UpdateFlag {
  UpdateAuto = 0 , UpdateNode = 1 << 0 , UpdatePolish = 1 << 1 , UpdateSizeHint = 1 << 2 ,
  UpdateAll = UpdateNode | UpdatePolish | UpdateSizeHint
}
 

Public Attributes

uint duration
 
QEasingCurve::Type type
 
UpdateFlags updateFlags
 

Public Member Functions

constexpr QskAnimationHint (uint duration, QEasingCurve::Type type=QEasingCurve::Linear) noexcept
 
constexpr bool isValid () const
 

Member Enumeration Documentation

◆ UpdateFlag

enum QskAnimationHint::UpdateFlag

Definition at line 17 of file QskAnimationHint.h.

Constructor & Destructor Documentation

◆ QskAnimationHint() [1/2]

constexpr QskAnimationHint::QskAnimationHint ( )
inlineconstexprnoexcept

Definition at line 30 of file QskAnimationHint.h.

◆ QskAnimationHint() [2/2]

constexpr QskAnimationHint::QskAnimationHint ( uint  duration,
QEasingCurve::Type  type = QEasingCurve::Linear 
)
inlineconstexprnoexcept

Definition at line 37 of file QskAnimationHint.h.

Member Function Documentation

◆ isValid()

constexpr bool QskAnimationHint::isValid ( ) const
inlineconstexpr

Definition at line 45 of file QskAnimationHint.h.

Member Data Documentation

◆ duration

uint QskAnimationHint::duration

Definition at line 50 of file QskAnimationHint.h.

◆ type

QEasingCurve::Type QskAnimationHint::type

Definition at line 51 of file QskAnimationHint.h.

◆ updateFlags

UpdateFlags QskAnimationHint::updateFlags

Definition at line 52 of file QskAnimationHint.h.