Pencil2D  ff90c0872e88be3bf81c548cd60f01983012ec49
Pencil2D is an animation software for both bitmap and vector graphics. It is free, multi-platform, and open source.
 All Classes Functions
Public Types | Public Member Functions | Private Attributes | List of all members
Status Class Reference

Public Types

enum  ErrorCode {
  OK = 0, SAFE, FAIL, CANCELED,
  FILE_NOT_FOUND, NOT_SUPPORTED, INVALID_ARGUMENT, NOT_IMPLEMENTED_YET,
  ERROR_FILE_CANNOT_OPEN, ERROR_INVALID_XML_FILE, ERROR_INVALID_PENCIL_FILE, ERROR_INVALID_LAYER_TYPE,
  ERROR_INVALID_FRAME_NUMBER, ERROR_LOAD_IMAGE_FAIL, ERROR_LOAD_SOUND_FILE, ERROR_FFMPEG_NOT_FOUND
}
 

Public Member Functions

 Status (ErrorCode eCode, QStringList detailsList=QStringList(), QString title=QString(), QString description=QString())
 
ErrorCode code ()
 
bool ok () const
 
QString msg ()
 
QString title ()
 
QString description ()
 
QString details ()
 
QStringList detailsList ()
 
void setTitle (QString title)
 
void setDescription (QString description)
 
void setDetailsList (QStringList detailsList)
 
bool operator== (ErrorCode code)
 

Private Attributes

ErrorCode mCode = OK
 
QString mTitle
 
QString mDescription
 
QStringList mDetails
 

Detailed Description

Definition at line 24 of file pencilerror.h.


The documentation for this class was generated from the following files: