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

Classes

class  Private
 

Public Slots

void slotApplicationSettingsChanged ()
 
void slotAssignColorLabel (int colorId)
 
void slotAssignPickLabel (int pickId)
 
void slotAssignRating (int rating)
 
void slotColorManagementOptionsChanged ()
 
void slotFileChanged (const QString &filePath)
 
void slotSetup () override
 
void slotThemeChanged ()
 

Signals

void signalWindowHasMoved ()
 

Public Member Functions

QList< QAction * > allActions () const
 
void applySettings ()
 
void cleanupActions ()
 
QString configGroupName () const
 
void createFullScreenAction (const QString &name)
 
void createHelpActions (bool coreOptions=true)
 
void createSettingsActions ()
 
void createSidebarActions ()
 
bool fullScreenIsActive () const
 
DInfoInterfaceinfoIface (DPluginAction *const ac) override
 
bool isEmpty () const
 
void loadItemInfos (const ItemInfoList &list, const ItemInfo &imageInfoCurrent, bool addTo)
 
void readFullScreenSettings (const KConfigGroup &group)
 
void refreshView ()
 
virtual void registerExtraPluginsActions (QString &)
 
void registerPluginsActions ()
 
void setConfigGroupName (const QString &name)
 
void setFullScreenOptions (int options)
 
void setLeftRightItems (const ItemInfoList &list, bool addTo)
 
void toggleTag (int tagID)
 
 ~LightTableWindow () override
 

Static Public Member Functions

static QAction * buildStdAction (StdActionType type, const QObject *const recvr, const char *const slot, QObject *const parent)
 
static LightTableWindowlightTableWindow ()
 
static bool lightTableWindowCreated ()
 
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 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
 
virtual void showThumbBar (bool visible)
 
virtual bool thumbbarVisibility () const
 

Protected Attributes

DLogoActionm_animLogo
 

Constructor & Destructor Documentation

◆ ~LightTableWindow()

Member Function Documentation

◆ allActions()

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

Return all actions from internal collection.

◆ applySettings()

◆ buildStdAction()

◆ cleanupActions()

void Digikam::DXmlGuiWindow::cleanupActions ( )
inherited

Cleanup unwanted actions from action collection.

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

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

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

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

◆ isEmpty()

◆ keyPressEvent()

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

◆ lightTableWindow()

◆ lightTableWindowCreated()

bool Digikam::LightTableWindow::lightTableWindowCreated ( )
static

◆ loadItemInfos()

void Digikam::LightTableWindow::loadItemInfos ( const ItemInfoList list,
const ItemInfo givenItemInfoCurrent,
bool  addTo 
)

We get here either

  • via CTRL+L (from the albumview) a) digikamapp.cpp: CTRL+key_L leads to slotImageLightTable()) b) digikamview.cpp: void ItemIconView::slotImageLightTable() calls d->iconView->insertToLightTable(list, info); c) albumiconview.cpp: AlbumIconView::insertToLightTable calls ltview->loadItemInfos(list, current);
  • via drag&drop, i.e. calls issued by the ...Dropped... routines

References Digikam::LightTableThumbBar::findItemByInfo(), Digikam::ItemInfo::id(), Digikam::ItemInfo::isNull(), Digikam::ItemCategorizedView::setCurrentWhenAvailable(), Digikam::LightTableThumbBar::setItems(), and Digikam::LightTableWindow::Private::thumbView.

Referenced by Digikam::ItemViewUtilities::insertToLightTable().

◆ moveEvent()

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

◆ openHandbook()

void Digikam::DXmlGuiWindow::openHandbook ( )
staticinherited

◆ readFullScreenSettings()

◆ refreshView()

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

◆ setFullScreenOptions()

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

◆ setLeftRightItems()

◆ 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

◆ showThumbBar()

void Digikam::DXmlGuiWindow::showThumbBar ( bool  visible)
protectedvirtualinherited

Re-implement this method if you want to manage thumbbar visibility in full-screen mode. By default this method do nothing.

◆ signalWindowHasMoved

void Digikam::LightTableWindow::signalWindowHasMoved ( )
signal

Referenced by moveEvent().

◆ slotApplicationSettingsChanged

◆ slotAssignColorLabel

void Digikam::LightTableWindow::slotAssignColorLabel ( int  colorId)
slot

◆ slotAssignPickLabel

void Digikam::LightTableWindow::slotAssignPickLabel ( int  pickId)
slot

◆ slotAssignRating

void Digikam::LightTableWindow::slotAssignRating ( int  rating)
slot

◆ slotClose

bool Digikam::DXmlGuiWindow::slotClose ( )
protectedslotinherited

◆ slotColorManagementOptionsChanged

◆ slotFileChanged

◆ slotSetup

void Digikam::LightTableWindow::slotSetup ( )
overrideslot

◆ slotThemeChanged

◆ thumbbarVisibility()

bool Digikam::DXmlGuiWindow::thumbbarVisibility ( ) const
protectedvirtualinherited

Re-implement this method if managed window has a thumbbar. This must return visibility state of it.

◆ toggleTag()

void Digikam::LightTableWindow::toggleTag ( int  tagID)

Member Data Documentation

◆ m_animLogo


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