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

Public Member Functions

 ActionCommands (QWidget *parent)
 
void setCore (Editor *e)
 
Status importAnimatedImage ()
 
Status importMovieVideo ()
 
Status importSound (FileType type)
 
Status exportMovie (bool isGif=false)
 
Status exportImageSequence ()
 
Status exportImage ()
 
Status exportGif ()
 
void flipSelectionX ()
 
void flipSelectionY ()
 
void selectAll ()
 
void deselectAll ()
 
void ZoomIn ()
 
void ZoomOut ()
 
void rotateClockwise ()
 
void rotateCounterClockwise ()
 
void PlayStop ()
 
void GotoNextFrame ()
 
void GotoPrevFrame ()
 
void GotoNextKeyFrame ()
 
void GotoPrevKeyFrame ()
 
Status addNewKey ()
 
void resetAllTools ()
 
Status insertKeyFrameAtCurrentPosition ()
 Will insert a keyframe at the current position and push connected frames to the right.
 
void removeKey ()
 
void duplicateLayer ()
 
void duplicateKey ()
 
void moveFrameForward ()
 
void moveFrameBackward ()
 
void removeSelectedFrames ()
 
void reverseSelectedFrames ()
 
void addExposureToSelectedFrames ()
 
void subtractExposureFromSelectedFrames ()
 
Status addNewBitmapLayer ()
 
Status addNewVectorLayer ()
 
Status addNewCameraLayer ()
 
Status addNewSoundLayer ()
 
Status deleteCurrentLayer ()
 
void changeKeyframeLineColor ()
 
void changeallKeyframeLineColor ()
 
void setLayerVisibilityIndex (int index)
 
void help ()
 
void quickGuide ()
 
void website ()
 
void forum ()
 
void discord ()
 
void reportbug ()
 
void checkForUpdates ()
 
void openTemporaryDirectory ()
 
void about ()
 
- 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 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
 

Private Member Functions

void showSoundClipWarningIfNeeded ()
 
void exposeSelectedFrames (int offset)
 
Status convertSoundToWav (const QString &filePath)
 

Private Attributes

Editor * mEditor = nullptr
 
QWidget * mParent = nullptr
 
bool mSuppressSoundWarning = false
 

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)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

Definition at line 29 of file actioncommands.h.

Constructor & Destructor Documentation

◆ ActionCommands()

ActionCommands::ActionCommands ( QWidget *  parent)
explicit

Definition at line 62 of file actioncommands.cpp.

◆ ~ActionCommands()

ActionCommands::~ActionCommands ( )
virtual

Definition at line 67 of file actioncommands.cpp.

Member Function Documentation

◆ about()

void ActionCommands::about ( )

Definition at line 1046 of file actioncommands.cpp.

◆ addExposureToSelectedFrames()

void ActionCommands::addExposureToSelectedFrames ( )

Definition at line 723 of file actioncommands.cpp.

◆ addNewBitmapLayer()

Status ActionCommands::addNewBitmapLayer ( )

Definition at line 871 of file actioncommands.cpp.

◆ addNewCameraLayer()

Status ActionCommands::addNewCameraLayer ( )

Definition at line 897 of file actioncommands.cpp.

◆ addNewKey()

Status ActionCommands::addNewKey ( )

Definition at line 679 of file actioncommands.cpp.

◆ addNewSoundLayer()

Status ActionCommands::addNewSoundLayer ( )

Definition at line 910 of file actioncommands.cpp.

◆ addNewVectorLayer()

Status ActionCommands::addNewVectorLayer ( )

Definition at line 884 of file actioncommands.cpp.

◆ changeallKeyframeLineColor()

void ActionCommands::changeallKeyframeLineColor ( )

Definition at line 967 of file actioncommands.cpp.

◆ changeKeyframeLineColor()

void ActionCommands::changeKeyframeLineColor ( )

Definition at line 955 of file actioncommands.cpp.

◆ checkForUpdates()

void ActionCommands::checkForUpdates ( )

Definition at line 1029 of file actioncommands.cpp.

◆ convertSoundToWav()

Status ActionCommands::convertSoundToWav ( const QString &  filePath)
private

Definition at line 243 of file actioncommands.cpp.

◆ deleteCurrentLayer()

Status ActionCommands::deleteCurrentLayer ( )

Definition at line 924 of file actioncommands.cpp.

◆ deselectAll()

void ActionCommands::deselectAll ( )

Definition at line 617 of file actioncommands.cpp.

◆ discord()

void ActionCommands::discord ( )

Definition at line 1017 of file actioncommands.cpp.

◆ duplicateKey()

void ActionCommands::duplicateKey ( )

Definition at line 805 of file actioncommands.cpp.

◆ duplicateLayer()

void ActionCommands::duplicateLayer ( )

Definition at line 784 of file actioncommands.cpp.

◆ exportGif()

Status ActionCommands::exportGif ( )

Definition at line 273 of file actioncommands.cpp.

◆ exportImage()

Status ActionCommands::exportImage ( )

Definition at line 501 of file actioncommands.cpp.

◆ exportImageSequence()

Status ActionCommands::exportImageSequence ( )

Definition at line 419 of file actioncommands.cpp.

◆ exportMovie()

Status ActionCommands::exportMovie ( bool  isGif = false)

