We finally got a nice solution to synchronize multiple views or whatevers[tm] even...
authorMarcus Eggenberger <egs@quassel-irc.org>
Tue, 23 Oct 2007 19:29:01 +0000 (19:29 +0000)
committerMarcus Eggenberger <egs@quassel-irc.org>
Tue, 23 Oct 2007 19:29:01 +0000 (19:29 +0000)
commit974b7adc16b798eda66e1fff1442b73b748f12f9
tree0c9511f983aca9bcae56343cb15af4e29c4e03a4
parent748f25bbae0e0ca8df58ec69df8d19c84ae77252
We finally got a nice solution to synchronize multiple views or whatevers[tm] even though those views are connected to proxymodels and therefore cannot share SelectionModels. Usage:
Client::bufferModel()->selectionModelSynchronizer()->addSelectionModel(mappedSelectionModel)
(maybe I'll make this a bit easier... ;))
12 files changed:
src/client/buffertreemodel.cpp
src/client/buffertreemodel.h
src/client/client.pri
src/client/mappedselectionmodel.cpp [new file with mode: 0644]
src/client/mappedselectionmodel.h [new file with mode: 0644]
src/client/selectionmodelsynchronizer.cpp [new file with mode: 0644]
src/client/selectionmodelsynchronizer.h [new file with mode: 0644]
src/qtui/bufferview.cpp
src/qtui/bufferview.h
src/qtui/bufferviewfilter.cpp
src/qtui/bufferviewfilter.h
src/qtui/mainwin.cpp