• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

Digikam::AbstractAlbumTreeView

Digikam::AbstractAlbumTreeView Class Reference

#include <albumtreeview.h>

Inheritance diagram for Digikam::AbstractAlbumTreeView:
Inheritance graph
[legend]

List of all members.

Public Slots

void setSearchTextSettings (const SearchTextSettings &settings)

Signals

void currentAlbumChanged (Album *currentAlbum)
void filteringDone (bool atLeastOneMatch)
void selectedAlbumsChanged (QList< Album * > selectedAlbums)

Public Member Functions

 AbstractAlbumTreeView (AbstractSpecificAlbumModel *model, QWidget *parent=0)
AlbumFilterModel * albumFilterModel () const
AbstractSpecificAlbumModel * albumModel () const
QModelIndex indexVisuallyAt (const QPoint &p)
void setSelectOnSingleClick (bool doThat)

Protected Slots

void slotCurrentChanged ()
void slotFilterChanged ()
virtual void slotRootAlbumAvailable ()
void slotSelectionChanged ()

Protected Member Functions

bool checkExpandedState (const QModelIndex &index)
void dragEnterEvent (QDragEnterEvent *e)
void dragLeaveEvent (QDragLeaveEvent *e)
void dragMoveEvent (QDragMoveEvent *e)
void dropEvent (QDropEvent *e)
virtual void middleButtonPressed (Album *a)
void mousePressEvent (QMouseEvent *e)

Protected Attributes

AlbumFilterModel * m_albumFilterModel
AbstractSpecificAlbumModel * m_albumModel
bool m_checkOnMiddleClick

Detailed Description

Definition at line 39 of file albumtreeview.h.


Constructor & Destructor Documentation

Digikam::AbstractAlbumTreeView::AbstractAlbumTreeView ( AbstractSpecificAlbumModel *  model,
QWidget *  parent = 0 
) [explicit]

Definition at line 57 of file albumtreeview.cpp.


Member Function Documentation

AlbumFilterModel * Digikam::AbstractAlbumTreeView::albumFilterModel (  )  const

Definition at line 89 of file albumtreeview.cpp.

AbstractSpecificAlbumModel * Digikam::AbstractAlbumTreeView::albumModel (  )  const

Reimplemented in Digikam::AlbumTreeView, Digikam::TagTreeView, Digikam::SearchTreeView, and Digikam::DateAlbumTreeView.

Definition at line 84 of file albumtreeview.cpp.

bool Digikam::AbstractAlbumTreeView::checkExpandedState ( const QModelIndex &  index  )  [protected]

Definition at line 139 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::currentAlbumChanged ( Album *  currentAlbum  )  [signal]

Emitted when the currently selected album changes.

void Digikam::AbstractAlbumTreeView::dragEnterEvent ( QDragEnterEvent *  e  )  [protected]

Definition at line 202 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::dragLeaveEvent ( QDragLeaveEvent *  e  )  [protected]

Definition at line 225 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::dragMoveEvent ( QDragMoveEvent *  e  )  [protected]

Definition at line 207 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::dropEvent ( QDropEvent *  e  )  [protected]

Definition at line 230 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::filteringDone ( bool  atLeastOneMatch  )  [signal]

Emitted when search text settings have been changed.

QModelIndex Digikam::AbstractAlbumTreeView::indexVisuallyAt ( const QPoint &  p  ) 

This is a combination of indexAt() checked with visualRect().

p must be in the viewport currently. Decoration will not be included. Suitable for mouse click positions.

Definition at line 99 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::middleButtonPressed ( Album *  a  )  [protected, virtual]

Reimplemented in Digikam::AbstractCheckableAlbumTreeView.

Definition at line 197 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::mousePressEvent ( QMouseEvent *  e  )  [protected]

Definition at line 173 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::selectedAlbumsChanged ( QList< Album * >  selectedAlbums  )  [signal]

Emitted when the current selection changes. Use currentChanged unless in multi-selection mode.

void Digikam::AbstractAlbumTreeView::setSearchTextSettings ( const SearchTextSettings &  settings  )  [slot]

Definition at line 158 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::setSelectOnSingleClick ( bool  doThat  ) 

Enable expanding of tree items on single click on the item (default: on).

Definition at line 94 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::slotCurrentChanged (  )  [protected, slot]

Definition at line 163 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::slotFilterChanged (  )  [protected, slot]

Definition at line 109 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::slotRootAlbumAvailable (  )  [protected, virtual, slot]

Definition at line 134 of file albumtreeview.cpp.

void Digikam::AbstractAlbumTreeView::slotSelectionChanged (  )  [protected, slot]

Definition at line 168 of file albumtreeview.cpp.


Member Data Documentation

AlbumFilterModel* Digikam::AbstractAlbumTreeView::m_albumFilterModel [protected]

Definition at line 94 of file albumtreeview.h.

AbstractSpecificAlbumModel* Digikam::AbstractAlbumTreeView::m_albumModel [protected]

Definition at line 93 of file albumtreeview.h.

bool Digikam::AbstractAlbumTreeView::m_checkOnMiddleClick [protected]

Definition at line 96 of file albumtreeview.h.


The documentation for this class was generated from the following files:
  • albumtreeview.h
  • albumtreeview.cpp

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • digikam
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal