digiKam
Digikam::EditorWindow Class Referenceabstract
+ Inheritance diagram for Digikam::EditorWindow:

Classes

class  Private
 

Public Types

enum  TransformType { RotateLeft , RotateRight , FlipHorizontal , FlipVertical }
 

Public Slots

void slotSetup () override=0
 
virtual void slotSetupICC ()=0
 

Signals

void signalNoCurrentItem ()
 
void signalPreviewModeChanged (int)
 
void signalSelectionChanged (const QRect &)
 
void signalToolApplied ()
 

Public Member Functions

bool actionEnabledState () const
 
QList< QAction * > allActions () const
 
void cleanupActions ()
 
QString configGroupName () const
 
void createFullScreenAction (const QString &name)
 
void createHelpActions (bool coreOptions=true)
 
void createSettingsActions ()
 
void createSidebarActions ()
 
 EditorWindow (const QString &name, QWidget *const parent=nullptr)
 
bool fullScreenIsActive () const
 
virtual DInfoInterfaceinfoIface (DPluginAction *const ac)=0
 
void loadTool (EditorTool *const tool)
 
void readFullScreenSettings (const KConfigGroup &group)
 
void registerExtraPluginsActions (QString &dom) override
 
void registerPluginsActions ()
 
void setConfigGroupName (const QString &name)
 
void setFullScreenOptions (int options)
 
 ~EditorWindow () override
 

Static Public Member Functions

static QAction * buildStdAction (StdActionType type, const QObject *const recvr, const char *const slot, QObject *const parent)
 
static void openHandbook ()
 
static void restoreWindowSize (QWindow *const win, const KConfigGroup &group)
 
static void saveWindowSize (QWindow *const win, KConfigGroup &group)
 
static void setupIconTheme ()
 

Static Public Attributes

static const QString CONFIG_GROUP_NAME
 

Protected Types

enum  SaveAskMode {
  AskIfNeeded , OverwriteWithoutAsking , AlwaysSaveAs , SaveVersionWithoutAsking = OverwriteWithoutAsking ,
  AlwaysNewVersion = AlwaysSaveAs
}
 

Protected Slots

virtual bool save ()=0
 
virtual bool saveAs ()=0
 
virtual bool saveCurrentVersion ()=0
 
virtual bool saveNewVersion ()=0
 
virtual bool saveNewVersionAs ()=0
 
virtual bool saveNewVersionInFormat (const QString &)=0
 
virtual bool saveOrSaveAs ()
 
void slotAboutToShowRedoMenu ()
 
void slotAboutToShowUndoMenu ()
 
virtual void slotAddedDropedItems (QDropEvent *e)=0
 
virtual void slotBackward ()=0
 
virtual void slotChanged ()=0
 
bool slotClose ()
 
void slotComponentsInfo () override
 
virtual void slotContextMenu ()=0
 
virtual void slotDeleteCurrentItem ()=0
 
virtual void slotDiscardChanges ()
 
virtual void slotFileOriginChanged (const QString &filePath)
 
virtual void slotFileWithDefaultApplication ()=0
 
virtual void slotFirst ()=0
 
virtual void slotForward ()=0
 
virtual void slotLast ()=0
 
virtual void slotLoadingFinished (const QString &filename, bool success)
 
void slotLoadingProgress (const QString &filePath, float progress)
 
virtual void slotLoadingStarted (const QString &filename)
 
void slotNameLabelCancelButtonPressed ()
 
virtual void slotOpenOriginal ()
 
virtual void slotOpenWith (QAction *action=nullptr)=0
 
virtual void slotPrepareToLoad ()
 
virtual void slotRevert ()=0
 
void slotSavingProgress (const QString &filePath, float progress)
 
virtual void slotSavingStarted (const QString &filename)
 
void slotSelected (bool)
 
virtual void slotUpdateItemInfo ()=0
 

Protected Member Functions

virtual void addServicesMenu ()=0
 
void addServicesMenuForUrl (const QUrl &url)
 
void applyColorManagementSettings ()
 
void applyIOSettings ()
 
void applyStandardSettings ()
 
bool checkOverwrite (const QUrl &url)
 
bool checkPermissions (const QUrl &url)
 
void closeEvent (QCloseEvent *e) override
 
void colorManage ()
 
void editKeyboardShortcuts (KActionCollection *const extraac=nullptr, const QString &actitle=QString())
 
EditorStackVieweditorStackView () const
 
