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

Classes

class  Private
 

Signals

void signalFileOriginChanged (const QString &filePath)
 
void signalImageLoaded (const QString &filePath, bool success)
 
void signalImageSaved (const QString &filePath, bool success)
 
void signalLoadingProgress (const QString &filePath, float progress)
 
void signalLoadingStarted (const QString &filename)
 
void signalModified ()
 
void signalSavingProgress (const QString &filePath, float progress)
 
void signalSavingStarted (const QString &filename)
 
void signalUndoStateChanged ()
 

Public Member Functions

void abortSaving ()
 
void applyTransform (const IccTransform &transform)
 
int availableRedoSteps () const
 
int availableUndoSteps () const
 
int bytesDepth () const
 
void clearUndoManager ()
 
void convertDepth (int depth)
 
QPixmap convertToPixmap (const DImg &img) const
 
void crop (const QRect &rect)
 
 EditorCore ()
 
QString ensureHasCurrentUuid () const
 
bool exifRotated () const
 
void flipHoriz ()
 
void flipVert ()
 
IccProfile getEmbeddedICC () const
 
ExposureSettingsContainergetExposureSettings () const
 
ICCSettingsContainer getICCSettings () const
 
QString getImageFileName () const
 
QString getImageFilePath () const
 
QString getImageFormat () const
 
DImageHistory getImageHistoryOfFullRedo () const
 
DImggetImg () const
 
DImg getImgSelection () const
 
DImageHistory getInitialImageHistory () const
 
DImageHistory getItemHistory () const
 
MetaEngineData getMetadata () const
 
QStringList getRedoHistory () const
 
DImageHistory getResolvedInitialHistory () const
 
QRect getSelectedArea () const
 
QStringList getUndoHistory () const
 
bool hasAlpha () const
 
int height () const
 
void imageUndoChanged (const UndoMetadataContainer &c)
 
bool isReadOnly () const
 
bool isValid () const
 
void load (const QString &filename, IOFileSettings *const iofileSettings)
 
int origHeight () const
 
int origWidth () const
 
void provideCurrentUuid (const QString &uuid)
 
void putIccProfile (const IccProfile &profile)
 
void putImg (const QString &caller, const FilterAction &action, const DImg &img)
 
void putImgSelection (const QString &caller, const FilterAction &action, const DImg &img)
 
void readMetadataFromFile (const QString &file)
 
void redo ()
 
void resetImage ()
 
void restore ()
 
void rollbackToOrigin ()
 
void rotate180 ()
 
void rotate270 ()
 
void rotate90 ()
 
void saveAs (const QString &file, IOFileSettings *const iofileSettings, bool setExifOrientationTag, const QString &givenMimeType, const QString &intendedFilePath)
 
void saveAs (const QString &file, IOFileSettings *const iofileSettings, bool setExifOrientationTag, const QString &givenMimeType, const VersionFileOperation &operation)
 
void setDisplayingWidget (QWidget *const widget)
 
void setExifOrient (bool exifOrient)
 
void setExposureSettings (ExposureSettingsContainer *const expoSettings)
 
void setFileOriginData (const QVariant &data)
 
void setHistoryIsBranch (bool isBranching)
 
void setICCSettings (const ICCSettingsContainer &cmSettings)
 
void setLastSaved (const QString &filePath)
 
void setModified ()
 
void setResolvedInitialHistory (const DImageHistory &history)
 
void setSelectedArea (const QRect &rect)
 
void setSoftProofingEnabled (bool enabled)
 
void setUndoImg (const UndoMetadataContainer &c, const DImg &img)
 
void setUndoManagerOrigin ()
 
bool sixteenBit () const
 
bool softProofingEnabled () const
 
void switchToLastSaved (const DImageHistory &resolvedCurrentHistory=DImageHistory())
 
void undo ()
 
UndoState undoState () const
 
int width () const
 
void zoom (double val)
 
 ~EditorCore () override
 

Static Public Member Functions

static EditorCoredefaultInstance ()
 
static void setDefaultInstance (EditorCore *const instance)
 

Protected Slots

void slotImageLoaded (const LoadingDescription &loadingDescription, const DImg &img)
 
void slotImageSaved (const QString &filePath, bool success)
 
void slotLoadingProgress (const LoadingDescription &loadingDescription, float progress)
 
void slotSavingProgress (const QString &filePath, float progress)
 

Constructor & Destructor Documentation

◆ EditorCore()

◆ ~EditorCore()

Digikam::EditorCore::~EditorCore ( )
override

Member Function Documentation

◆ abortSaving()

◆ applyTransform()

◆ availableRedoSteps()

int Digikam::EditorCore::availableRedoSteps ( ) const

◆ availableUndoSteps()

int Digikam::EditorCore::availableUndoSteps ( ) const

◆ bytesDepth()

int Digikam::EditorCore::bytesDepth ( ) const

◆ clearUndoManager()

◆ convertDepth()

◆ convertToPixmap()

◆ crop()

void Digikam::EditorCore::crop ( const QRect &  rect)

◆ defaultInstance()

◆ ensureHasCurrentUuid()

◆ exifRotated()

bool Digikam::EditorCore::exifRotated ( ) const

◆ flipHoriz()

◆ flipVert()

◆ getEmbeddedICC()

IccProfile Digikam::EditorCore::getEmbeddedICC ( ) const

◆ getExposureSettings()

ExposureSettingsContainer * Digikam::EditorCore::getExposureSettings ( ) const

◆ getICCSettings()

◆ getImageFileName()

QString Digikam::EditorCore::getImageFileName ( ) const

References getImageFilePath().

◆ getImageFilePath()

◆ getImageFormat()

◆ getImageHistoryOfFullRedo()

DImageHistory Digikam::EditorCore::getImageHistoryOfFullRedo ( ) const

◆ getImg()

DImg * Digikam::EditorCore::getImg ( ) const

◆ getImgSelection()

◆ getInitialImageHistory()

DImageHistory Digikam::EditorCore::getInitialImageHistory ( ) const

◆ getItemHistory()

◆ getMetadata()

MetaEngineData Digikam::EditorCore::getMetadata ( ) const

◆ getRedoHistory()

QStringList Digikam::EditorCore::getRedoHistory ( ) const

◆ getResolvedInitialHistory()

◆ getSelectedArea()

◆ getUndoHistory()

QStringList Digikam::EditorCore::getUndoHistory ( ) const

◆ hasAlpha()

bool Digikam::EditorCore::hasAlpha ( ) const

◆ height()

◆ imageUndoChanged()

◆ isReadOnly()

bool Digikam::EditorCore::isReadOnly ( ) const

◆ isValid()

bool Digikam::EditorCore::isValid ( ) const

◆ load()

◆ origHeight()

◆ origWidth()

◆ provideCurrentUuid()

◆ putIccProfile()

void Digikam::EditorCore::putIccProfile ( const IccProfile profile)

◆ putImg()

◆ putImgSelection()

◆ readMetadataFromFile()

◆ redo()

◆ resetImage()

◆ restore()

◆ rollbackToOrigin()

◆ rotate180()

◆ rotate270()

◆ rotate90()

void Digikam::EditorCore::rotate90 ( )

◆ saveAs() [1/2]

void Digikam::EditorCore::saveAs ( const QString &  file,
IOFileSettings *const  iofileSettings,
bool  setExifOrientationTag,
const QString &  givenMimeType,
const QString &  intendedFilePath 
)

◆ saveAs() [2/2]

void Digikam::EditorCore::saveAs ( const QString &  file,
IOFileSettings *const  iofileSettings,
bool  setExifOrientationTag,
const QString &  givenMimeType,
const VersionFileOperation operation 
)

◆ setDefaultInstance()

void Digikam::EditorCore::setDefaultInstance ( EditorCore *const  instance)
static

◆ setDisplayingWidget()

void Digikam::EditorCore::setDisplayingWidget ( QWidget *const  widget)

◆ setExifOrient()

void Digikam::EditorCore::setExifOrient ( bool  exifOrient)

◆ setExposureSettings()

void Digikam::EditorCore::setExposureSettings ( ExposureSettingsContainer *const  expoSettings)

◆ setFileOriginData()

void Digikam::EditorCore::setFileOriginData ( const QVariant &  data)

◆ setHistoryIsBranch()

◆ setICCSettings()

void Digikam::EditorCore::setICCSettings ( const ICCSettingsContainer cmSettings)

◆ setLastSaved()

◆ setModified()

◆ setResolvedInitialHistory()

void Digikam::EditorCore::setResolvedInitialHistory ( const DImageHistory history)

◆ setSelectedArea()

◆ setSoftProofingEnabled()

void Digikam::EditorCore::setSoftProofingEnabled ( bool  enabled)

◆ setUndoImg()

◆ setUndoManagerOrigin()

◆ signalFileOriginChanged

void Digikam::EditorCore::signalFileOriginChanged ( const QString &  filePath)
signal

◆ signalImageLoaded

void Digikam::EditorCore::signalImageLoaded ( const QString &  filePath,
bool  success 
)
signal

◆ signalImageSaved

void Digikam::EditorCore::signalImageSaved ( const QString &  filePath,
bool  success 
)
signal

Referenced by EditorCore(), and slotImageSaved().

◆ signalLoadingProgress

void Digikam::EditorCore::signalLoadingProgress ( const QString &  filePath,
float  progress 
)
signal

Referenced by EditorCore(), and slotLoadingProgress().

◆ signalLoadingStarted

void Digikam::EditorCore::signalLoadingStarted ( const QString &  filename)
signal

◆ signalModified

void Digikam::EditorCore::signalModified ( )
signal

Referenced by setModified().

◆ signalSavingProgress

void Digikam::EditorCore::signalSavingProgress ( const QString &  filePath,
float  progress 
)
signal

Referenced by EditorCore(), and slotSavingProgress().

◆ signalSavingStarted

void Digikam::EditorCore::signalSavingStarted ( const QString &  filename)
signal

◆ signalUndoStateChanged

void Digikam::EditorCore::signalUndoStateChanged ( )
signal

◆ sixteenBit()

bool Digikam::EditorCore::sixteenBit ( ) const

◆ slotImageLoaded

◆ slotImageSaved

◆ slotLoadingProgress

void Digikam::EditorCore::slotLoadingProgress ( const LoadingDescription loadingDescription,
float  progress 
)
protectedslot

◆ slotSavingProgress

void Digikam::EditorCore::slotSavingProgress ( const QString &  filePath,
float  progress 
)
protectedslot

◆ softProofingEnabled()

bool Digikam::EditorCore::softProofingEnabled ( ) const

◆ switchToLastSaved()

◆ undo()

◆ undoState()

◆ width()

◆ zoom()


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