All the comparisons have been made before, and these models just contain the flag of comparing result. I've noticed this defect at the last moment.
There is a decision - maybe not very good but it works!
connect(tabview1->selectionModel(), SIGNAL(currentChanged(const QModelIndex &,const QModelIndex &)), tabview2, SLOT(setCurrentIndex(const QModelIndex &)));
connect(tabview2->selectionModel(), SIGNAL(currentChanged(const QModelIndex &,const QModelIndex &)), tabview1, SLOT(setCurrentIndex(const QModelIndex &)));
To copy to clipboard, switch view to plain text mode
A lot of thanks, everybody!
Bookmarks