bool eventFilter (QObject *obj, QEvent *ev) override
 
void execSavingProgressDialog ()
 
ExposureSettingsContainerexposureSettings () const
 
virtual void finishSaving (bool success)
 
virtual bool hasOriginalToRestore ()
 
void keyPressEvent (QKeyEvent *e) override
 
virtual void moveFile ()
 
bool moveLocalFile (const QString &src, const QString &dest)
 
void movingSaveFileFinished (bool successful)
 
void openWith (const QUrl &url, QAction *action)
 
bool promptForOverWrite ()
 
bool promptUserDelete (const QUrl &url)
 
bool promptUserSave (const QUrl &url, SaveAskMode mode=AskIfNeeded, bool allowCancel=true)
 
virtual void readSettings ()
 
void readStandardSettings ()
 
void resetOrigin ()
 
void resetOriginSwitchFile ()
 
virtual DImageHistory resolvedImageHistory (const DImageHistory &history)
 
virtual SidebarrightSideBar () const =0
 
virtual void saveAsIsComplete ()=0
 
VersionFileOperation saveAsVersionFileOperation (const QUrl &url, const QUrl &saveLocation, const QString &format)
 
virtual QUrl saveDestinationUrl ()=0
 
VersionFileOperation saveInFormatVersionFileOperation (const QUrl &url, const QString &format)
 
virtual void saveIsComplete ()=0
 
virtual void saveSettings ()
 
void saveStandardSettings ()
 
VersionFileOperation saveVersionFileOperation (const QUrl &url, bool fork)
 
virtual void saveVersionIsComplete ()=0
 
virtual void setupActions ()=0
 
virtual void setupConnections ()=0
 
void setupContextMenu ()
 
void setupSelectToolsAction ()
 
void setupStandardActions ()
 
void setupStandardConnections ()
 
void setupStatusBar ()
 
virtual void setupUserArea ()=0
 
QAction * showMenuBarAction () const
 
QAction * showStatusBarAction () const
 
SidebarSplittersidebarSplitter () const
 
void startingSave (const QUrl &url)
 
bool startingSaveAs (const QUrl &url)
 
bool startingSaveCurrentVersion (const QUrl &url)
 
bool startingSaveNewVersion (const QUrl &url)
 
bool startingSaveNewVersionAs (const QUrl &url)
 
bool startingSaveNewVersionInFormat (const QUrl &url, const QString &format)
 
virtual ThumbBarDockthumbBar () const =0
 
virtual void toggleActions (bool val)
 
void toggleNonDestructiveActions ()
 
void toggleStandardActions (bool val)
 
void toggleToolActions (EditorTool *tool=nullptr)
 
void toggleZoomActions (bool val)
 
virtual VersionManagerversionManager () const
 
bool waitForSavingToComplete ()
 

Protected Attributes

bool m_actionEnabledState
 
DLogoActionm_animLogo
 
QAction * m_applyToolAction
 
QAction * m_backwardAction
 
QColor m_bgColor
 
Canvasm_canvas
 
QAction * m_closeToolAction
 
QMenu * m_contextMenu
 
QAction * m_discardChangesAction
 
bool m_editingOriginalImage
 
QAction * m_exportAction
 
QAction * m_fileDeleteAction
 
QAction * m_firstAction
 
QString m_formatForRAWVersioning
 
QString m_formatForSubversions
 
QAction * m_forwardAction
 
IOFileSettingsm_IOFileSettings
 
QAction * m_lastAction
 
StatusProgressBarm_nameLabel
 
bool m_nonDestructive
 
QAction * m_openVersionAction
 
KToolBarPopupAction * m_redoAction
 
DAdjustableLabelm_resLabel
 
QAction * m_revertAction
 
QAction * m_saveAction
 
QAction * m_saveAsAction
 
QAction * m_saveCurrentVersionAction
 
KToolBarPopupAction * m_saveNewVersionAction
 
QAction * m_saveNewVersionAsAction
 
QMenu * m_saveNewVersionInFormatAction
 
SavingContext m_savingContext
 
QPointer< QProgressDialog > m_savingProgressDialog
 
QAction * m_serviceAction
 
QMenu * m_servicesMenu
 
bool m_setExifOrientationTag
 
QAction * m_showBarAction
 
SidebarSplitterm_splitter
 
EditorStackViewm_stackView
 
QVector< TransformTypem_transformQue
 NOTE: using QVector to store transforms. More...
 
KToolBarPopupAction * m_undoAction
 
QSplitter * m_vSplitter
 

Friends

class EditorToolIface
 

Member Enumeration Documentation

◆ SaveAskMode

Enumerator
AskIfNeeded 
OverwriteWithoutAsking 
AlwaysSaveAs 
SaveVersionWithoutAsking 
AlwaysNewVersion 

◆ TransformType

Enumerator
RotateLeft 
RotateRight 
FlipHorizontal 
FlipVertical 

Constructor & Destructor Documentation

◆ EditorWindow()

◆ ~EditorWindow()

Member Function Documentation

◆ actionEnabledState()

bool Digikam::EditorWindow::actionEnabledState ( ) const

References m_actionEnabledState.

◆ addServicesMenu()

virtual void Digikam::EditorWindow::addServicesMenu ( )
protectedpure virtual

◆ addServicesMenuForUrl()

void Digikam::EditorWindow::addServicesMenuForUrl ( const QUrl &  url)
protected

◆ allActions()

QList< QAction * > Digikam::DXmlGuiWindow::allActions ( ) const
inherited

Return all actions from internal collection.

◆ applyColorManagementSettings()

◆ applyIOSettings()

void Digikam::EditorWindow::applyIOSettings ( )
protected

References Digikam::ICCSettingsContainer::AutomaticColors, Digikam::DXmlGuiWindow::configGroupName(), Digikam::EditorWindow::Private::configHeifCompressionEntry, Digikam::EditorWindow::Private::configHeifLossLessEntry, Digikam::EditorWindow::Private::configJpeg2000CompressionEntry, Digikam::EditorWindow::Private::configJpeg2000LossLessEntry, Digikam::EditorWindow::Private::configJpegCompressionEntry, Digikam::EditorWindow::Private::configJpegSubSamplingEntry, Digikam::EditorWindow::Private::configPgfCompressionEntry, Digikam::EditorWindow::Private::configPgfLossLessEntry, Digikam::EditorWindow::Private::configPngCompressionEntry, Digikam::EditorWindow::Private::configRawImportToolIidEntry, Digikam::EditorWindow::Private::configTiffCompressionEntry, Digikam::EditorWindow::Private::configUseRawImportToolEntry, Digikam::JPEGSettings::convertCompressionForLibJpeg(), Digikam::PNGSettings::convertCompressionForLibPng(), Digikam::DRawDecoderSettings::CUSTOMOUTPUTCS, Digikam::ICCSettingsContainer::defaultUncalibratedBehavior, Digikam::ICCSettingsContainer::enableCM, Digikam::IOFileSettings::HEIFCompression, Digikam::IOFileSettings::HEIFLossLess, Digikam::IccSettings::instance(), Digikam::IOFileSettings::JPEG2000Compression, Digikam::IOFileSettings::JPEG2000LossLess, Digikam::IOFileSettings::JPEGCompression, Digikam::IOFileSettings::JPEGSubSampling, m_IOFileSettings, Digikam::DRawDecoderSettings::outputColorSpace, Digikam::DRawDecoderSettings::outputProfile, Digikam::IOFileSettings::PGFCompression, Digikam::IOFileSettings::PGFLossLess, Digikam::IOFileSettings::PNGCompression, Digikam::DRawDecoderSettings::RAWCOLOR, Digikam::IOFileSettings::rawDecodingSettings, Digikam::IOFileSettings::rawImportToolIid, Digikam::DRawDecoding::rawPrm, Digikam::DRawDecoderWidget::readSettings(), Digikam::IccSettings::settings(), Digikam::DRawDecoderSettings::SRGB, Digikam::IOFileSettings::TIFFCompression, Digikam::IOFileSettings::useRAWImport, and Digikam::ICCSettingsContainer::workspaceProfile.

Referenced by applyStandardSettings().

◆ applyStandardSettings()

◆ buildStdAction()

◆ checkOverwrite()

bool Digikam::EditorWindow::checkOverwrite ( const QUrl &  url)
protected

Referenced by startingSaveAs().

◆ checkPermissions()

bool Digikam::EditorWindow::checkPermissions ( const QUrl &  url)
protected

Referenced by startingSave(), and startingSaveAs().

◆ cleanupActions()

void Digikam::DXmlGuiWindow::cleanupActions ( )
inherited

Cleanup unwanted actions from action collection.

Referenced by ShowFoto::Showfoto::Showfoto().

◆ closeEvent()

void Digikam::DXmlGuiWindow::closeEvent ( QCloseEvent *  e)
overrideprotectedinherited

◆ colorManage()

◆ configGroupName()

◆ createFullScreenAction()

void Digikam::DXmlGuiWindow::createFullScreenAction ( const QString &  name)
inherited

Create Full-screen action to action collection instance from managed window set through setManagedWindow(). This action is connected to slotToggleFullScreen() slot. 'name' is action name used in KDE UI rc file.

References Digikam::DXmlGuiWindow::Private::fullScreenAction, and Digikam::DXmlGuiWindow::Private::fullScreenBtn.

Referenced by setupStandardActions().

◆ createHelpActions()

void Digikam::DXmlGuiWindow::createHelpActions ( bool  coreOptions = true)
inherited

◆ createSettingsActions()

void Digikam::DXmlGuiWindow::createSettingsActions ( )
inherited

Create common actions to setup all digiKam main windows.

References Digikam::DXmlGuiWindow::Private::showMenuBarAction, and Digikam::DXmlGuiWindow::Private::showStatusBarAction.

Referenced by setupStandardActions().

◆ createSidebarActions()

void Digikam::DXmlGuiWindow::createSidebarActions ( )
inherited

Create common actions to handle side-bar through keyboard shortcuts.

Referenced by setupStandardActions().

◆ editKeyboardShortcuts()

void Digikam::DXmlGuiWindow::editKeyboardShortcuts ( KActionCollection *const  extraac = nullptr,
const QString &  actitle = QString() 
)
protectedinherited

Call this method from your main window to show keyboard shortcut config dialog with an extra action collection to configure. This method is called by slotEditKeys() which can be re-implement in child class for cutomization.

◆ editorStackView()

EditorStackView * Digikam::EditorWindow::editorStackView ( ) const
protected

References m_stackView.

◆ eventFilter()

◆ execSavingProgressDialog()

void Digikam::EditorWindow::execSavingProgressDialog ( )
protected

◆ exposureSettings()

ExposureSettingsContainer * Digikam::EditorWindow::exposureSettings ( ) const
protected

◆ finishSaving()

◆ fullScreenIsActive()

bool Digikam::DXmlGuiWindow::fullScreenIsActive ( ) const
inherited

Return true if managed window is currently in Full Screen Mode.

References Digikam::DXmlGuiWindow::Private::fullScreenAction.

Referenced by Digikam::DXmlGuiWindow::eventFilter(), and Digikam::DXmlGuiWindow::keyPressEvent().

◆ hasOriginalToRestore()

bool Digikam::EditorWindow::hasOriginalToRestore ( )
protectedvirtual

◆ infoIface()

virtual DInfoInterface* Digikam::DXmlGuiWindow::infoIface ( DPluginAction *const  ac)
pure virtualinherited

◆ keyPressEvent()

void Digikam::DXmlGuiWindow::keyPressEvent ( QKeyEvent *  e)
overrideprotectedinherited

◆ loadTool()

void Digikam::EditorWindow::loadTool ( EditorTool *const  tool)

◆ moveFile()

◆ moveLocalFile()

bool Digikam::EditorWindow::moveLocalFile ( const QString &  src,
const QString &  dest 
)
protected

◆ movingSaveFileFinished()

◆ openHandbook()

void Digikam::DXmlGuiWindow::openHandbook ( )
staticinherited

◆ openWith()

void Digikam::EditorWindow::openWith ( const QUrl &  url,
QAction *  action 
)
protected

◆ promptForOverWrite()

bool Digikam::EditorWindow::promptForOverWrite ( )
protected

◆ promptUserDelete()

◆ promptUserSave()

◆ readFullScreenSettings()

◆ readSettings()

void Digikam::EditorWindow::readSettings ( )
protectedvirtual

◆ readStandardSettings()

◆ registerExtraPluginsActions()

◆ registerPluginsActions()

◆ resetOrigin()

void Digikam::EditorWindow::resetOrigin ( )
protected

◆ resetOriginSwitchFile()

void Digikam::EditorWindow::resetOriginSwitchFile ( )
protected

◆ resolvedImageHistory()

DImageHistory Digikam::EditorWindow::resolvedImageHistory ( const DImageHistory history)
protectedvirtual

◆ restoreWindowSize()

void Digikam::DXmlGuiWindow::restoreWindowSize ( QWindow *const  win,
const KConfigGroup &  group 
)
staticinherited

◆ rightSideBar()

virtual Sidebar* Digikam::EditorWindow::rightSideBar ( ) const
protectedpure virtual

◆ save

virtual bool Digikam::EditorWindow::save ( )
protectedpure virtualslot

◆ saveAs

virtual bool Digikam::EditorWindow::saveAs ( )
protectedpure virtualslot

◆ saveAsIsComplete()

virtual void Digikam::EditorWindow::saveAsIsComplete ( )
protectedpure virtual

Referenced by movingSaveFileFinished().

◆ saveAsVersionFileOperation()

VersionFileOperation Digikam::EditorWindow::saveAsVersionFileOperation ( const QUrl &  url,
const QUrl &  saveLocation,
const QString &  format 
)
protected

◆ saveCurrentVersion

virtual bool Digikam::EditorWindow::saveCurrentVersion ( )
protectedpure virtualslot

◆ saveDestinationUrl()

virtual QUrl Digikam::EditorWindow::saveDestinationUrl ( )
protectedpure virtual

Hook method that subclasses must implement to return the destination url of the image to save. This may also be a remote url.

This method will only be called while saving.

Returns
destination for the file that is currently being saved.

Referenced by promptForOverWrite().

◆ saveInFormatVersionFileOperation()

◆ saveIsComplete()

virtual void Digikam::EditorWindow::saveIsComplete ( )
protectedpure virtual

Referenced by movingSaveFileFinished().

◆ saveNewVersion

virtual bool Digikam::EditorWindow::saveNewVersion ( )
protectedpure virtualslot

◆ saveNewVersionAs

virtual bool Digikam::EditorWindow::saveNewVersionAs ( )
protectedpure virtualslot

Referenced by setupStandardActions().

◆ saveNewVersionInFormat

virtual bool Digikam::EditorWindow::saveNewVersionInFormat ( const QString &  )
protectedpure virtualslot

◆ saveOrSaveAs

bool Digikam::EditorWindow::saveOrSaveAs ( )
protectedvirtualslot

◆ saveSettings()

void Digikam::EditorWindow::saveSettings ( )
protectedvirtual

◆ saveStandardSettings()

◆ saveVersionFileOperation()

◆ saveVersionIsComplete()

virtual void Digikam::EditorWindow::saveVersionIsComplete ( )
protectedpure virtual

Referenced by movingSaveFileFinished().

◆ saveWindowSize()

void Digikam::DXmlGuiWindow::saveWindowSize ( QWindow *const  win,
KConfigGroup &  group 
)
staticinherited

◆ setConfigGroupName()

void Digikam::DXmlGuiWindow::setConfigGroupName ( const QString &  name)
inherited

Manage config group name used by window instance to get/set settings from config file

References Digikam::DXmlGuiWindow::Private::configGroupName.

Referenced by Digikam::DigikamApp::DigikamApp(), EditorWindow(), and Digikam::ImportUI::ImportUI().

◆ setFullScreenOptions()

void Digikam::DXmlGuiWindow::setFullScreenOptions ( int  options)
inherited

Set full-screen options to managed window

References Digikam::DXmlGuiWindow::Private::fsOptions.

Referenced by Digikam::DigikamApp::DigikamApp(), EditorWindow(), and Digikam::ImportUI::ImportUI().

◆ setupActions()

virtual void Digikam::EditorWindow::setupActions ( )
protectedpure virtual

◆ setupConnections()

virtual void Digikam::EditorWindow::setupConnections ( )
protectedpure virtual

◆ setupContextMenu()

void Digikam::EditorWindow::setupContextMenu ( )
protected

References m_contextMenu.

Referenced by ShowFoto::Showfoto::Showfoto().

◆ setupIconTheme()

void Digikam::DXmlGuiWindow::setupIconTheme ( )
staticinherited

If we have some local breeze icon resource, prefer it.

◆ setupSelectToolsAction()

◆ setupStandardActions()

void Digikam::EditorWindow::setupStandardActions ( )
protected

References Digikam::DXmlGuiWindow::buildStdAction(), Digikam::EditorWindow::Private::copyAction, Digikam::DXmlGuiWindow::createFullScreenAction(), Digikam::DXmlGuiWindow::createSettingsActions(), Digikam::DXmlGuiWindow::createSidebarActions(), Digikam::EditorWindow::Private::cropAction, Digikam::DPluginAction::Editor, Digikam::EditorWindow::Private::flipHorizAction, Digikam::EditorWindow::Private::flipVertAction, Digikam::DPluginAction::Generic, Digikam::ThumbBarDock::getToggleAction(), Digikam::DPluginLoader::instance(), Digikam::ThemeManager::instance(), m_applyToolAction, m_backwardAction, m_canvas, m_closeToolAction, m_discardChangesAction, m_exportAction, m_fileDeleteAction, m_firstAction, m_forwardAction, m_lastAction, m_openVersionAction, m_redoAction, m_revertAction, m_saveAction, m_saveAsAction, m_saveCurrentVersionAction, m_saveNewVersionAction, m_saveNewVersionAsAction, m_saveNewVersionInFormatAction, m_showBarAction, m_undoAction, Digikam::EditorWindow::Private::openWithAction, Digikam::DPluginLoader::pluginsActions(), Digikam::EditorWindow::Private::plugNewVersionInFormatAction(), Digikam::ThemeManager::registerThemeActions(), Digikam::EditorWindow::Private::rotateLeftAction, Digikam::EditorWindow::Private::rotateRightAction, saveAs(), saveCurrentVersion(), saveNewVersion(), saveNewVersionAs(), saveOrSaveAs(), Digikam::EditorWindow::Private::selectAllAction, Digikam::EditorWindow::Private::selectNoneAction, slotAboutToShowRedoMenu(), slotAboutToShowUndoMenu(), slotBackward(), Digikam::DXmlGuiWindow::slotClose(), slotDeleteCurrentItem(), slotDiscardChanges(), slotFileWithDefaultApplication(), slotFirst(), slotForward(), slotLast(), slotOpenOriginal(), Digikam::Canvas::slotRedo(), slotRevert(), Digikam::Canvas::slotUndo(), Digikam::EditorWindow::Private::softProofOptionsAction, Digikam::StdBackAction, Digikam::StdCloseAction, Digikam::StdCopyAction, Digikam::StdForwardAction, Digikam::StdRevertAction, Digikam::StdSaveAction, Digikam::StdSaveAsAction, Digikam::StdZoomInAction, Digikam::StdZoomOutAction, thumbBar(), toggleNonDestructiveActions(), toggleToolActions(), Digikam::EditorWindow::Private::viewCMViewAction, Digikam::EditorWindow::Private::viewOverExpoAction, Digikam::EditorWindow::Private::viewSoftProofAction, Digikam::EditorWindow::Private::viewUnderExpoAction, Digikam::EditorWindow::Private::zoomFitToSelectAction, Digikam::EditorWindow::Private::zoomFitToWindowAction, Digikam::EditorWindow::Private::zoomMinusAction, Digikam::EditorWindow::Private::zoomPlusAction, and Digikam::EditorWindow::Private::zoomTo100percents.

◆ setupStandardConnections()

◆ setupStatusBar()

◆ setupUserArea()

virtual void Digikam::EditorWindow::setupUserArea ( )
protectedpure virtual

◆ showMenuBarAction()

QAction * Digikam::DXmlGuiWindow::showMenuBarAction ( ) const
protectedinherited

◆ showStatusBarAction()

QAction * Digikam::DXmlGuiWindow::showStatusBarAction ( ) const
protectedinherited

◆ sidebarSplitter()

SidebarSplitter * Digikam::EditorWindow::sidebarSplitter ( ) const
protected

References m_splitter.

◆ signalNoCurrentItem

void Digikam::EditorWindow::signalNoCurrentItem ( )
signal

◆ signalPreviewModeChanged

void Digikam::EditorWindow::signalPreviewModeChanged ( int  )
signal

Referenced by setupStatusBar().

◆ signalSelectionChanged

void Digikam::EditorWindow::signalSelectionChanged ( const QRect &  )
signal

◆ signalToolApplied

void Digikam::EditorWindow::signalToolApplied ( )
signal

◆ slotAboutToShowRedoMenu

void Digikam::EditorWindow::slotAboutToShowRedoMenu ( )
protectedslot

◆ slotAboutToShowUndoMenu

void Digikam::EditorWindow::slotAboutToShowUndoMenu ( )
protectedslot

◆ slotAddedDropedItems

virtual void Digikam::EditorWindow::slotAddedDropedItems ( QDropEvent *  e)
protectedpure virtualslot

◆ slotBackward

virtual void Digikam::EditorWindow::slotBackward ( )
protectedpure virtualslot

◆ slotChanged

virtual void Digikam::EditorWindow::slotChanged ( )
protectedpure virtualslot

