digiKam
Digikam::DWItemDelegatePrivate Class Reference
+ 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 q, 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
 
QAbstractItemModel * model
 
DWItemDelegateq
 
QItemSelectionModel * selectionModel
 
bool viewDestroyed
 
DWItemDelegatePoolwidgetPool
 

Protected Member Functions

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

Constructor & Destructor Documentation

◆ DWItemDelegatePrivate()

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

◆ ~DWItemDelegatePrivate()

Digikam::DWItemDelegatePrivate::~DWItemDelegatePrivate ( )
override

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

Referenced by eventFilter().

◆ selectionModel

QItemSelectionModel* Digikam::DWItemDelegatePrivate::selectionModel

Referenced by eventFilter().

◆ viewDestroyed

bool Digikam::DWItemDelegatePrivate::viewDestroyed

◆ widgetPool


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