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

Classes

class  Private
 

Signals

void queuedOpenCameraUiFromPath (const QString &path)
 
void queuedOpenSolidDevice (const QString &udi)
 
void signalCopyAlbumItemsSelection ()
 
void signalCutAlbumItemsSelection ()
 
void signalEscapePressed ()
 
void signalFirstItem ()
 
void signalLastItem ()
 
void signalNextItem ()
 
void signalPasteAlbumItemsSelection ()
 
void signalPrevItem ()
 
void signalWindowHasMoved ()
 

Public Member Functions

QList< QAction * > allActions () const
 
void autoDetect ()
 
void cleanupActions ()
 
QString configGroupName () const
 
void createFullScreenAction (const QString &name)
 
void createHelpActions (bool coreOptions=true)
 
void createSettingsActions ()
 
void createSidebarActions ()
 
 DigikamApp ()
 
void downloadFrom (const QString &cameraGuiPath)
 
void downloadFromUdi (const QString &udi)
 
void enableAlbumBackwardHistory (bool enable)
 
void enableAlbumForwardHistory (bool enable)
 
void enableZoomMinusAction (bool val)
 
void enableZoomPlusAction (bool val)
 
bool fullScreenIsActive () const
 
DInfoInterfaceinfoIface (DPluginAction *const ac) override
 
void readFullScreenSettings (const KConfigGroup &group)
 
virtual void registerExtraPluginsActions (QString &)
 
void registerPluginsActions ()
 
void restoreSession ()
 
void setConfigGroupName (const QString &name)
 
void setFullScreenOptions (int options)
 
virtual void show ()
 
ItemIconViewview () const
 
 ~DigikamApp () override
 

Static Public Member Functions

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

Protected Slots

bool slotClose ()
 

Protected Member Functions

void closeEvent (QCloseEvent *e) override
 
void editKeyboardShortcuts (KActionCollection *const extraac=nullptr, const QString &actitle=QString())
 
bool eventFilter (QObject *obj, QEvent *ev) override
 
void keyPressEvent (QKeyEvent *e) override
 
void moveEvent (QMoveEvent *e) override
 
bool queryClose () override
 
QAction * showMenuBarAction () const
 
QAction * showStatusBarAction () const
 

Protected Attributes

DLogoActionm_animLogo
 

Constructor & Destructor Documentation

◆ DigikamApp()

Digikam::DigikamApp::DigikamApp ( )
explicit

References Digikam::DigikamApp::Private::cameraList, Digikam::DigikamApp::Private::cameraMenu, Digikam::DigikamApp::Private::cardReaderMenu, Digikam::ScanController::completeCollectionScanDeferFiles(), Digikam::DigikamApp::Private::config, Digikam::DXmlGuiWindow::configGroupName(), Digikam::AlbumManager::currentAlbums(), Digikam::CollectionScanner::databaseInitialScanDone(), Digikam::FS_ALBUMGUI, Digikam::SetupICC::iccRepositoryIsValid(), Digikam::DPluginLoader::init(), Digikam::LoadingCacheInterface::initialize(), Digikam::AlbumManager::instance(), Digikam::DIO::instance(), Digikam::ScanController::instance(), Digikam::IccSettings::instance(), Digikam::DPluginLoader::instance(), Digikam::DMetadataSettings::instance(), Digikam::MetaEngineSettings::instance(), Digikam::ProgressManager::instance(), Digikam::ApplicationSettings::instance(), Digikam::BalooWrap::instance(), Digikam::IccSettings::loadAllProfilesProperties(), Digikam::DigikamApp::Private::modelCollection, Digikam::DigikamApp::Private::quickImportMenu, Digikam::DXmlGuiWindow::readFullScreenSettings(), Digikam::DXmlGuiWindow::setConfigGroupName(), Digikam::ThumbnailLoadThread::setDisplayingWidget(), Digikam::DXmlGuiWindow::setFullScreenOptions(), Digikam::LoadSaveThread::setInfoProvider(), Digikam::DSplashScreen::setMessage(), Digikam::ItemIconView::slotAlbumSelected(), Digikam::DigikamApp::Private::splashScreen, Digikam::AlbumManager::startScan(), Digikam::DigikamApp::Private::tagsActionManager, Digikam::DigikamApp::Private::usbMediaMenu, Digikam::DigikamApp::Private::validIccPath, and Digikam::DigikamApp::Private::view.

◆ ~DigikamApp()

Digikam::DigikamApp::~DigikamApp ( )
override

References Digikam::AlbumThumbnailLoader::cleanUp(), Digikam::AlbumManager::cleanUp(), Digikam::ItemAttributesWatch::cleanUp(), Digikam::DIO::cleanUp(), Digikam::DPluginLoader::cleanUp(), Digikam::LoadingCacheInterface::cleanUp(), Digikam::ThumbnailLoadThread::cleanUp(), Digikam::ImageWindow::imageWindow(), Digikam::ImageWindow::imageWindowCreated(), Digikam::AlbumThumbnailLoader::instance(), Digikam::AlbumManager::instance(), Digikam::DatabaseServerStarter::instance(), Digikam::ScanController::instance(), Digikam::DPluginLoader::instance(), Digikam::ProgressManager::instance(), Digikam::ApplicationSettings::instance(), Digikam::TagsManager::instance(), Digikam::MetadataHubMngr::internalPtr, Digikam::BalooWrap::internalPtr, Digikam::MetadataHubMngr::isCreated(), Digikam::TagsManager::isCreated(), Digikam::BalooWrap::isCreated(), Digikam::LightTableWindow::lightTableWindow(), Digikam::LightTableWindow::lightTableWindowCreated(), Digikam::DigikamApp::Private::modelCollection, Digikam::QueueMgrWindow::queueManagerWindow(), Digikam::QueueMgrWindow::queueManagerWindowCreated(), Digikam::DigikamApp::Private::recurseAlbumsAction, Digikam::DigikamApp::Private::recurseTagsAction, Digikam::AlbumManager::removeFakeConnection(), Digikam::ApplicationSettings::saveSettings(), Digikam::ApplicationSettings::setRecurseAlbums(), Digikam::ApplicationSettings::setRecurseTags(), Digikam::ApplicationSettings::setShowThumbbar(), Digikam::DigikamApp::Private::showBarAction, Digikam::ItemAttributesWatch::shutDown(), Digikam::ScanController::shutDown(), Digikam::ProgressManager::slotAbortAll(), Digikam::DatabaseServerStarter::stopServerManagerProcess(), and Digikam::DigikamApp::Private::view.

Member Function Documentation

◆ allActions()

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

Return all actions from internal collection.

◆ autoDetect()

void Digikam::DigikamApp::autoDetect ( )

◆ buildStdAction()

◆ cleanupActions()

void Digikam::DXmlGuiWindow::cleanupActions ( )
inherited

Cleanup unwanted actions from action collection.

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

◆ closeEvent()

◆ 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 Digikam::EditorWindow::setupStandardActions().

◆ createHelpActions()

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

◆ createSettingsActions()

void Digikam::DXmlGuiWindow::createSettingsActions ( )
inherited

◆ createSidebarActions()

void Digikam::DXmlGuiWindow::createSidebarActions ( )
inherited

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

Referenced by Digikam::EditorWindow::setupStandardActions().

◆ downloadFrom()

void Digikam::DigikamApp::downloadFrom ( const QString &  cameraGuiPath)

◆ downloadFromUdi()

void Digikam::DigikamApp::downloadFromUdi ( const QString &  udi)

◆ 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.

◆ enableAlbumBackwardHistory()

void Digikam::DigikamApp::enableAlbumBackwardHistory ( bool  enable)

◆ enableAlbumForwardHistory()

void Digikam::DigikamApp::enableAlbumForwardHistory ( bool  enable)

◆ enableZoomMinusAction()

void Digikam::DigikamApp::enableZoomMinusAction ( bool  val)

◆ enableZoomPlusAction()

void Digikam::DigikamApp::enableZoomPlusAction ( bool  val)

◆ eventFilter()

◆ 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().

◆ infoIface()

◆ instance()

◆ keyPressEvent()

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

◆ moveEvent()

void Digikam::DigikamApp::moveEvent ( QMoveEvent *  e)
overrideprotected

◆ openHandbook()

void Digikam::DXmlGuiWindow::openHandbook ( )
staticinherited

◆ queryClose()

◆ queuedOpenCameraUiFromPath

void Digikam::DigikamApp::queuedOpenCameraUiFromPath ( const QString &  path)
signal

Referenced by downloadFrom().

◆ queuedOpenSolidDevice

void Digikam::DigikamApp::queuedOpenSolidDevice ( const QString &  udi)
signal

Referenced by downloadFromUdi().

◆ readFullScreenSettings()

◆ registerExtraPluginsActions()

virtual void Digikam::DXmlGuiWindow::registerExtraPluginsActions ( QString &  )
inlinevirtualinherited

◆ registerPluginsActions()

◆ restoreSession()

void Digikam::DigikamApp::restoreSession ( )

Referenced by main().

◆ restoreWindowSize()

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

◆ 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 DigikamApp(), Digikam::EditorWindow::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 DigikamApp(), Digikam::EditorWindow::EditorWindow(), and Digikam::ImportUI::ImportUI().

◆ setupIconTheme()

void Digikam::DXmlGuiWindow::setupIconTheme ( )
staticinherited

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

◆ show()

◆ showMenuBarAction()

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

◆ showStatusBarAction()

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

◆ signalCopyAlbumItemsSelection

void Digikam::DigikamApp::signalCopyAlbumItemsSelection ( )
signal

◆ signalCutAlbumItemsSelection

void Digikam::DigikamApp::signalCutAlbumItemsSelection ( )
signal

◆ signalEscapePressed

void Digikam::DigikamApp::signalEscapePressed ( )
signal

◆ signalFirstItem

void Digikam::DigikamApp::signalFirstItem ( )
signal

◆ signalLastItem

void Digikam::DigikamApp::signalLastItem ( )
signal

◆ signalNextItem

void Digikam::DigikamApp::signalNextItem ( )
signal

◆ signalPasteAlbumItemsSelection

void Digikam::DigikamApp::signalPasteAlbumItemsSelection ( )
signal

◆ signalPrevItem

void Digikam::DigikamApp::signalPrevItem ( )
signal

◆ signalWindowHasMoved

void Digikam::DigikamApp::signalWindowHasMoved ( )
signal

Referenced by moveEvent().

◆ slotClose

bool Digikam::DXmlGuiWindow::slotClose ( )
protectedslotinherited

◆ view()

Member Data Documentation

◆ m_animLogo


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