Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/dialogs/KisAsyncAnimationRenderDialogBase.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | |||||
50 | * - if batchMode() is false, the user will see a progress dialog showing | 50 | * - if batchMode() is false, the user will see a progress dialog showing | ||
51 | * the current progress with estimate about total processing timer | 51 | * the current progress with estimate about total processing timer | ||
52 | * - the user can also cancel the regeneration by pressing Cancel button | 52 | * - the user can also cancel the regeneration by pressing Cancel button | ||
53 | * | 53 | * | ||
54 | * Usage Details: | 54 | * Usage Details: | ||
55 | * - one should implement two methods to make the rendering work: | 55 | * - one should implement two methods to make the rendering work: | ||
56 | * - calcDirtyFrames() | 56 | * - calcDirtyFrames() | ||
57 | * - createRenderer(KisImageSP image) | 57 | * - createRenderer(KisImageSP image) | ||
58 | * - these methids will be called on the start of the rendering | 58 | * - these methods will be called on the start of the rendering | ||
59 | */ | 59 | */ | ||
60 | class KRITAUI_EXPORT KisAsyncAnimationRenderDialogBase : public QObject | 60 | class KRITAUI_EXPORT KisAsyncAnimationRenderDialogBase : public QObject | ||
61 | { | 61 | { | ||
62 | Q_OBJECT | 62 | Q_OBJECT | ||
63 | public: | 63 | public: | ||
64 | enum Result { | 64 | enum Result { | ||
65 | RenderComplete, | 65 | RenderComplete, | ||
66 | RenderCancelled, | 66 | RenderCancelled, | ||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |