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.
adept/adept/libadept/acqprogresswidget.h

32 lines
693 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
public:
AcqProgressWidget (TQWidget *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 */