Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_animation_importer.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 Jouni Pentikäinen <joupent@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KIS_ANIMATION_IMPORTER_H
8#define KIS_ANIMATION_IMPORTER_H
9
10#include "kis_types.h"
11#include "kritaui_export.h"
14#include <QPair>
15
16class KisDocument;
17class KisMainWindow;
18
19class KRITAUI_EXPORT KisAnimationImporter : public QObject
20{
21 Q_OBJECT
22
23public:
26 ~KisAnimationImporter() override;
27
29 , int firstFrame
30 , int step
31 , bool autoAddHoldframes = false
32 , bool startfrom0 = false
33 , int isAscending = 0
34 , bool assignDocumentProfile = false
35 , QList<int> optionalKeyframeTimeList = {});
36
37private:
38 QPair<KisPaintLayerSP, class KisRasterKeyframeChannel*> initializePaintLayer(QScopedPointer<KisDocument>& doc, class KisUndoAdapter* undoAdapter);
39
40private Q_SLOTS:
41 void cancel();
42
43private:
44 struct Private;
45 QScopedPointer<Private> m_d;
46};
47
48#endif
QScopedPointer< Private > m_d
Main window for Krita.