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

Classes

class  Private
 

Public Slots

void slotDownload (bool onlySelected, bool deleteAfter, Album *pAlbum=nullptr)
 
void slotUploadItems (const QList< QUrl > &)
 

Signals

void signalEscapePressed ()
 
void signalLastDestination (const QUrl &)
 
void signalNewSelection (bool)
 
void signalPreviewRequested (const CamItemInfo &, bool)
 
void signalWindowHasMoved ()
 

Public Member Functions

QList< QAction * > allActions () const
 
bool cameraDelDirSupport () const
 
bool cameraDeleteSupport () const
 
bool cameraMkDirSupport () const
 
QString cameraTitle () const
 
bool cameraUploadSupport () const
 
bool cameraUseGPhotoDriver () const
 
bool cameraUseUMSDriver () const
 
void cleanupActions ()
 
QString configGroupName () const
 
void createFullScreenAction (const QString &name)
 
void createHelpActions (bool coreOptions=true)
 
void createSettingsActions ()
 
void createSidebarActions ()
 
DownloadSettings downloadSettings () const
 
void enableZoomMinusAction (bool val)
 
void enableZoomPlusAction (bool val)
 
bool fullScreenIsActive () const
 
CameraThumbsCtrlgetCameraThumbsCtrl () const
 
 ImportUI (const QString &cameraTitle, const QString &model, const QString &port, const QString &path, int startIndex)
 
DInfoInterfaceinfoIface (DPluginAction *const) override
 
bool isBusy () const
 
bool isClosed () const
 
void readFullScreenSettings (const KConfigGroup &group)
 
virtual void registerExtraPluginsActions (QString &)
 
void registerPluginsActions ()
 
void setConfigGroupName (const QString &name)
 
void setFullScreenOptions (int options)
 
 ~ImportUI () override
 

Static Public Member Functions

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

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
 
QAction * showMenuBarAction () const
 
QAction * showStatusBarAction () const
 

Protected Attributes

DLogoActionm_animLogo
 

Constructor & Destructor Documentation

◆ ImportUI()

◆ ~ImportUI()

Member Function Documentation

◆ allActions()

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

Return all actions from internal collection.

◆ buildStdAction()

◆ cameraDelDirSupport()

bool Digikam::ImportUI::cameraDelDirSupport ( ) const

◆ cameraDeleteSupport()

bool Digikam::ImportUI::cameraDeleteSupport ( ) const

◆ cameraMkDirSupport()

bool Digikam::ImportUI::cameraMkDirSupport ( ) const

◆ cameraTitle()

QString Digikam::ImportUI::cameraTitle ( ) const

◆ cameraUploadSupport()

bool Digikam::ImportUI::cameraUploadSupport ( ) const

◆ cameraUseGPhotoDriver()

bool Digikam::ImportUI::cameraUseGPhotoDriver ( ) const

◆ cameraUseUMSDriver()

◆ cleanupActions()

void Digikam::DXmlGuiWindow::cleanupActions ( )
inherited

Cleanup unwanted actions from action collection.

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

◆ closeEvent()

void Digikam::ImportUI::closeEvent ( QCloseEvent *  e)
overrideprotected

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

◆ downloadSettings()

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

◆ enableZoomMinusAction()

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

◆ enableZoomPlusAction()

void Digikam::ImportUI::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().

◆ getCameraThumbsCtrl()

CameraThumbsCtrl * Digikam::ImportUI::getCameraThumbsCtrl ( ) const

◆ infoIface()

DInfoInterface* Digikam::ImportUI::infoIface ( DPluginAction * const  ac)
inlineoverridevirtual

Return the interface instance to access to items information.

Implements Digikam::DXmlGuiWindow.

◆ instance()

◆ isBusy()

bool Digikam::ImportUI::isBusy ( ) const

◆ isClosed()

bool Digikam::ImportUI::isClosed ( ) const

◆ keyPressEvent()

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

◆ moveEvent()

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

◆ openHandbook()

void Digikam::DXmlGuiWindow::openHandbook ( )
staticinherited

◆ readFullScreenSettings()

◆ registerExtraPluginsActions()

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

◆ registerPluginsActions()

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

◆ setFullScreenOptions()

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

◆ setupIconTheme()

void Digikam::DXmlGuiWindow::setupIconTheme ( )
staticinherited

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

◆ showMenuBarAction()

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

◆ showStatusBarAction()

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

◆ signalEscapePressed

void Digikam::ImportUI::signalEscapePressed ( )
signal

◆ signalLastDestination

void Digikam::ImportUI::signalLastDestination ( const QUrl &  )
signal

◆ signalNewSelection

void Digikam::ImportUI::signalNewSelection ( bool  )
signal

◆ signalPreviewRequested

void Digikam::ImportUI::signalPreviewRequested ( const CamItemInfo ,
bool   
)
signal

◆ signalWindowHasMoved

void Digikam::ImportUI::signalWindowHasMoved ( )
signal

Referenced by moveEvent().

◆ slotDownload

◆ slotUploadItems

Member Data Documentation

◆ m_animLogo


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