 |
QtPass
1.3.3
Multi-platform GUI for pass, the standard unix password manager.
|
Go to the documentation of this file.
5 #include <QSortFilterProxyModel>
11 class QFileSystemModel;
23 bool ShowThis(
const QModelIndex)
const;
25 QVariant
data(
const QModelIndex &index,
int role)
const override;
26 bool lessThan(
const QModelIndex &source_left,
27 const QModelIndex &source_right)
const override;
33 Qt::ItemFlags
flags(
const QModelIndex &index)
const override;
35 QMimeData *
mimeData(
const QModelIndexList &indexes)
const override;
37 int column,
const QModelIndex &parent)
const override;
39 int column,
const QModelIndex &parent)
override;
52 #endif // STOREMODEL_H_
bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override
StoreModel::dropMimeData.
Qt::DropActions supportedDragActions() const override
StoreModel::supportedDragActions enable drag.
QStringList mimeTypes() const override
StoreModel::mimeTypes.
bool ShowThis(const QModelIndex) const
StoreModel::ShowThis should a row be shown, based on our search criteria.
Qt::ItemFlags flags(const QModelIndex &index) const override
StoreModel::flags.
QVariant data(const QModelIndex &index, int role) const override
StoreModel::data don't show the .gpg at the end of a file.
The QSortFilterProxyModel for handling filesystem searches.
bool canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const override
StoreModel::canDropMimeData.
Qt::DropActions supportedDropActions() const override
StoreModel::supportedDropActions enable drop.
QMimeData * mimeData(const QModelIndexList &indexes) const override
StoreModel::mimeData.
void setModelAndStore(QFileSystemModel *sourceModel, QString passStore)
StoreModel::setModelAndStore update the source model and store.
StoreModel()
StoreModel::StoreModel SubClass of QSortFilterProxyModel via http://www.qtcentre.org/threads/46471-QT...
bool lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const override
StoreModel::lessThan.
bool filterAcceptsRow(int, const QModelIndex &) const override
StoreModel::filterAcceptsRow should row be shown, wrapper for StoreModel::ShowThis method.