Pencil2D Animation
Download Community News Docs Contribute
  • Overview
  • Articles
  • Code
  •  
  • Class List
  • Class Index
  • Class Hierarchy
  • Class Members
  • File List
Loading...
Searching...
No Matches
Signals | Public Member Functions | Properties | Private Member Functions | Private Attributes | List of all members
Editor Class Reference
+ Inheritance diagram for Editor:
Inheritance graph
[legend]
+ Collaboration diagram for Editor:
Collaboration graph
[legend]

Signals

void scrubbed (int frameNumber)
 This should be emitted after scrubbing.
 
void frameModified (int frameNumber)
 This should be emitted after modifying the frame content.
 
void framesModified ()
 This should be emitted after modifying multiple frames.
 
void selectedFramesChanged ()
 
void updateTimeLine () const
 
void updateTimeLineCached ()
 
void updateLayerCount ()
 
void objectLoaded ()
 
void fpsChanged (int fps)
 
void needSave ()
 
void needDisplayInfo (const QString &title, const QString &body)
 
void needDisplayInfoNoTitle (const QString &body)
 
void canCopyChanged (bool enabled)
 
void canPasteChanged (bool enabled)
 

Public Member Functions

 Editor (QObject *parent=nullptr)
 
bool init ()
 
ColorManager * color () const
 
ToolManager * tools () const
 
LayerManager * layers () const
 
PlaybackManager * playback () const
 
ViewManager * view () const
 
PreferenceManager * preference () const
 
SoundManager * sound () const
 
SelectionManager * select () const
 
OverlayManager * overlays () const
 
ClipboardManager * clipboards () const
 
UndoRedoManager * undoRedo () const
 
Object * object () const
 
Status openObject (const QString &strFilePath, const std::function< void(int)> &progressChanged, const std::function< void(int)> &progressRangeChanged)
 
Status setObject (Object *object)
 
void updateObject ()
 
void prepareSave ()
 
void setScribbleArea (ScribbleArea *pScirbbleArea)
 
ScribbleArea * getScribbleArea ()
 
int currentFrame () const
 
int fps ()
 
void setFps (int fps)
 
int currentLayerIndex () const
 
void setCurrentLayerIndex (int i)
 
void scrubTo (int frameNumber)
 
void setLayerVisibility (LayerVisibility visibility)
 The visibility value should match any of the VISIBILITY enum values.
 
LayerVisibility layerVisibility ()
 
qreal viewScaleInversed ()
 
void deselectAll () const
 
void selectAll () const
 
void clipboardChanged ()
 
void updateFrame ()
 Will call update() and update the canvas Only call this directly If you need the cache to be intact and require the frame to be repainted.
 
void setModified (int layerNumber, int frameNumber)
 
void clearCurrentFrame ()
 
Status importImage (const QString &filePath, ImportImageConfig importConfig)
 
Status importAnimatedImage (const QString &filePath, int frameSpacing, const std::function< void(int)> &progressChanged, const std::function< bool()> &wasCanceled)
 
void scrubNextKeyFrame ()
 
void scrubPreviousKeyFrame ()
 
void scrubForward ()
 
void scrubBackward ()
 
KeyFrame * addNewKey ()
 Attempts to create a new keyframe at the current frame and layer.
 
KeyFrame * addKeyFrame (int layerNumber, int frameIndex)
 Attempts to create a new keyframe at the given position and layer.
 
void removeKey ()
 
void switchVisibilityOfLayer (int layerNumber)
 
void swapLayers (int i, int j)
 
bool canSwapLayers (int layerIndexLeft, int layerIndexRight) const
 
void backup (const QString &undoText)
 
bool backup (int layerNumber, int frameNumber, const QString &undoText)
 
void onCurrentLayerWillChange (int index)
 
void copy ()
 
void copyAndCut ()
 
void pasteFromPreviousFrame ()
 
void paste ()
 
bool canCopy () const
 
bool canPaste () const
 
void increaseLayerVisibilityIndex ()
 
void decreaseLayerVisibilityIndex ()
 
void flipSelection (bool flipVertical)
 
