You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
689 B
31 lines
689 B
15 years ago
|
/** -*- C++ -*-
|
||
|
@file adept/acqprogresswidget.h
|
||
|
@author Peter Rockai <me@mornfall.net>
|
||
|
@todo Close button!
|
||
|
*/
|
||
|
|
||
|
#ifndef PROGRESSWIDGET_H
|
||
|
# define PROGRESSWIDGET_H
|
||
|
|
||
|
#include <adept/acqprogresswidgetui.h>
|
||
|
#include <adept/acqprogress.h>
|
||
|
|
||
|
namespace adept {
|
||
|
|
||
|
class AcqProgressWidget : public AcqProgressWidgetUi {
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
AcqProgressWidget (QWidget *parent = 0, const char *name = 0);
|
||
|
aptFront::SharedPtr<aptFront::ProgressCallback> callback() { return m_statusRef.data(); };
|
||
|
public slots:
|
||
|
void statusChange( AcqStatus::Status );
|
||
|
void setProgress( int );
|
||
|
protected:
|
||
|
aptFront::SharedPtr<AcqStatus> m_statusRef;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif /* ifndef PROGRESSWIDGET_H */
|
||
|
|