/** -*- C++ -*- @file adept/acqprogresswidget.h @author Peter Rockai @todo Close button! */ #ifndef PROGRESSWIDGET_H # define PROGRESSWIDGET_H #include #include namespace adept { class AcqProgressWidget : public AcqProgressWidgetUi { Q_OBJECT public: AcqProgressWidget (TQWidget *parent = 0, const char *name = 0); aptFront::SharedPtr callback() { return m_statusRef.data(); }; public slots: void statusChange( AcqStatus::Status ); void setProgress( int ); protected: aptFront::SharedPtr m_statusRef; }; } #endif /* ifndef PROGRESSWIDGET_H */