Definition at line 279 of file actioncommands.cpp.

◆ exposeSelectedFrames()

void ActionCommands::exposeSelectedFrames ( int  offset)
private

Definition at line 697 of file actioncommands.cpp.

◆ flipSelectionX()

void ActionCommands::flipSelectionX ( )

Definition at line 600 of file actioncommands.cpp.

◆ flipSelectionY()

void ActionCommands::flipSelectionY ( )

Definition at line 606 of file actioncommands.cpp.

◆ forum()

void ActionCommands::forum ( )

Definition at line 1011 of file actioncommands.cpp.

◆ GotoNextFrame()

void ActionCommands::GotoNextFrame ( )

Definition at line 659 of file actioncommands.cpp.

◆ GotoNextKeyFrame()

void ActionCommands::GotoNextKeyFrame ( )

Definition at line 669 of file actioncommands.cpp.

◆ GotoPrevFrame()

void ActionCommands::GotoPrevFrame ( )

Definition at line 664 of file actioncommands.cpp.

◆ GotoPrevKeyFrame()

void ActionCommands::GotoPrevKeyFrame ( )

Definition at line 674 of file actioncommands.cpp.

◆ help()

void ActionCommands::help ( )

Definition at line 988 of file actioncommands.cpp.

◆ importAnimatedImage()

Status ActionCommands::importAnimatedImage ( )

Definition at line 69 of file actioncommands.cpp.

◆ importMovieVideo()

Status ActionCommands::importMovieVideo ( )

Definition at line 113 of file actioncommands.cpp.

◆ importSound()

Status ActionCommands::importSound ( FileType  type)

Definition at line 166 of file actioncommands.cpp.

◆ insertKeyFrameAtCurrentPosition()

Status ActionCommands::insertKeyFrameAtCurrentPosition ( )

Will insert a keyframe at the current position and push connected frames to the right.

Definition at line 733 of file actioncommands.cpp.

◆ moveFrameBackward()

void ActionCommands::moveFrameBackward ( )

Definition at line 858 of file actioncommands.cpp.

◆ moveFrameForward()

void ActionCommands::moveFrameForward ( )

Definition at line 844 of file actioncommands.cpp.

◆ openTemporaryDirectory()

void ActionCommands::openTemporaryDirectory ( )

Definition at line 1037 of file actioncommands.cpp.

◆ PlayStop()

void ActionCommands::PlayStop ( )

Definition at line 646 of file actioncommands.cpp.

◆ quickGuide()

void ActionCommands::quickGuide ( )

Definition at line 994 of file actioncommands.cpp.

◆ removeKey()

void ActionCommands::removeKey ( )

Definition at line 779 of file actioncommands.cpp.

◆ removeSelectedFrames()

void ActionCommands::removeSelectedFrames ( )

Definition at line 742 of file actioncommands.cpp.

◆ reportbug()

void ActionCommands::reportbug ( )

Definition at line 1023 of file actioncommands.cpp.

◆ resetAllTools()

void ActionCommands::resetAllTools ( )

Definition at line 983 of file actioncommands.cpp.

◆ reverseSelectedFrames()

void ActionCommands::reverseSelectedFrames ( )

Definition at line 765 of file actioncommands.cpp.

◆ rotateClockwise()

void ActionCommands::rotateClockwise ( )

Definition at line 632 of file actioncommands.cpp.

◆ rotateCounterClockwise()

void ActionCommands::rotateCounterClockwise ( )

Definition at line 639 of file actioncommands.cpp.

◆ selectAll()

void ActionCommands::selectAll ( )

Definition at line 612 of file actioncommands.cpp.

◆ setCore()

void ActionCommands::setCore ( Editor *  e)
inline

Definition at line 37 of file actioncommands.h.

◆ setLayerVisibilityIndex()

void ActionCommands::setLayerVisibilityIndex ( int  index)

Definition at line 950 of file actioncommands.cpp.

◆ showSoundClipWarningIfNeeded()

void ActionCommands::showSoundClipWarningIfNeeded ( )
private

Definition at line 1054 of file actioncommands.cpp.

◆ subtractExposureFromSelectedFrames()

void ActionCommands::subtractExposureFromSelectedFrames ( )

Definition at line 728 of file actioncommands.cpp.

◆ website()

void ActionCommands::website ( )

Definition at line 1005 of file actioncommands.cpp.

◆ ZoomIn()

void ActionCommands::ZoomIn ( )

Definition at line 622 of file actioncommands.cpp.

◆ ZoomOut()

void ActionCommands::ZoomOut ( )

Definition at line 627 of file actioncommands.cpp.

Member Data Documentation

◆ mEditor

Editor* ActionCommands::mEditor = nullptr
private

Definition at line 111 of file actioncommands.h.

◆ mParent

QWidget* ActionCommands::mParent = nullptr
private

Definition at line 112 of file actioncommands.h.

◆ mSuppressSoundWarning

bool ActionCommands::mSuppressSoundWarning = false
private

Definition at line 114 of file actioncommands.h.


The documentation for this class was generated from the following files:
  • app/src/actioncommands.h
  • app/src/actioncommands.cpp
Generated on Fri Dec 19 2025 07:54:21 for Pencil2D by doxygen 1.9.6 based on revision 7fd8cd9e03f2d31750e199ecec202e5c0f30e532