digiKam
Loading...
Searching...
No Matches
Digikam::DWItemDelegatePrivate Class Reference

#include <dwitemdelegate_p.h>

+ Inheritance diagram for Digikam::DWItemDelegatePrivate:

Public Slots

void initializeModel (const QModelIndex &parent=QModelIndex())
 
void slotDWDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)
 
void slotDWLayoutChanged ()
 
void slotDWModelReset ()
 
void slotDWRowsAboutToBeRemoved (const QModelIndex &parent, int start, int end)
 
void slotDWRowsInserted (const QModelIndex &parent, int start, int end)
 
void slotDWRowsRemoved (const QModelIndex &parent, int start, int end)
 
void slotDWSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 

Public Member Functions

 DWItemDelegatePrivate (DWItemDelegate *const qq, QObject *const parent=nullptr)
 
QStyleOptionViewItem optionView (const QModelIndex &index)
 
void updateRowRange (const QModelIndex &parent, int start, int end, bool isRemoving)
 
 ~DWItemDelegatePrivate () override
 

Public Attributes

QAbstractItemView * itemView = nullptr
 
QAbstractItemModel * model = nullptr
 
DWItemDelegateq = nullptr
 
QItemSelectionModel * selectionModel = nullptr
 
DWItemDelegatePoolwidgetPool = nullptr
 

Protected Member Functions

bool eventFilter (QObject *watched, QEvent *event) override
 

Constructor & Destructor Documentation

◆ DWItemDelegatePrivate()

Digikam::DWItemDelegatePrivate::DWItemDelegatePrivate ( DWItemDelegate *const  qq,
QObject *const  parent = nullptr 
)
explicit

◆ ~DWItemDelegatePrivate()

Digikam::DWItemDelegatePrivate::~DWItemDelegatePrivate ( )
override

References widgetPool.

Member Function Documentation

◆ eventFilter()

◆ initializeModel

void Digikam::DWItemDelegatePrivate::initializeModel ( const QModelIndex &  parent = QModelIndex())
slot

◆ optionView()

QStyleOptionViewItem Digikam::DWItemDelegatePrivate::optionView ( const QModelIndex &  index)
inline

◆ slotDWDataChanged

void Digikam::DWItemDelegatePrivate::slotDWDataChanged ( const QModelIndex &  topLeft,
const QModelIndex &  bottomRight 
)
slot

◆ slotDWLayoutChanged

void Digikam::DWItemDelegatePrivate::slotDWLayoutChanged ( )
slot

◆ slotDWModelReset

void Digikam::DWItemDelegatePrivate::slotDWModelReset ( )
slot

◆ slotDWRowsAboutToBeRemoved

void Digikam::DWItemDelegatePrivate::slotDWRowsAboutToBeRemoved ( const QModelIndex &  parent,
int  start,
int  end 
)
slot

References updateRowRange().

Referenced by eventFilter().

◆ slotDWRowsInserted

void Digikam::DWItemDelegatePrivate::slotDWRowsInserted ( const QModelIndex &  parent,
int  start,
int  end 
)
slot

References model, and updateRowRange().

Referenced by eventFilter().

◆ slotDWRowsRemoved

void Digikam::DWItemDelegatePrivate::slotDWRowsRemoved ( const QModelIndex &  parent,
int  start,
int  end 
)
slot

References model, and updateRowRange().

Referenced by eventFilter().

◆ slotDWSelectionChanged

void Digikam::DWItemDelegatePrivate::slotDWSelectionChanged ( const QItemSelection &  selected,
const QItemSelection &  deselected 
)
slot

◆ updateRowRange()

Member Data Documentation

◆ itemView

◆ model

◆ q

DWItemDelegate* Digikam::DWItemDelegatePrivate::q = nullptr

Referenced by eventFilter().

◆ selectionModel

QItemSelectionModel* Digikam::DWItemDelegatePrivate::selectionModel = nullptr

Referenced by eventFilter().

◆ widgetPool


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