33 #ifndef CXTIMEDALGORITHMPROGRESSBAR_H_
34 #define CXTIMEDALGORITHMPROGRESSBAR_H_
36 #include "cxResourceWidgetsExport.h"
38 #include <boost/shared_ptr.hpp>
47 class DisplayTimerWidget;
78 void setShowTextLabel(
bool on);
81 void attach(std::set<cx::TimedAlgorithmPtr> threads);
84 void detach(std::set<cx::TimedAlgorithmPtr> threads);
88 void algorithmStartedSlot(
int maxSteps);
89 void algorithmFinishedSlot();
90 void productChangedSlot();
94 std::set<TimedAlgorithmPtr> mAlgorithm;
95 QProgressBar* mProgressBar;
97 std::set<TimedBaseAlgorithm*> mStartedAlgos;
Base class for algorithms that wants to time their execution.
Show progress for a TimedBaseAlgorithm.
boost::shared_ptr< class TimedBaseAlgorithm > TimedAlgorithmPtr
virtual ~TimedAlgorithmProgressBar()