Krita Source Code Documentation
Loading...
Searching...
No Matches
KisAnimTimelineDocker.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 Jouni Pentikäinen <joupent@gmail.com>
3 * SPDX-FileCopyrightText: 2020 Emmet O 'Neill <emmetoneill.pdx@gmail.com>
4 * SPDX-FileCopyrightText: 2020 Eoin O 'Neill <eoinoneill1991@gmail.com>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9#ifndef _TIMELINE_DOCKER_H_
10#define _TIMELINE_DOCKER_H_
11
12#include "kritaimage_export.h"
13
14#include <QScopedPointer>
15#include <QDockWidget>
16
19
20#ifdef Q_OS_MACOS
21#include <sys/types.h>
22#endif
23
24class QToolButton;
28
29class KisCanvas2;
30class KisAction;
32
33
80
81
90class KisAnimTimelineDocker : public QDockWidget, public KisMainwindowObserver
91{
92 Q_OBJECT
93public:
95 ~KisAnimTimelineDocker() override;
96
97 QString observerName() override { return "TimelineDocker"; }
98 void setCanvas(KoCanvasBase *canvas) override;
99 void unsetCanvas() override;
100 void setViewManager(KisViewManager *kisview) override;
101 void setPlaybackEngine(KisPlaybackEngine *playbackEngine);
102
103public Q_SLOTS:
104 void togglePlayback();
105 void setAutoKey(bool value);
106
108
109 void updateFrameCache();
110 void updateFrameRegister();
112
113 void handleThemeChange();
114
116
117private:
118 struct Private;
119 const QScopedPointer<Private> m_d;
120};
121
122
123#endif
float value(const T *src, size_t ch)
A customized titlebar for the Animation Timeline Docker that's packed with useful widgets and menus.
KisAnimTimelineDockerTitlebar(QWidget *parent=nullptr)
Krita's Animation Timeline Docker. This is the GUI heart of Krita's traditional animation workflow,...
QString observerName() override
void setPlaybackEngine(KisPlaybackEngine *playbackEngine)
void setViewManager(KisViewManager *kisview) override
void setCanvas(KoCanvasBase *canvas) override
const QScopedPointer< Private > m_d
The KisIntParseSpinBox class is a cleverer SpinBox, able to parse arithmetic expressions.
The KisMainwindowObserver class is an interface for dock widgets that want to keep track of the main ...
Krita's base animation playback engine for producing image frame changes and associated audio.
This class is a spinbox in which you can click and drag to set the value. A slider like bar is displa...
The KisTransportControls class provides a simple, reusable widget for common transport controls,...
A special utility titlebar with a title and controls, as well as a central area for adding frequently...