- qtgui
- qtdbus
- qtwidgets
- qtcore
- dtkcore
- qsettingbackend_zh
- dobject_zh
- abstractappender_zh
- abstractstringappender_zh
- dfilewatcher_zh
- outputdebugappender_zh
- dsettingsbackend_zh
- drecentmanager_zh
- ddesktopentry_zh
- consoleappender_zh
- gsettingsbackend_zh
- dsettingsgroup_zh
- dlogmanager_zh
- fileappender_zh
- dsettings_zh
- dfilesystemwatcher_zh
- dfilewatchermanager_zh
- dbasefilewatcher_zh
- dtkgui
- dtkwidget
- dviewitemaction_zh
- dstandarditem_zh
- dfiledialog_zh
- dclipeffectwidget_zh
- danchors_zh
- dgraphicsclipeffect_zh
- dstyle_zh
- dcoloredprogressbar_zh
- dbuttonboxbutton_zh
- dlabel_zh
- dtiplabel_zh
- darrowlinedrawer_zh
- daboutdialog_zh
- dsettingswidgetfactory_zh
- dsearchcombobox_zh
- dcrumbedit_zh
- dcommandlinkbutton_zh
- dsettingsdialog_zh
- dwindowoptionbutton_zh
- dspinner_zh
- dsimplelistview_zh
- dwaterprogress_zh
- dmainwindow_zh
- dhidpihelper_zh
- dslider_zh
- dpasswordedit_zh
- danchorinfo_zh
- dmpriscontrol_zh
- darrowbutton_zh
- dbackgroundgroup_zh
- dcircleprogress_zh
- dwarningbutton_zh
- dwindowclosebutton_zh
- dvideowidget_zh
- dfilechooseredit_zh
- dblureffectwidget_zh
- darrowrectangle_zh
- dsearchedit_zh
- dfloatingmessage_zh
- dswitchlineexpand_zh
- dtabbar_zh
- dlineedit_zh
- danchorsbase_zh
- dstylediconengine_zh
- dwindowmaxbutton_zh
- dpageindicator_zh
- dsuggestbutton_zh
- dapplicationsettings_zh
- dtooltip_zh
- dwindowminbutton_zh
- ddrawer_zh
- dtitlebar_zh
- dsimplelistitem_zh
- dpicturesequenceview_zh
dpicturesequenceview_zh
Class::DPictureSequenceView
暂无该属性
Detailed Description
将图片序列绘制为动画,通过定时器刷新来实现动画效果。
DPictureSequenceView::Q_PROPERTY
int Q_PROPERTY(int )
DPictureSequenceView::setPictureSequence
void setPictureSequence(const QString &srcFormat, const int &range, const int fieldWidth, const bool autoScale)
通过一个URI模板来设置图片序列 srcFormat 图片源模板,例如":/images/Spinner/Spinner%1.png"。 range 图片的序号范围,需要为一系列整数。 fieldWidth 图片的序号转化为字符串时的宽度,通过‘0’来填充. autoScale 是否自动缩放图片,默认不缩放。
DPictureSequenceView::setPictureSequence
void setPictureSequence(const int &sequence, const bool autoScale)
通过位图数据序列来初始化图片序列。 sequence 位图数据序列。 autoScale 是否自动缩放图片,默认不缩放。
DPictureSequenceView::play
void play()
开始/恢复播放。
DPictureSequenceView::pause
void pause()
暂停播放并停止在当前图片上。
DPictureSequenceView::stop
void stop()
暂停播放并停止在初始图片上。
DPictureSequenceView::speed
int speed() const
DPictureSequenceView::setSpeed
void setSpeed(int speed)
DPictureSequenceView::singleShot
bool singleShot() const
DPictureSequenceView::setSingleShot
void setSingleShot(bool singleShot)
DPictureSequenceView::playEnd
void playEnd() const
DPictureSequenceView::D_PRIVATE_SLOT
int D_PRIVATE_SLOT(void () )
DPictureSequenceView::operator=
DPictureSequenceView & operator=(const DPictureSequenceView &)