// controlbox
// diverse Einstellungen fuer die kamera

#ifndef _H_COMTROLBOX
#define _H_CONTROLBOX 1


#include <qapplication.h>

#include <qdialog.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qspinbox.h>
#include <qradiobutton.h>
#include <qslider.h>

#include "camera_def.h"
#include "camreal.h"




class ControlBox : public QDialog
{
  Q_OBJECT
public:
   ControlBox(QWidget *parent,
                         CameraApplicationClass *theCameraApplication);

private:   
   CameraApplicationClass *cameraApplication;
   
   QLabel *VersionLabel;
   QLabel *MemoryLabel;
   QLabel *BatteryLabel;
   
   QLabel *CameraTimeLabel;
   QLabel *ComputerTimeLabel;
   QPushButton *ComputerToCameraButton;
   
   QSpinBox *CameraSpinbox;
   QSpinBox *CameraComputerSpinbox;
   QSpinBox *LCDSpinbox;

   QButtonGroup *QualityGroup;
   QRadioButton *QualityStandardButton;
   QRadioButton *QualityHighButton;
   QRadioButton *QualityHigh2Button;

   QSlider      *BrightnessSlider;

   QButtonGroup *FlashGroup;
   QRadioButton *FlashAutomaticButton;
   QRadioButton *FlashForceButton;
   QRadioButton *FlashOffButton;
   QRadioButton *FlashRedEyeButton;


   QButtonGroup *LensGroup;
   QRadioButton *LensNormalButton;
   QRadioButton *LensMacroButton;

   CameraRealOptionGetClass optionen;

public slots:
   void OkPressed();
   void ComputerToCameraPressed();

}; // class ControlBox

#endif
