do a better job of erasing the browser sidebars
authorDiane Trout <diane@caltech.edu>
Thu, 14 Sep 2006 21:07:59 +0000 (21:07 +0000)
committerDiane Trout <diane@caltech.edu>
Thu, 14 Sep 2006 21:07:59 +0000 (21:07 +0000)
commitd401c1bf5e4a8ff711670bcba672d79acaac8677
treeb86904482587f4f5b8f8b3491e3351afb0016585
parent0ee70e17d95f04242d4070c87371f58467bfba36
do a better job of erasing the browser sidebars
ticket:127
the previous sidebar clearing code didn't remove the spacers between
the various widgets. This will do that (though for some reason
QLayout::removeItem wouldn't properly destroy my widgets, I had to use
QLayout;:removeWidget on them, which is why there are two loops in
SequenceBrowserSidebar::clear.

I also defined some typedefs in SequenceBrowserSidebar to abstract out
the exact type being used to store the sidebar detail widgets
(SequenceDescription) in case I want to switch to a boost::shared_ptr in case I want to switch to a boost::shared_ptr in case I want to switch to a boost::shared_ptr in case I want to switch to a boost::shared_ptr
qui/seqbrowser/SequenceBrowserSidebar.cpp
qui/seqbrowser/SequenceBrowserSidebar.hpp
qui/seqbrowser/SequenceBrowserWidget.cpp