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 64 of file actioncommands.cpp.

◆ ~ActionCommands()

ActionCommands::~ActionCommands ( )
virtual

Definition at line 69 of file actioncommands.cpp.

Member Function Documentation

◆ about()

void ActionCommands::about ( )

Definition at line 1010 of file actioncommands.cpp.

◆ addExposureToSelectedFrames()

void ActionCommands::addExposureToSelectedFrames ( )

Definition at line 687 of file actioncommands.cpp.

◆ addNewBitmapLayer()

Status ActionCommands::addNewBitmapLayer ( )

Definition at line 835 of file actioncommands.cpp.

◆ addNewCameraLayer()

Status ActionCommands::addNewCameraLayer ( )

Definition at line 861 of file actioncommands.cpp.

◆ addNewKey()

Status ActionCommands::addNewKey ( )

Definition at line 643 of file actioncommands.cpp.

◆ addNewSoundLayer()

Status ActionCommands::addNewSoundLayer ( )

Definition at line 874 of file actioncommands.cpp.

◆ addNewVectorLayer()

Status ActionCommands::addNewVectorLayer ( )

Definition at line 848 of file actioncommands.cpp.

◆ changeallKeyframeLineColor()

void ActionCommands::changeallKeyframeLineColor ( )

Definition at line 931 of file actioncommands.cpp.

◆ changeKeyframeLineColor()

void ActionCommands::changeKeyframeLineColor ( )

Definition at line 919 of file actioncommands.cpp.

◆ checkForUpdates()

void ActionCommands::checkForUpdates ( )

Definition at line 993 of file actioncommands.cpp.

◆ convertSoundToWav()

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

Definition at line 245 of file actioncommands.cpp.

◆ deleteCurrentLayer()

Status ActionCommands::deleteCurrentLayer ( )

Definition at line 888 of file actioncommands.cpp.

◆ deselectAll()

void ActionCommands::deselectAll ( )

Definition at line 581 of file actioncommands.cpp.

◆ discord()

void ActionCommands::discord ( )

Definition at line 981 of file actioncommands.cpp.

◆ duplicateKey()

void ActionCommands::duplicateKey ( )

Definition at line 769 of file actioncommands.cpp.

◆ duplicateLayer()

void ActionCommands::duplicateLayer ( )

Definition at line 748 of file actioncommands.cpp.

◆ exportGif()

Status ActionCommands::exportGif ( )

Definition at line 275 of file actioncommands.cpp.

◆ exportImage()

Status ActionCommands::exportImage ( )

Definition at line 496 of file actioncommands.cpp.

◆ exportImageSequence()

Status ActionCommands::exportImageSequence ( )

Definition at line 421 of file actioncommands.cpp.

◆ exportMovie()

Status ActionCommands::exportMovie ( bool  isGif = false)

Definition at line 281 of file actioncommands.cpp.

◆ exposeSelectedFrames()

void ActionCommands::exposeSelectedFrames ( int  offset)
private

Definition at line 661 of file actioncommands.cpp.

◆ flipSelectionX()

void ActionCommands::flipSelectionX ( )

Definition at line 564 of file actioncommands.cpp.

◆ flipSelectionY()

void ActionCommands::flipSelectionY ( )

Definition at line 570 of file actioncommands.cpp.

◆ forum()

void ActionCommands::forum ( )

Definition at line 975 of file actioncommands.cpp.

◆ GotoNextFrame()

void ActionCommands::GotoNextFrame ( )

Definition at line 623 of file actioncommands.cpp.

◆ GotoNextKeyFrame()

void ActionCommands::GotoNextKeyFrame ( )

Definition at line 633 of file actioncommands.cpp.

◆ GotoPrevFrame()

void ActionCommands::GotoPrevFrame ( )

Definition at line 628 of file actioncommands.cpp.

◆ GotoPrevKeyFrame()

void ActionCommands::GotoPrevKeyFrame ( )

Definition at line 638 of file actioncommands.cpp.

◆ help()

void ActionCommands::help ( )

Definition at line 952 of file actioncommands.cpp.

◆ importAnimatedImage()

Status ActionCommands::importAnimatedImage ( )

Definition at line 71 of file actioncommands.cpp.

◆ importMovieVideo()

Status ActionCommands::importMovieVideo ( )

Definition at line 115 of file actioncommands.cpp.

◆ importSound()

Status ActionCommands::importSound ( FileType  type)

Definition at line 168 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 697 of file actioncommands.cpp.

◆ moveFrameBackward()

void ActionCommands::moveFrameBackward ( )

Definition at line 822 of file actioncommands.cpp.

◆ moveFrameForward()

void ActionCommands::moveFrameForward ( )

Definition at line 808 of file actioncommands.cpp.

◆ openTemporaryDirectory()

void ActionCommands::openTemporaryDirectory ( )

Definition at line 1001 of file actioncommands.cpp.

◆ PlayStop()

void ActionCommands::PlayStop ( )

Definition at line 610 of file actioncommands.cpp.

◆ quickGuide()

void ActionCommands::quickGuide ( )

Definition at line 958 of file actioncommands.cpp.

◆ removeKey()

void ActionCommands::removeKey ( )

Definition at line 743 of file actioncommands.cpp.

◆ removeSelectedFrames()

void ActionCommands::removeSelectedFrames ( )

Definition at line 706 of file actioncommands.cpp.

◆ reportbug()

void ActionCommands::reportbug ( )

Definition at line 987 of file actioncommands.cpp.

◆ resetAllTools()

void ActionCommands::resetAllTools ( )

Definition at line 947 of file actioncommands.cpp.

◆ reverseSelectedFrames()

void ActionCommands::reverseSelectedFrames ( )

Definition at line 729 of file actioncommands.cpp.

◆ rotateClockwise()

void ActionCommands::rotateClockwise ( )

Definition at line 596 of file actioncommands.cpp.

◆ rotateCounterClockwise()

void ActionCommands::rotateCounterClockwise ( )

Definition at line 603 of file actioncommands.cpp.

◆ selectAll()

void ActionCommands::selectAll ( )

Definition at line 576 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 914 of file actioncommands.cpp.

◆ showSoundClipWarningIfNeeded()

void ActionCommands::showSoundClipWarningIfNeeded ( )
private

Definition at line 1018 of file actioncommands.cpp.

◆ subtractExposureFromSelectedFrames()

void ActionCommands::subtractExposureFromSelectedFrames ( )

Definition at line 692 of file actioncommands.cpp.

◆ website()

void ActionCommands::website ( )

Definition at line 969 of file actioncommands.cpp.

◆ ZoomIn()

void ActionCommands::ZoomIn ( )

Definition at line 586 of file actioncommands.cpp.

◆ ZoomOut()

void ActionCommands::ZoomOut ( )

Definition at line 591 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 Thu Jun 19 2025 04:02:27 for Pencil2D by doxygen 1.9.6 based on revision c1e137dfccefab10d70198bedd9497784189cf49