QtPass 1.4.0
Multi-platform GUI for pass, the standard unix password manager.
|
The QSortFilterProxyModel for handling filesystem searches. More...
#include <storemodel.h>
Public Member Functions | |
StoreModel () | |
StoreModel::StoreModel SubClass of QSortFilterProxyModel via http://www.qtcentre.org/threads/46471-QTreeView-Filter. | |
bool | filterAcceptsRow (int, const QModelIndex &) const override |
StoreModel::filterAcceptsRow should row be shown, wrapper for StoreModel::ShowThis method. | |
bool | ShowThis (const QModelIndex) const |
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. | |
QVariant | data (const QModelIndex &index, int role) const override |
StoreModel::data don't show the .gpg at the end of a file. | |
bool | lessThan (const QModelIndex &source_left, const QModelIndex &source_right) const override |
StoreModel::lessThan. | |
Qt::DropActions | supportedDropActions () const override |
StoreModel::supportedDropActions enable drop. | |
Qt::DropActions | supportedDragActions () const override |
StoreModel::supportedDragActions enable drag. | |
Qt::ItemFlags | flags (const QModelIndex &index) const override |
StoreModel::flags. | |
QStringList | mimeTypes () const override |
StoreModel::mimeTypes. | |
QMimeData * | mimeData (const QModelIndexList &indexes) const override |
StoreModel::mimeData. | |
bool | canDropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const override |
StoreModel::canDropMimeData. | |
bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override |
StoreModel::dropMimeData. | |
The QSortFilterProxyModel for handling filesystem searches.
Definition at line 11 of file storemodel.h.
StoreModel::StoreModel | ( | ) |
StoreModel::StoreModel SubClass of QSortFilterProxyModel via http://www.qtcentre.org/threads/46471-QTreeView-Filter.
Definition at line 34 of file storemodel.cpp.
|
override |
data | |
action | |
row | |
column | |
parent |
Definition at line 189 of file storemodel.cpp.
|
override |
StoreModel::data don't show the .gpg at the end of a file.
index | |
role |
Definition at line 97 of file storemodel.cpp.
|
override |
data | |
action | |
row | |
column | |
parent |
Definition at line 238 of file storemodel.cpp.
|
override |
StoreModel::filterAcceptsRow should row be shown, wrapper for StoreModel::ShowThis method.
sourceRow | |
sourceParent |
Definition at line 43 of file storemodel.cpp.
|
override |
|
override |
|
override |
indexes |
Definition at line 158 of file storemodel.cpp.
|
override |
void StoreModel::setModelAndStore | ( | QFileSystemModel * | sourceModel, |
QString | passStore | ||
) |
StoreModel::setModelAndStore update the source model and store.
sourceModel | |
passStore |
Definition at line 84 of file storemodel.cpp.
bool StoreModel::ShowThis | ( | const QModelIndex | index | ) | const |
StoreModel::ShowThis should a row be shown, based on our search criteria.
index |
Definition at line 55 of file storemodel.cpp.
|
override |
StoreModel::supportedDragActions enable drag.
Definition at line 125 of file storemodel.cpp.
|
override |
StoreModel::supportedDropActions enable drop.
Definition at line 117 of file storemodel.cpp.