void repositionImage (QPoint transform, int frame)
 
void clearTemporary ()
 
void addTemporaryDir (QTemporaryDir *dir)
 
void settingUpdated (SETTING)
 
void dontAskAutoSave (bool b)
 
bool autoSaveNeverAskAgain () const
 
void resetAutoSaveCounter ()
 
- Public Member Functions inherited from QObject
virtual const QMetaObject * metaObject () const const
 
 QObject (QObject *parent)
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
QString objectName () const const
 
void setObjectName (const QString &name)
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
bool signalsBlocked () const const
 
bool blockSignals (bool block)
 
QThread * thread () const const
 
void moveToThread (QThread *targetThread)
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::milliseconds time, Qt::TimerType timerType)
 
void killTimer (int id)
 
T findChild (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegExp &regExp, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
const QObjectList & children () const const
 
void setParent (QObject *parent)
 
void installEventFilter (QObject *filterObj)
 
void removeEventFilter (QObject *obj)
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
void dumpObjectTree ()
 
void dumpObjectInfo ()
 
void dumpObjectTree () const const
 
void dumpObjectInfo () const const
 
bool setProperty (const char *name, const QVariant &value)
 
QVariant property (const char *name) const const
 
QList< QByteArray > dynamicPropertyNames () const const
 
void destroyed (QObject *obj)
 
void objectNameChanged (const QString &objectName)
 
QObject * parent () const const
 
bool inherits (const char *className) const const
 
void deleteLater ()
 
 Q_DISABLE_COPY (Class)
 
 Q_DISABLE_MOVE (Class)
 
 Q_DISABLE_COPY_MOVE (Class)
 
T qobject_cast (QObject *object)
 
T qobject_cast (const QObject *object)
 
T qFindChild (const QObject *obj, const QString &name)
 
QList< T > qFindChildren (const QObject *obj, const QString &name)
 
QList< T > qFindChildren (const QObject *obj, const QRegExp &regExp)
 
 Q_CLASSINFO (Name, Value)
 
 Q_INTERFACES (...)
 
 Q_PROPERTY (...)
 
 Q_ENUMS (...)
 
 Q_FLAGS (...)
 
 Q_ENUM (...)
 
 Q_FLAG (...)
 
 Q_ENUM_NS (...)
 
 Q_FLAG_NS (...)
 
 Q_OBJECT Q_OBJECT
 
 Q_GADGET Q_GADGET
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SLOTS Q_SLOTS
 
 Q_SLOT Q_SLOT
 
 Q_EMIT Q_EMIT
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 

Properties

ColorManager * color
 
ToolManager * tools
 
LayerManager * layers
 
PlaybackManager * playback
 
ViewManager * view
 
PreferenceManager * preference
 
SoundManager * sound
 
SelectionManager * select
 
OverlayManager * overlays
 
ClipboardManager * clipboards
 
UndoRedoManager * undoRedo
 
- Properties inherited from QObject
 objectName
 

Private Member Functions

Status importBitmapImage (const QString &, const QTransform &importTransform)
 
Status importVectorImage (const QString &)
 
void pasteToCanvas (BitmapImage *bitmapImage, int frameNumber)
 
void pasteToCanvas (VectorImage *vectorImage, int frameNumber)
 
void pasteToFrames ()
 
bool canCopyBitmapImage (BitmapImage *bitmapImage) const
 
bool canCopyFrames (const Layer *layer) const
 
bool canCopyVectorImage (const VectorImage *vectorImage) const
 
void makeConnections ()
 
void updateAutoSaveCounter ()
 

Private Attributes

std::unique_ptr< Object > mObject
 
int mFrame = 1
 
int mCurrentLayerIndex = 0
 
ScribbleArea * mScribbleArea = nullptr
 
ColorManager * mColorManager = nullptr
 
ToolManager * mToolManager = nullptr
 
LayerManager * mLayerManager = nullptr
 
PlaybackManager * mPlaybackManager = nullptr
 
ViewManager * mViewManager = nullptr
 
PreferenceManager * mPreferenceManager = nullptr
 
SoundManager * mSoundManager = nullptr
 
SelectionManager * mSelectionManager = nullptr
 
OverlayManager * mOverlayManager = nullptr
 
ClipboardManager * mClipboardManager = nullptr
 
UndoRedoManager * mUndoRedoManager = nullptr
 
std::vector< BaseManager * > mAllManagers
 
bool mIsAutosave = true
 
int mAutosaveNumber = 12
 
int mAutosaveCounter = 0
 
bool mAutosaveNeverAskAgain = false
 
QList< QTemporaryDir * > mTemporaryDirs
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
- Public Attributes inherited from QObject
typedef QObjectList
 
- Protected Member Functions inherited from QObject
QObject * sender () const const
 
int senderSignalIndex () const const
 
int receivers (const char *signal) const const
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
virtual void timerEvent (QTimerEvent *event)
 
virtual void childEvent (QChildEvent *event)
 
virtual void customEvent (QEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 

Detailed Description

Definition at line 70 of file editor.h.

Constructor & Destructor Documentation

◆ Editor()

Editor::Editor ( QObject *  parent = nullptr)
explicit

Definition at line 50 of file editor.cpp.

◆ ~Editor()

Editor::~Editor ( )
override

Definition at line 54 of file editor.cpp.

Member Function Documentation

◆ addKeyFrame()

KeyFrame * Editor::addKeyFrame ( int  layerNumber,
int  frameIndex 
)

Attempts to create a new keyframe at the given position and layer.

If a keyframe already exists at the position, the new one will instead be created on the first empty frame that follows. If the layer is not visible, a warning dialog will be shown to the user and no new keyframe is created.

Parameters
layerNumberThe number of an existing layer on which the keyframe is to be created
frameIndexThe desired position of the new keyframe
Returns
The newly created keyframe or nullptr if the layer is not visible
See also
Editor::addNewKey()

Definition at line 908 of file editor.cpp.

◆ addNewKey()

KeyFrame * Editor::addNewKey ( )

Attempts to create a new keyframe at the current frame and layer.

If the current frame already holds a keyframe, the new one will instead be created on the first empty frame that follows. If the current layer is not visible, a warning dialog will be shown to the user and no new keyframe is created.

Returns
The newly created keyframe or nullptr if the layer is not visible

Definition at line 903 of file editor.cpp.

◆ addTemporaryDir()

void Editor::addTemporaryDir ( QTemporaryDir *  dir)

Definition at line 455 of file editor.cpp.

◆ autoSaveNeverAskAgain()

bool Editor::autoSaveNeverAskAgain ( ) const
inline

Definition at line 231 of file editor.h.

◆ backup() [1/2]

void Editor::backup ( const QString &  undoText)

Definition at line 1076 of file editor.cpp.

◆ backup() [2/2]

bool Editor::backup ( int  layerNumber,
int  frameNumber,
const QString &  undoText 
)

Definition at line 1082 of file editor.cpp.

◆ canCopy()

bool Editor::canCopy ( ) const

Definition at line 1030 of file editor.cpp.

◆ canCopyBitmapImage()

bool Editor::canCopyBitmapImage ( BitmapImage *  bitmapImage) const
private

Definition at line 1066 of file editor.cpp.

◆ canCopyFrames()

bool Editor::canCopyFrames ( const Layer *  layer) const
private

Definition at line 1060 of file editor.cpp.

◆ canCopyVectorImage()

bool Editor::canCopyVectorImage ( const VectorImage *  vectorImage) const
private

Definition at line 1071 of file editor.cpp.

◆ canPaste()

bool Editor::canPaste ( ) const

Definition at line 1049 of file editor.cpp.

◆ canSwapLayers()

bool Editor::canSwapLayers ( int  layerIndexLeft,
int  layerIndexRight 
) const

Definition at line 1012 of file editor.cpp.

◆ clearCurrentFrame()

void Editor::clearCurrentFrame ( )

Definition at line 1025 of file editor.cpp.

◆ clearTemporary()

void Editor::clearTemporary ( )

Definition at line 460 of file editor.cpp.

◆ clipboardChanged()

void Editor::clipboardChanged ( )

Definition at line 415 of file editor.cpp.

◆ clipboards()

ClipboardManager * Editor::clipboards ( ) const
inline

Definition at line 105 of file editor.h.

◆ color()

ColorManager * Editor::color ( ) const
inline

Definition at line 96 of file editor.h.

◆ copy()

void Editor::copy ( )

Definition at line 195 of file editor.cpp.

◆ copyAndCut()

void Editor::copyAndCut ( )

Definition at line 216 of file editor.cpp.

◆ currentFrame()

int Editor::currentFrame ( ) const

Definition at line 103 of file editor.cpp.

◆ currentLayerIndex()

int Editor::currentLayerIndex ( ) const
inline

Definition at line 121 of file editor.h.

◆ decreaseLayerVisibilityIndex()

void Editor::decreaseLayerVisibilityIndex ( )

Definition at line 449 of file editor.cpp.

◆ deselectAll()

void Editor::deselectAll ( ) const

Definition at line 828 of file editor.cpp.

◆ dontAskAutoSave()

void Editor::dontAskAutoSave ( bool  b)
inline

Definition at line 230 of file editor.h.

◆ flipSelection()

void Editor::flipSelection ( bool  flipVertical)

Definition at line 379 of file editor.cpp.

◆ fps()

int Editor::fps ( )

Definition at line 108 of file editor.cpp.

◆ getScribbleArea()

ScribbleArea * Editor::getScribbleArea ( )
inline

Definition at line 115 of file editor.h.

◆ importAnimatedImage()

Status Editor::importAnimatedImage ( const QString &  filePath,
int  frameSpacing,
const std::function< void(int)> &  progressChanged,
const std::function< bool()> &  wasCanceled 
)

Definition at line 730 of file editor.cpp.

◆ importBitmapImage()

Status Editor::importBitmapImage ( const QString &  filePath,
const QTransform &  importTransform 
)
private

Definition at line 585 of file editor.cpp.

◆ importImage()

Status Editor::importImage ( const QString &  filePath,
ImportImageConfig  importConfig 
)

Definition at line 682 of file editor.cpp.

◆ importVectorImage()

Status Editor::importVectorImage ( const QString &  filePath)
private

Definition at line 648 of file editor.cpp.

◆ increaseLayerVisibilityIndex()

void Editor::increaseLayerVisibilityIndex ( )

Definition at line 443 of file editor.cpp.

◆ init()

bool Editor::init ( )

Definition at line 60 of file editor.cpp.

◆ layers()

LayerManager * Editor::layers ( ) const
inline

Definition at line 98 of file editor.h.

◆ layerVisibility()

LayerVisibility Editor::layerVisibility ( )

Definition at line 433 of file editor.cpp.

◆ makeConnections()

void Editor::makeConnections ( )
private

Definition at line 119 of file editor.cpp.

◆ object()

Object * Editor::object ( ) const
inline

Definition at line 108 of file editor.h.

◆ onCurrentLayerWillChange()

void Editor::onCurrentLayerWillChange ( int  index)

Definition at line 156 of file editor.cpp.

◆ openObject()

Status Editor::openObject ( const QString &  strFilePath,
const std::function< void(int)> &  progressChanged,
const std::function< void(int)> &  progressRangeChanged 
)

Definition at line 470 of file editor.cpp.

◆ overlays()

OverlayManager * Editor::overlays ( ) const
inline

Definition at line 104 of file editor.h.

◆ paste()

void Editor::paste ( )

Definition at line 350 of file editor.cpp.

◆ pasteFromPreviousFrame()

void Editor::pasteFromPreviousFrame ( )

Definition at line 237 of file editor.cpp.

◆ pasteToCanvas() [1/2]

void Editor::pasteToCanvas ( BitmapImage *  bitmapImage,
int  frameNumber 
)
private

Definition at line 268 of file editor.cpp.

◆ pasteToCanvas() [2/2]

void Editor::pasteToCanvas ( VectorImage *  vectorImage,
int  frameNumber 
)
private

Definition at line 298 of file editor.cpp.

◆ pasteToFrames()

void Editor::pasteToFrames ( )
private

Definition at line 312 of file editor.cpp.

◆ playback()

PlaybackManager * Editor::playback ( ) const
inline

Definition at line 99 of file editor.h.

◆ preference()

PreferenceManager * Editor::preference ( ) const
inline

Definition at line 101 of file editor.h.

◆ prepareSave()

void Editor::prepareSave ( )

Definition at line 1017 of file editor.cpp.

◆ removeKey()

void Editor::removeKey ( )

Definition at line 942 of file editor.cpp.

◆ repositionImage()

void Editor::repositionImage ( QPoint  transform,
int  frame 
)

Definition at line 389 of file editor.cpp.

◆ resetAutoSaveCounter()

void Editor::resetAutoSaveCounter ( )

Definition at line 190 of file editor.cpp.

◆ scrubBackward()

void Editor::scrubBackward ( )

Definition at line 891 of file editor.cpp.

◆ scrubForward()

void Editor::scrubForward ( )

Definition at line 882 of file editor.cpp.

◆ scrubNextKeyFrame()

void Editor::scrubNextKeyFrame ( )

Definition at line 967 of file editor.cpp.

◆ scrubPreviousKeyFrame()

void Editor::scrubPreviousKeyFrame ( )

Definition at line 977 of file editor.cpp.

◆ scrubTo()

void Editor::scrubTo ( int  frameNumber)

Definition at line 866 of file editor.cpp.

◆ select()

SelectionManager * Editor::select ( ) const
inline

Definition at line 103 of file editor.h.

◆ selectAll()

void Editor::selectAll ( ) const

Definition at line 802 of file editor.cpp.

◆ setCurrentLayerIndex()

void Editor::setCurrentLayerIndex ( int  i)

Definition at line 855 of file editor.cpp.

◆ setFps()

void Editor::setFps ( int  fps)

Definition at line 113 of file editor.cpp.

◆ setLayerVisibility()

void Editor::setLayerVisibility ( LayerVisibility  visibility)

The visibility value should match any of the VISIBILITY enum values.

Definition at line 428 of file editor.cpp.

◆ setModified()

void Editor::setModified ( int  layerNumber,
int  frameNumber 
)

Definition at line 404 of file editor.cpp.

◆ setObject()

Status Editor::setObject ( Object *  object)

Definition at line 546 of file editor.cpp.

◆ setScribbleArea()

void Editor::setScribbleArea ( ScribbleArea *  pScirbbleArea)
inline

Definition at line 114 of file editor.h.

◆ settingUpdated()

void Editor::settingUpdated ( SETTING  setting)

Definition at line 130 of file editor.cpp.

◆ sound()

SoundManager * Editor::sound ( ) const
inline

Definition at line 102 of file editor.h.

◆ swapLayers()

void Editor::swapLayers ( int  i,
int  j 
)

Definition at line 995 of file editor.cpp.

◆ switchVisibilityOfLayer()

void Editor::switchVisibilityOfLayer ( int  layerNumber)

Definition at line 986 of file editor.cpp.

◆ tools()

ToolManager * Editor::tools ( ) const
inline

Definition at line 97 of file editor.h.

◆ undoRedo()

UndoRedoManager * Editor::undoRedo ( ) const
inline

Definition at line 106 of file editor.h.

◆ updateAutoSaveCounter()

void Editor::updateAutoSaveCounter ( )
private

Definition at line 177 of file editor.cpp.

◆ updateFrame()

void Editor::updateFrame ( )

Will call update() and update the canvas Only call this directly If you need the cache to be intact and require the frame to be repainted.

Definition at line 850 of file editor.cpp.

◆ updateObject()

void Editor::updateObject ( )

Definition at line 569 of file editor.cpp.

◆ view()

ViewManager * Editor::view ( ) const
inline

Definition at line 100 of file editor.h.

◆ viewScaleInversed()

qreal Editor::viewScaleInversed ( )

Definition at line 438 of file editor.cpp.

Member Data Documentation

◆ mAllManagers

std::vector< BaseManager* > Editor::mAllManagers
private

Definition at line 266 of file editor.h.

◆ mAutosaveCounter

int Editor::mAutosaveCounter = 0
private

Definition at line 270 of file editor.h.

◆ mAutosaveNeverAskAgain

bool Editor::mAutosaveNeverAskAgain = false
private

Definition at line 271 of file editor.h.

◆ mAutosaveNumber

int Editor::mAutosaveNumber = 12
private

Definition at line 269 of file editor.h.

◆ mClipboardManager

ClipboardManager* Editor::mClipboardManager = nullptr
private

Definition at line 263 of file editor.h.

◆ mColorManager

ColorManager* Editor::mColorManager = nullptr
private

Definition at line 254 of file editor.h.

◆ mCurrentLayerIndex

int Editor::mCurrentLayerIndex = 0
private

Definition at line 250 of file editor.h.

◆ mFrame

int Editor::mFrame = 1
private

Definition at line 249 of file editor.h.

◆ mIsAutosave

bool Editor::mIsAutosave = true
private

Definition at line 268 of file editor.h.

◆ mLayerManager

LayerManager* Editor::mLayerManager = nullptr
private

Definition at line 256 of file editor.h.

◆ mObject

std::unique_ptr<Object> Editor::mObject
private

Definition at line 247 of file editor.h.

◆ mOverlayManager

OverlayManager* Editor::mOverlayManager = nullptr
private

Definition at line 262 of file editor.h.

◆ mPlaybackManager

PlaybackManager* Editor::mPlaybackManager = nullptr
private

Definition at line 257 of file editor.h.

◆ mPreferenceManager

PreferenceManager* Editor::mPreferenceManager = nullptr
private

Definition at line 259 of file editor.h.

◆ mScribbleArea

ScribbleArea* Editor::mScribbleArea = nullptr
private

Definition at line 252 of file editor.h.

◆ mSelectionManager

SelectionManager* Editor::mSelectionManager = nullptr
private

Definition at line 261 of file editor.h.

◆ mSoundManager

SoundManager* Editor::mSoundManager = nullptr
private

Definition at line 260 of file editor.h.

◆ mTemporaryDirs

QList<QTemporaryDir*> Editor::mTemporaryDirs
private

Definition at line 275 of file editor.h.

◆ mToolManager

ToolManager* Editor::mToolManager = nullptr
private

Definition at line 255 of file editor.h.

◆ mUndoRedoManager

UndoRedoManager* Editor::mUndoRedoManager = nullptr
private

Definition at line 264 of file editor.h.

◆ mViewManager

ViewManager* Editor::mViewManager = nullptr
private

Definition at line 258 of file editor.h.

Property Documentation

◆ clipboards

ClipboardManager* Editor::clipboards
read

Definition at line 1 of file editor.h.

◆ color

ColorManager* Editor::color
read

Definition at line 1 of file editor.h.

◆ layers

LayerManager* Editor::layers
read

Definition at line 1 of file editor.h.

◆ overlays

OverlayManager* Editor::overlays
read

Definition at line 1 of file editor.h.

◆ playback

PlaybackManager* Editor::playback
read

Definition at line 1 of file editor.h.

◆ preference

PreferenceManager* Editor::preference
read

Definition at line 1 of file editor.h.

◆ select

SelectionManager* Editor::select
read

Definition at line 1 of file editor.h.

◆ sound

SoundManager* Editor::sound
read

Definition at line 1 of file editor.h.

◆ tools

ToolManager* Editor::tools
read

Definition at line 1 of file editor.h.

◆ undoRedo

UndoRedoManager* Editor::undoRedo
read

Definition at line 1 of file editor.h.

◆ view

ViewManager* Editor::view
read

Definition at line 1 of file editor.h.


The documentation for this class was generated from the following files:
  • core_lib/src/interface/editor.h
  • core_lib/src/interface/editor.cpp
Generated on Thu May 8 2025 04:47:54 for Pencil2D by doxygen 1.9.6 based on revision 4513250b1d5b1a3676ec0e67b06b7a885ceaae39