use Qt Signals & Slots for progress tracking
authorDiane Trout <diane@caltech.edu>
Sat, 3 Jun 2006 01:58:40 +0000 (01:58 +0000)
committerDiane Trout <diane@caltech.edu>
Sat, 3 Jun 2006 01:58:40 +0000 (01:58 +0000)
commit9b3c74c91e20cfa82a3f4f093ae676a10b8e78d0
tree7c6539b3b0344e9ca465b827d498e7d0db9052e0
parent9ac241f41aa5676b65d569083407d9e00dc9169b
use Qt Signals & Slots for progress tracking
this replaces my first attempt that used boost signals (which is now
removed from the repository).

Mussa and NwayPaths now inherit from QObject and can emit a progress
signal to give some indication of how far they've gotten at long running
tasks. Though I don't have a solution for long running seqcomps yet.

Also instead of hard coding a % constant to cut down on the number of calls
to emit the signal, I should use some kind of timer.
13 files changed:
alg/CMakeLists.txt
alg/flp.cpp
alg/flp.hpp
alg/flp_seqcomp.cpp
alg/mussa.cpp
alg/mussa.hpp
alg/nway_other.cpp
alg/nway_paths.cpp
alg/nway_paths.hpp
py/mussa.cpp
py/nway_paths.cpp
qui/MussaWindow.cpp
qui/MussaWindow.hpp