DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dpicturesequenceview_p.h
1
// SPDX-FileCopyrightText: 2015 - 2022 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DPICTURESEQUENCEVIEW_P_H
6
#define DPICTURESEQUENCEVIEW_P_H
7
8
#include <dpicturesequenceview.h>
9
10
#include <DObjectPrivate>
11
12
#include <QList>
13
#include <QGraphicsScene>
14
#include <QTimer>
15
16
DWIDGET_BEGIN_NAMESPACE
17
18
class
DPictureSequenceViewPrivate
:
public
DTK_CORE_NAMESPACE::DObjectPrivate
19
{
20
D_DECLARE_PUBLIC(
DPictureSequenceView
)
21
22
public
:
23
DPictureSequenceViewPrivate
(
DPictureSequenceView
*q);
24
~DPictureSequenceViewPrivate
();
25
26
void
init();
27
void
play();
28
29
QPixmap loadPixmap(
const
QString &path);
30
31
public
:
32
void
_q_refreshPicture();
33
34
public
:
35
int
lastItemPos = 0;
36
bool
singleShot =
false
;
37
38
QGraphicsScene *scene;
39
QTimer *refreshTimer;
40
QList<QGraphicsPixmapItem*> pictureItemList;
41
};
42
43
DWIDGET_END_NAMESPACE
44
45
#endif
// DPICTURESEQUENCEVIEW_P_H
46
Dtk::Widget::DPictureSequenceViewPrivate
Definition
dpicturesequenceview_p.h:19
Dtk::Widget::DPictureSequenceView
DPictureSequenceView draw a serial of picture as movie. It trigger picture update by an timer.
Definition
dpicturesequenceview.h:19
src
widgets
private
dpicturesequenceview_p.h
文档生成时间:2024-11-15-05:51 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享