![]() |
VPTissue Reference Manual
|
Custom proxy model to filter a QStandardModel with file names with time steps. More...
#include <StepFilterProxyModel.h>


Public Slots | |
| void | SetStepRanges (const QString &ranges) |
| Sets the ranges of the accepted steps of the first column. More... | |
Public Member Functions | |
| StepFilterProxyModel (QObject *parent=nullptr) | |
| Constructor. | |
| virtual | ~StepFilterProxyModel () |
| Destructor. | |
Protected Member Functions | |
| bool | filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const |
Custom proxy model to filter a QStandardModel with file names with time steps.
The source model is supposed to have a first column with an int as data (for the Qt::DisplayData role)
Definition at line 32 of file StepFilterProxyModel.h.
|
slot |
Sets the ranges of the accepted steps of the first column.
| ranges | The ranges-string, complying to the StepSelection::m_repeated_regex regex |
Definition at line 35 of file StepFilterProxyModel.cpp.
References SimPT_Shell::StepSelection::g_repeated_regex, and SimPT_Shell::StepSelection::SetSelectionText().
