◆ DTrashColumn
Enumerator |
---|
DTrashThumb | |
DTrashRelPath | |
DTrashTimeStamp | |
DTrashNumCol | |
◆ DTrashItemModel()
Digikam::DTrashItemModel::DTrashItemModel |
( |
QObject *const |
parent = nullptr | ) |
|
|
explicit |
◆ ~DTrashItemModel()
Digikam::DTrashItemModel::~DTrashItemModel |
( |
| ) |
|
|
override |
◆ allItems()
returns a list of all items in model
◆ append
void Digikam::DTrashItemModel::append |
( |
const DTrashItemInfo & |
itemInfo | ) |
|
|
slot |
appends item to model data and informs the view
- Parameters
-
◆ changeThumbSize()
void Digikam::DTrashItemModel::changeThumbSize |
( |
int |
size | ) |
|
Changes the thumbnail size.
- Parameters
-
◆ clearCurrentData()
void Digikam::DTrashItemModel::clearCurrentData |
( |
| ) |
|
Clears all data from model and informs the view.
◆ columnCount()
int Digikam::DTrashItemModel::columnCount |
( |
const QModelIndex & |
| ) |
const |
|
override |
◆ data()
QVariant Digikam::DTrashItemModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ dataChange
void Digikam::DTrashItemModel::dataChange |
( |
| ) |
|
|
signal |
◆ headerData()
QVariant Digikam::DTrashItemModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ indexForItem()
QModelIndex Digikam::DTrashItemModel::indexForItem |
( |
const DTrashItemInfo & |
itemInfo | ) |
const |
◆ isEmpty()
bool Digikam::DTrashItemModel::isEmpty |
( |
| ) |
|
- Returns
- true if there is no data in the model
◆ itemForIndex()
DTrashItemInfo Digikam::DTrashItemModel::itemForIndex |
( |
const QModelIndex & |
index | ) |
|
◆ itemsForIndexes()
returns DTrashItemInfoList for given indexes in model
◆ loadItemsForCollection()
void Digikam::DTrashItemModel::loadItemsForCollection |
( |
const QString & |
colPath | ) |
|
◆ pixmapForItem()
bool Digikam::DTrashItemModel::pixmapForItem |
( |
const QString & |
path, |
|
|
QPixmap & |
pix |
|
) |
| const |
loads a thumbnail for item in trash for showing
- Parameters
-
path | path of image in trash |
pix | Pixmap to fill |
- Returns
- true if there is an available thumbnail
Referenced by data().
◆ refreshLayout
void Digikam::DTrashItemModel::refreshLayout |
( |
| ) |
|
|
slot |
refreshes the view layout
◆ refreshThumbnails
void Digikam::DTrashItemModel::refreshThumbnails |
( |
const LoadingDescription & |
desc, |
|
|
const QPixmap & |
pix |
|
) |
| |
|
slot |
◆ removeItems
void Digikam::DTrashItemModel::removeItems |
( |
const QModelIndexList & |
indexes | ) |
|
|
slot |
◆ rowCount()
int Digikam::DTrashItemModel::rowCount |
( |
const QModelIndex & |
| ) |
const |
|
override |
QAbstractItemModel interface.
◆ sort()
void Digikam::DTrashItemModel::sort |
( |
int |
column, |
|
|
Qt::SortOrder |
order = Qt::AscendingOrder |
|
) |
| |
|
override |
The documentation for this class was generated from the following files: