|
QPersistentModelIndex | bestRepresentativeIndexFromList (const QList< QPersistentModelIndex > &list, const int sortKey) override |
|
bool | itemCoordinates (const QModelIndex &index, GeoCoordinates *const coordinates) const override |
|
virtual PropertyFlags | itemFlags (const QModelIndex &index) const |
|
| ItemGPSModelHelper (QStandardItemModel *const itemModel, QObject *const parent=nullptr) |
|
virtual bool | itemIcon (const QModelIndex &index, QPoint *const offset, QSize *const size, QPixmap *const pixmap, QUrl *const url) const |
| these are necessary for ungrouped models More...
|
|
QAbstractItemModel * | model () const override |
| these are necessary for grouped and ungrouped models More...
|
|
virtual PropertyFlags | modelFlags () const |
|
virtual void | onIndicesClicked (const QList< QPersistentModelIndex > &clickedIndices) |
|
virtual void | onIndicesMoved (const QList< QPersistentModelIndex > &movedIndices, const GeoCoordinates &targetCoordinates, const QPersistentModelIndex &targetSnapIndex) |
|
QPixmap | pixmapFromRepresentativeIndex (const QPersistentModelIndex &index, const QSize &size) override |
| these are used by MarkerModel for grouped models More...
|
|
QItemSelectionModel * | selectionModel () const override |
|
virtual void | snapItemsTo (const QModelIndex &targetIndex, const QList< QModelIndex > &snappedIndices) |
|
void | snapItemsTo (const QModelIndex &targetIndex, const QList< QPersistentModelIndex > &snappedIndices) |
|
| ~ItemGPSModelHelper () override |
|
◆ PropertyFlag
Enumerator |
---|
FlagNull | |
FlagVisible | |
FlagMovable | |
FlagSnaps | |
◆ ItemGPSModelHelper()
Digikam::ItemGPSModelHelper::ItemGPSModelHelper |
( |
QStandardItemModel *const |
itemModel, |
|
|
QObject *const |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~ItemGPSModelHelper()
Digikam::ItemGPSModelHelper::~ItemGPSModelHelper |
( |
| ) |
|
|
override |
◆ bestRepresentativeIndexFromList()
QPersistentModelIndex Digikam::ItemGPSModelHelper::bestRepresentativeIndexFromList |
( |
const QList< QPersistentModelIndex > & |
list, |
|
|
const int |
sortKey |
|
) |
| |
|
overridevirtual |
◆ itemCoordinates()
bool Digikam::ItemGPSModelHelper::itemCoordinates |
( |
const QModelIndex & |
index, |
|
|
GeoCoordinates *const |
coordinates |
|
) |
| const |
|
overridevirtual |
◆ itemFlags()
GeoModelHelper::PropertyFlags Digikam::GeoModelHelper::itemFlags |
( |
const QModelIndex & |
index | ) |
const |
|
virtualinherited |
◆ itemIcon()
bool Digikam::GeoModelHelper::itemIcon |
( |
const QModelIndex & |
index, |
|
|
QPoint *const |
offset, |
|
|
QSize *const |
size, |
|
|
QPixmap *const |
pixmap, |
|
|
QUrl *const |
url |
|
) |
| const |
|
virtualinherited |
◆ model()
QAbstractItemModel * Digikam::ItemGPSModelHelper::model |
( |
| ) |
const |
|
overridevirtual |
◆ modelFlags()
GeoModelHelper::PropertyFlags Digikam::GeoModelHelper::modelFlags |
( |
| ) |
const |
|
virtualinherited |
◆ onIndicesClicked()
void Digikam::GeoModelHelper::onIndicesClicked |
( |
const QList< QPersistentModelIndex > & |
clickedIndices | ) |
|
|
virtualinherited |
◆ onIndicesMoved()
void Digikam::GeoModelHelper::onIndicesMoved |
( |
const QList< QPersistentModelIndex > & |
movedIndices, |
|
|
const GeoCoordinates & |
targetCoordinates, |
|
|
const QPersistentModelIndex & |
targetSnapIndex |
|
) |
| |
|
virtualinherited |
◆ pixmapFromRepresentativeIndex()
QPixmap Digikam::ItemGPSModelHelper::pixmapFromRepresentativeIndex |
( |
const QPersistentModelIndex & |
index, |
|
|
const QSize & |
size |
|
) |
| |
|
overridevirtual |
◆ selectionModel()
QItemSelectionModel * Digikam::ItemGPSModelHelper::selectionModel |
( |
| ) |
const |
|
overridevirtual |
◆ signalModelChangedDrastically
void Digikam::GeoModelHelper::signalModelChangedDrastically |
( |
| ) |
|
|
signalinherited |
◆ signalThumbnailAvailableForIndex
void Digikam::GeoModelHelper::signalThumbnailAvailableForIndex |
( |
const QPersistentModelIndex & |
index, |
|
|
const QPixmap & |
pixmap |
|
) |
| |
|
signalinherited |
◆ signalVisibilityChanged
void Digikam::GeoModelHelper::signalVisibilityChanged |
( |
| ) |
|
|
signalinherited |
◆ snapItemsTo() [1/2]
void Digikam::GeoModelHelper::snapItemsTo |
( |
const QModelIndex & |
targetIndex, |
|
|
const QList< QModelIndex > & |
snappedIndices |
|
) |
| |
|
virtualinherited |
◆ snapItemsTo() [2/2]
void Digikam::GeoModelHelper::snapItemsTo |
( |
const QModelIndex & |
targetIndex, |
|
|
const QList< QPersistentModelIndex > & |
snappedIndices |
|
) |
| |
|
inherited |
The documentation for this class was generated from the following files: