// aboutbox
// woher dieses programm kommt

#ifndef _H_PROGRESSBOX
#define _H_PROGRESSBOX 1


#include <qapplication.h>

#include <qdialog.h>
#include <qslider.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qsemimodal.h>

#include "camera_def.h"


class ProgressBox : public QSemiModal
{
  Q_OBJECT
public:
   ProgressBox(QWidget *parent=0,
               CameraApplicationClass *theCameraApplication=NULL);

   bool update(char *name,int images,int maximages,int percent);

private:   
   CameraApplicationClass *cameraApplication;
   
   QLabel      *nameLabel;
   QSlider     *loadedSlider;
   QSlider     *percentSlider;

   QPushButton *abortButton;

   bool abortPressed ;


public slots:
   void DoAbort();
}; // class ProgessBox

#endif
