DtkGui
DTK Gui module
载入中...
搜索中...
未找到
Dtk::Gui::DDciIconPlayerPrivate类 参考
类 Dtk::Gui::DDciIconPlayerPrivate 继承关系图:
Dtk::Gui::DDciIconPlayerPrivate 的协作图:

struct  Animation
 

Public 成员函数

 DDciIconPlayerPrivate (DDciIconPlayer *qq)
 
void ensureInit ()
 
void initPlayer ()
 
bool ensureHoverModeLastImage ()
 
void play (DDciIcon::Mode mode, DDciIconImagePlayer::Flags flags)
 
bool play (DDciIcon::Mode fromMode, DDciIcon::Mode toMode, DDciIconImagePlayer::Flags extraflags={})
 
void _q_playFromQueue (int extraflags=0)
 
void playToQueue ()
 
bool start (DDciIcon::Mode forMode, qreal speed=1.0, DDciIconImagePlayer::Flags flags={})
 
void reset ()
 
bool isValid () const
 
void setImage (const QImage &image)
 
void setImage (DDciIcon::Mode mode)
 
void setFinishedImage (DDciIcon::Mode mode)
 
const DDciIconImagegetImage (DDciIcon::Mode mode) const
 
void setState (DDciIconPlayer::State newState)
 

Public 属性

DDciIconPlayer::State state = DDciIconPlayer::Idle
 
DDciIcon icon
 
DDciIcon::Theme theme = DDciIcon::Light
 
DDciIcon::Mode mode = DDciIcon::Normal
 
DDciIcon::Mode lastMode = DDciIcon::Normal
 
int iconSize = -1
 
qreal devicePixelRatio = 1.0
 
DDciIconImage normal
 
DDciIconImage hover
 
DDciIconImage pressed
 
DDciIconImage disabled
 
DDciIconImagePlayerplayer = nullptr
 
QVector< AnimationanimationJobs
 
bool saveImageForHoverModeOnFinished = false
 
QImage image
 
QImage finishedImage
 
QImage hoverModeLastImage
 

该类的文档由以下文件生成: