![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Inheritance diagram for Digikam::FileSaveOptionsBox:Public Types | |
| enum | FORMAT { NONE = 0 , JPEG , PNG , TIFF , JP2K , PGF , HEIF , JXL , WEBP , AVIF } |
Public Member Functions | |
| FileSaveOptionsBox (QWidget *const parent=nullptr) | |
| Constructor. | |
| ~FileSaveOptionsBox () override | |
| Destructor. | |
| void | applySettings () |
| FORMAT | discoverFormat (const QString &filename, FORMAT fallback=NONE) |
| Tries to discover a file format that has options to change based on a filename. | |
| void | setImageFileFormat (const QString &) |
|
explicit |
Don't forget to call setDialog after creation of the dialog.
| parent | the parent for Qt's parent child mechanism |
| FileSaveOptionsBox::FORMAT Digikam::FileSaveOptionsBox::discoverFormat | ( | const QString & | filename, |
| FileSaveOptionsBox::FORMAT | fallback = NONE |
||
| ) |
| filename | file name to discover the desired format from |
| fallback | the fallback format to return if no format could be discovered based on the filename |