1#ifndef SUBTREEPROXYMODEL_H
2#define SUBTREEPROXYMODEL_H
6#include <QSortFilterProxyModel>
22 public QSortFilterProxyModel,
33 explicit subtree_proxy (
const QString & Name,
const QStringList & Default,
34 QObject * parent =
nullptr );
47 bool filterAcceptsRow (
int source_row,
const QModelIndex & source_parent )
const;
50 const QModelIndex & left,
const QModelIndex & right )
const;
56 int source_row,
const QModelIndex & source_parent )
const;
treenode * getnode(const QModelIndex &index) const
bool this_apply_default_filter
void slot_create_object(QString const &src, dref const &obj)
bool lessThan(const QModelIndex &left, const QModelIndex &right) const
void slot_remove_object(QString const &src, dref const &obj)
bool ApplyDefaultFilter(int source_row, const QModelIndex &source_parent) const
void slot_update_object(QString const &src, dref const &obj)
void slot_rename_object(QString const &src, dref const &obj)
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
QStringList this_default_filter
Window this_window_config
QString this_gui_windowname
subtree_proxy(const QString &Name, const QStringList &Default, QObject *parent=nullptr)
Including DBE.
bool ApplyUserFilter(int source_row, const QModelIndex &source_parent) const
#define MODEL_COMMON_IMPL_REQ_DEF(classname)