◆ slotClose

bool Digikam::DXmlGuiWindow::slotClose ( )
protectedslotinherited

Referenced by setupStandardActions().

◆ slotComponentsInfo

void Digikam::EditorWindow::slotComponentsInfo ( )
overrideprotectedslot

◆ slotContextMenu

virtual void Digikam::EditorWindow::slotContextMenu ( )
protectedpure virtualslot

◆ slotDeleteCurrentItem

virtual void Digikam::EditorWindow::slotDeleteCurrentItem ( )
protectedpure virtualslot

Referenced by setupStandardActions().

◆ slotDiscardChanges

void Digikam::EditorWindow::slotDiscardChanges ( )
protectedvirtualslot

◆ slotFileOriginChanged

void Digikam::EditorWindow::slotFileOriginChanged ( const QString &  filePath)
protectedvirtualslot

◆ slotFileWithDefaultApplication

virtual void Digikam::EditorWindow::slotFileWithDefaultApplication ( )
protectedpure virtualslot

Referenced by setupStandardActions().

◆ slotFirst

virtual void Digikam::EditorWindow::slotFirst ( )
protectedpure virtualslot

Referenced by setupStandardActions().

◆ slotForward

virtual void Digikam::EditorWindow::slotForward ( )
protectedpure virtualslot

◆ slotLast

virtual void Digikam::EditorWindow::slotLast ( )
protectedpure virtualslot

Referenced by setupStandardActions().

◆ slotLoadingFinished

◆ slotLoadingProgress

void Digikam::EditorWindow::slotLoadingProgress ( const QString &  filePath,
float  progress 
)
protectedslot

◆ slotLoadingStarted

void Digikam::EditorWindow::slotLoadingStarted ( const QString &  filename)
protectedvirtualslot

◆ slotNameLabelCancelButtonPressed

◆ slotOpenOriginal

void Digikam::EditorWindow::slotOpenOriginal ( )
protectedvirtualslot

Referenced by setupStandardActions().

◆ slotOpenWith

virtual void Digikam::EditorWindow::slotOpenWith ( QAction *  action = nullptr)
protectedpure virtualslot

Referenced by addServicesMenuForUrl().

◆ slotPrepareToLoad

void Digikam::EditorWindow::slotPrepareToLoad ( )
protectedvirtualslot

◆ slotRevert

virtual void Digikam::EditorWindow::slotRevert ( )
protectedpure virtualslot

Referenced by setupStandardActions().

◆ slotSavingProgress

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

◆ slotSavingStarted

◆ slotSelected

◆ slotSetup

void Digikam::EditorWindow::slotSetup ( )
overridepure virtualslot

◆ slotSetupICC

virtual void Digikam::EditorWindow::slotSetupICC ( )
pure virtualslot

◆ slotUpdateItemInfo

virtual void Digikam::EditorWindow::slotUpdateItemInfo ( )
protectedpure virtualslot

◆ startingSave()

◆ startingSaveAs()

◆ startingSaveCurrentVersion()

bool Digikam::EditorWindow::startingSaveCurrentVersion ( const QUrl &  url)
protected

◆ startingSaveNewVersion()

bool Digikam::EditorWindow::startingSaveNewVersion ( const QUrl &  url)
protected

◆ startingSaveNewVersionAs()

bool Digikam::EditorWindow::startingSaveNewVersionAs ( const QUrl &  url)
protected

◆ startingSaveNewVersionInFormat()

bool Digikam::EditorWindow::startingSaveNewVersionInFormat ( const QUrl &  url,
const QString &  format 
)
protected

◆ thumbBar()

virtual ThumbBarDock* Digikam::EditorWindow::thumbBar ( ) const
protectedpure virtual

◆ toggleActions()

void Digikam::EditorWindow::toggleActions ( bool  val)
protectedvirtual

◆ toggleNonDestructiveActions()

◆ toggleStandardActions()

◆ toggleToolActions()

◆ toggleZoomActions()

void Digikam::EditorWindow::toggleZoomActions ( bool  val)
protected

Method used by Editor Tools. Only tools based on imageregionwidget support zooming. TODO: Fix this behavior when editor tool preview widgets will be factored.

References Digikam::EditorWindow::Private::zoomBar, Digikam::EditorWindow::Private::zoomFitToWindowAction, Digikam::EditorWindow::Private::zoomMinusAction, Digikam::EditorWindow::Private::zoomPlusAction, and Digikam::EditorWindow::Private::zoomTo100percents.

Referenced by toggleStandardActions().

◆ versionManager()

◆ waitForSavingToComplete()

Friends And Related Function Documentation

◆ EditorToolIface

friend class EditorToolIface
friend

Referenced by EditorWindow().

Member Data Documentation

◆ CONFIG_GROUP_NAME

const QString Digikam::EditorWindow::CONFIG_GROUP_NAME
static

◆ m_actionEnabledState

bool Digikam::EditorWindow::m_actionEnabledState
protected

◆ m_animLogo

◆ m_applyToolAction

QAction* Digikam::EditorWindow::m_applyToolAction
protected

◆ m_backwardAction

QAction* Digikam::EditorWindow::m_backwardAction
protected

◆ m_bgColor

QColor Digikam::EditorWindow::m_bgColor
protected

◆ m_canvas

◆ m_closeToolAction

QAction* Digikam::EditorWindow::m_closeToolAction
protected

◆ m_contextMenu

QMenu* Digikam::EditorWindow::m_contextMenu
protected

◆ m_discardChangesAction

QAction* Digikam::EditorWindow::m_discardChangesAction
protected

◆ m_editingOriginalImage

bool Digikam::EditorWindow::m_editingOriginalImage
protected

Referenced by EditorWindow().

◆ m_exportAction

QAction* Digikam::EditorWindow::m_exportAction
protected

◆ m_fileDeleteAction

QAction* Digikam::EditorWindow::m_fileDeleteAction
protected

◆ m_firstAction

QAction* Digikam::EditorWindow::m_firstAction
protected

◆ m_formatForRAWVersioning

QString Digikam::EditorWindow::m_formatForRAWVersioning
protected

◆ m_formatForSubversions

QString Digikam::EditorWindow::m_formatForSubversions
protected

◆ m_forwardAction

QAction* Digikam::EditorWindow::m_forwardAction
protected

◆ m_IOFileSettings

IOFileSettings* Digikam::EditorWindow::m_IOFileSettings
protected

◆ m_lastAction

QAction* Digikam::EditorWindow::m_lastAction
protected

◆ m_nameLabel

◆ m_nonDestructive

◆ m_openVersionAction

QAction* Digikam::EditorWindow::m_openVersionAction
protected

◆ m_redoAction

KToolBarPopupAction* Digikam::EditorWindow::m_redoAction
protected

◆ m_resLabel

DAdjustableLabel* Digikam::EditorWindow::m_resLabel
protected

Referenced by EditorWindow(), and setupStatusBar().

◆ m_revertAction

QAction* Digikam::EditorWindow::m_revertAction
protected

◆ m_saveAction

QAction* Digikam::EditorWindow::m_saveAction
protected

◆ m_saveAsAction

QAction* Digikam::EditorWindow::m_saveAsAction
protected

◆ m_saveCurrentVersionAction

QAction* Digikam::EditorWindow::m_saveCurrentVersionAction
protected

◆ m_saveNewVersionAction

KToolBarPopupAction* Digikam::EditorWindow::m_saveNewVersionAction
protected

◆ m_saveNewVersionAsAction

QAction* Digikam::EditorWindow::m_saveNewVersionAsAction
protected

◆ m_saveNewVersionInFormatAction

QMenu* Digikam::EditorWindow::m_saveNewVersionInFormatAction
protected

◆ m_savingContext

◆ m_savingProgressDialog

QPointer<QProgressDialog> Digikam::EditorWindow::m_savingProgressDialog
protected

◆ m_serviceAction

QAction* Digikam::EditorWindow::m_serviceAction
protected

◆ m_servicesMenu

QMenu* Digikam::EditorWindow::m_servicesMenu
protected

◆ m_setExifOrientationTag

bool Digikam::EditorWindow::m_setExifOrientationTag
protected

◆ m_showBarAction

QAction* Digikam::EditorWindow::m_showBarAction
protected

◆ m_splitter

SidebarSplitter* Digikam::EditorWindow::m_splitter
protected

◆ m_stackView

EditorStackView* Digikam::EditorWindow::m_stackView
protected

◆ m_transformQue

QVector<TransformType> Digikam::EditorWindow::m_transformQue
protected

NOTE: using QVector to store transforms.

◆ m_undoAction

KToolBarPopupAction* Digikam::EditorWindow::m_undoAction
protected

◆ m_vSplitter

QSplitter* Digikam::EditorWindow::m_vSplitter
protected

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