24 #define PFF_OLD_EXTENSION ".pcl"
25 #define PFF_OLD_BIG_LETTER_EXTENSION "PCL"
26 #define PFF_EXTENSION ".pclx"
27 #define PFF_BIG_LETTER_EXTENSION "PCLX"
29 #define PFF_OPEN_PROJECT_EXT_FILTER \
30 QObject::tr("Pencil2D formats") + " (*.pclx *.pcl);;" + QObject::tr("Pencil2D Project") + " (*.pclx);;" + QObject::tr("Legacy Pencil2D Project") + " (*.pcl)"
32 #define PFF_SAVE_PROJECT_EXT_FILTER \
33 QObject::tr("Pencil2D Project") + " (*.pclx);;" + QObject::tr("Legacy Pencil2D Project") + " (*.pcl)"
35 #define PFF_MOVIE_EXT \
36 QObject::tr("Movie formats") + "*.avi *.mpg *.mpeg *.mov *.mp4 *.mkv *.ogv *.swf *.flv *.webm *.wmv);;" \
37 "AVI(*.avi);;MPEG(*.mpg *.mpeg);;MOV(*.mov);;MP4(*.mp4);;MKV(*.mkv);;OGV(*.ogv)" \
38 ";;SWF(*.swf);;FLV(*.flv);;WEBM(*.webm);;WMV(*.wmv)"
40 #define PFF_IMAGE_FILTER \
41 QObject::tr( "Image formats") + " (*.png *.jpg *.jpeg *.bmp *.tif *.tiff);;PNG (*.png);;JPG(*.jpg *.jpeg);;BMP(*.bmp);;TIFF(*.tif *.tiff)"
43 #define PFF_IMAGE_SEQ_FILTER \
44 QObject::tr( "Image formats") + " (*.png *.jpg *.jpeg *.bmp *.tif *.tiff);;PNG (*.png);;JPG(*.jpg *.jpeg);;BMP(*.bmp);;TIFF(*.tif *.tiff)"
46 #define PFF_PALETTE_EXT_FILTER \
47 QObject::tr("Palette formats") + " (*.xml *.gpl);;" + QObject::tr("Pencil2D Palette") + " (*.xml);;" + QObject::tr("GIMP Palette") + " (*.gpl)"
49 #define PFF_GIF_EXT_FILTER \
50 QObject::tr("Animated GIF") + " (*.gif)"
52 #define PFF_SOUND_EXT_FILTER \
53 QObject::tr("Sound formats") + " (*.wav *.mp3 *.wma *.ogg *.flac *.opus *.aiff *.aac *.caf);;WAV (*.wav);;MP3 (*.mp3);;WMA (*.wma);;OGG (*.ogg);;FLAC (*.flac);;Opus (*.opus);;AIFF (*.aiff);;AAC (*.aac);;CAF (*.caf)"
56 #define PFF_DEFAULT_PROJECT_EXT \
59 #define PFF_DEFAULT_IMAGE_EXT \
62 #define PFF_DEFAULT_IMAGE_SEQ_EXT \
65 #define PFF_DEFAULT_ANIMATED_EXT \
68 #define PFF_DEFAULT_PALETTE_EXT \
71 #define PFF_OLD_DATA_DIR "data"
72 #define PFF_DATA_DIR "data"
73 #define PFF_XML_FILE_NAME "main.xml"
74 #define PFF_TMP_DECOMPRESS_EXT "Y2xD"
75 #define PFF_PALETTE_FILE "palette.xml"
77 bool removePFFTmpDirectory(
const QString& dirName);
82 bool isMovieFormat(
const QString& format);
84 #endif // FILEFORMAT_H