|
QtPass 1.5.1
Multi-platform GUI for pass, the standard unix password manager.
|
The QSortFilterProxyModel for handling filesystem searches. More...
#include <storemodel.h>
Inheritance diagram for StoreModel:
Collaboration diagram for StoreModel:Public Member Functions | |
| StoreModel () | |
| StoreModel::StoreModel SubClass of QSortFilterProxyModel via http://www.qtcentre.org/threads/46471-QTreeView-Filter. | |
| auto | filterAcceptsRow (int, const QModelIndex &) const -> bool override |
| StoreModel::filterAcceptsRow should row be shown, wrapper for StoreModel::ShowThis method. | |
| auto | ShowThis (const QModelIndex) const -> bool |
| StoreModel::ShowThis should a row be shown, based on our search criteria. | |
| void | setModelAndStore (QFileSystemModel *sourceModel, QString passStore) |
| StoreModel::setModelAndStore update the source model and store. | |
| auto | data (const QModelIndex &index, int role) const -> QVariant override |
| StoreModel::data don't show the .gpg at the end of a file. | |
| auto | lessThan (const QModelIndex &source_left, const QModelIndex &source_right) const -> bool override |
| StoreModel::lessThan. | |
| auto | supportedDropActions () const -> Qt::DropActions override |
| StoreModel::supportedDropActions enable drop. | |
| auto | supportedDragActions () const -> Qt::DropActions override |
| StoreModel::supportedDragActions enable drag. | |
| auto | flags (const QModelIndex &index) const -> Qt::ItemFlags override |
| StoreModel::flags. | |
| auto | mimeTypes () const -> QStringList override |
| StoreModel::mimeTypes. | |
| auto | mimeData (const QModelIndexList &indexes) const -> QMimeData *override |
| StoreModel::mimeData. | |
| auto | canDropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const -> bool override |
| StoreModel::canDropMimeData. | |
| auto | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) -> bool override |
| StoreModel::dropMimeData. | |
The QSortFilterProxyModel for handling filesystem searches.
Definition at line 13 of file storemodel.h.
| StoreModel::StoreModel | ( | ) |
StoreModel::StoreModel SubClass of QSortFilterProxyModel via http://www.qtcentre.org/threads/46471-QTreeView-Filter.
Definition at line 37 of file storemodel.cpp.
|
override |
|
override |
StoreModel::data don't show the .gpg at the end of a file.
| index | |
| role |
Definition at line 104 of file storemodel.cpp.
Here is the call graph for this function:
|
override |
| data | |
| action | |
| row | |
| column | |
| parent |
Definition at line 247 of file storemodel.cpp.
Here is the call graph for this function:
|
override |
StoreModel::filterAcceptsRow should row be shown, wrapper for StoreModel::ShowThis method.
| sourceRow | |
| sourceParent |
Definition at line 46 of file storemodel.cpp.
|
override |
|
override |
|
override |
|
override |
| void StoreModel::setModelAndStore | ( | QFileSystemModel * | sourceModel, |
| QString | passStore | ||
| ) |
StoreModel::setModelAndStore update the source model and store.
| sourceModel | |
| passStore |
Definition at line 91 of file storemodel.cpp.
Here is the caller graph for this function:| auto StoreModel::ShowThis | ( | const QModelIndex | index | ) | const -> bool |
StoreModel::ShowThis should a row be shown, based on our search criteria.
| index |
Definition at line 59 of file storemodel.cpp.
Here is the call graph for this function:
|
override |
StoreModel::supportedDragActions enable drag.
Definition at line 133 of file storemodel.cpp.
|
override |
StoreModel::supportedDropActions enable drop.
Definition at line 125 of file storemodel.cpp.