13class AutomationTracklistProxyModel :
public QSortFilterProxyModel
18 bool showOnlyVisible READ showOnlyVisible WRITE setShowOnlyVisible NOTIFY
19 showOnlyVisibleChanged)
21 bool showOnlyCreated READ showOnlyCreated WRITE setShowOnlyCreated NOTIFY
22 showOnlyCreatedChanged)
25 explicit AutomationTracklistProxyModel (QObject * parent =
nullptr);
27 bool showOnlyVisible ()
const;
28 void setShowOnlyVisible (
bool show);
29 Q_SIGNAL
void showOnlyVisibleChanged ();
31 bool showOnlyCreated ()
const;
32 void setShowOnlyCreated (
bool show);
33 Q_SIGNAL
void showOnlyCreatedChanged ();
36 bool filterAcceptsRow (
int source_row,
const QModelIndex &source_parent)
39 void setSourceModel (QAbstractItemModel * sourceModel)
override;
42 bool show_only_visible_ =
true;
43 bool show_only_created_ =
true;