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.
32 lines
704 B
32 lines
704 B
/** -*- 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
|
|
TQ_OBJECT
|
|
public:
|
|
AcqProgressWidget (TQWidget *parent = 0, const char *name = 0);
|
|
aptFront::SharedPtr<aptFront::ProgressCallback> callback() { return m_statusRef.data(); };
|
|
public slots:
|
|
void statusChange( AcqStatus::tqStatus );
|
|
void setProgress( int );
|
|
protected:
|
|
aptFront::SharedPtr<AcqStatus> m_statusRef;
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* ifndef PROGRESSWIDGET_H */
|
|
|