20#include <QItemSelectionModel>
37 QModelIndex
toSource(
const QModelIndex& targetIndex)
const;
38 QModelIndex
toTarget(
const QModelIndex& sourceIndex)
const;
46 void slotSourceModelReset();
47 void slotSourceCurrentChanged(
const QModelIndex& current,
const QModelIndex& previous);
52 void slotSourceSelectionChanged(
const QItemSelection& selected,
const QItemSelection& deselected);
53 void slotTargetCurrentChanged(
const QModelIndex& current,
const QModelIndex& previous);
58 void slotTargetSelectionChanged(
const QItemSelection& selected,
const QItemSelection& deselected);
59 void slotTargetColumnsInserted(
const QModelIndex& parent,
int start,
int end);
60 void slotTargetModelRowsInserted(
const QModelIndex& parent,
int start,
int end);
61 void slotTargetModelReset();
62 void slotDoInitialSync();
71 const QScopedPointer<Private> d;
Definition tableview_selection_model_syncer.h:29
~TableViewSelectionModelSyncer() override
Definition tableview_selection_model_syncer.cpp:79
void slotSetActive(const bool isActive)
Definition tableview_selection_model_syncer.cpp:302
QModelIndex toSource(const QModelIndex &targetIndex) const
Definition tableview_selection_model_syncer.cpp:83
int targetModelColumnCount() const
Definition tableview_selection_model_syncer.cpp:93
QItemSelection itemSelectionToTarget(const QItemSelection &selection) const
Definition tableview_selection_model_syncer.cpp:178
QItemSelection itemSelectionToSource(const QItemSelection &selection) const
Definition tableview_selection_model_syncer.cpp:154
QModelIndex toTarget(const QModelIndex &sourceIndex) const
Definition tableview_selection_model_syncer.cpp:88
QItemSelection targetIndexToRowItemSelection(const QModelIndex &targetIndex) const
Definition tableview_selection_model_syncer.cpp:98
Definition tableview_shared.h:35
Definition datefolderview.cpp:34