digiKam
Digikam::DSaveSettingsWidget Class Reference
+ Inheritance diagram for Digikam::DSaveSettingsWidget:

Public Types

enum  OutputFormat { OUTPUT_PNG = 0 , OUTPUT_TIFF , OUTPUT_JPEG , OUTPUT_PPM }
 

Public Slots

void slotPopulateImageFormat (bool sixteenBits)
 

Signals

void signalConflictButtonChanged (int)
 
void signalSaveFormatChanged ()
 

Public Member Functions

FileSaveConflictBox::ConflictRule conflictRule () const
 
 DSaveSettingsWidget (QWidget *const parent)
 
QString extension () const
 
OutputFormat fileFormat () const
 
void readSettings (KConfigGroup &group)
 
void resetToDefault ()
 
void setConflictRule (FileSaveConflictBox::ConflictRule r)
 
void setCustomSettingsWidget (QWidget *const custom)
 
void setFileFormat (OutputFormat f)
 
QString typeMime () const
 
void writeSettings (KConfigGroup &group)
 
 ~DSaveSettingsWidget () override
 

Static Public Member Functions

static QString extensionForFormat (OutputFormat format)
 

Member Enumeration Documentation

◆ OutputFormat

Enumerator
OUTPUT_PNG 
OUTPUT_TIFF 
OUTPUT_JPEG 
OUTPUT_PPM 

Constructor & Destructor Documentation

◆ DSaveSettingsWidget()

Digikam::DSaveSettingsWidget::DSaveSettingsWidget ( QWidget *const  parent)
explicit

◆ ~DSaveSettingsWidget()

Digikam::DSaveSettingsWidget::~DSaveSettingsWidget ( )
override

Member Function Documentation

◆ conflictRule()

FileSaveConflictBox::ConflictRule Digikam::DSaveSettingsWidget::conflictRule ( ) const

◆ extension()

QString Digikam::DSaveSettingsWidget::extension ( ) const

◆ extensionForFormat()

QString Digikam::DSaveSettingsWidget::extensionForFormat ( DSaveSettingsWidget::OutputFormat  format)
static

References OUTPUT_JPEG, OUTPUT_PNG, OUTPUT_PPM, and OUTPUT_TIFF.

Referenced by extension().

◆ fileFormat()

DSaveSettingsWidget::OutputFormat Digikam::DSaveSettingsWidget::fileFormat ( ) const

Referenced by extension(), typeMime(), and writeSettings().

◆ readSettings()

void Digikam::DSaveSettingsWidget::readSettings ( KConfigGroup &  group)

References OUTPUT_PNG, and setFileFormat().

◆ resetToDefault()

void Digikam::DSaveSettingsWidget::resetToDefault ( )

References OUTPUT_PNG, and setFileFormat().

◆ setConflictRule()

void Digikam::DSaveSettingsWidget::setConflictRule ( FileSaveConflictBox::ConflictRule  r)

◆ setCustomSettingsWidget()

void Digikam::DSaveSettingsWidget::setCustomSettingsWidget ( QWidget *const  custom)

◆ setFileFormat()

void Digikam::DSaveSettingsWidget::setFileFormat ( OutputFormat  f)

Referenced by readSettings(), and resetToDefault().

◆ signalConflictButtonChanged

void Digikam::DSaveSettingsWidget::signalConflictButtonChanged ( int  )
signal

Referenced by DSaveSettingsWidget().

◆ signalSaveFormatChanged

void Digikam::DSaveSettingsWidget::signalSaveFormatChanged ( )
signal

◆ slotPopulateImageFormat

void Digikam::DSaveSettingsWidget::slotPopulateImageFormat ( bool  sixteenBits)
slot

◆ typeMime()

QString Digikam::DSaveSettingsWidget::typeMime ( ) const

◆ writeSettings()

void Digikam::DSaveSettingsWidget::writeSettings ( KConfigGroup &  group)

References fileFormat().


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