/****************************************************************************
** Form interface generated from reading ui file './videodisplaybase.ui'
**
** Created: Thu Jan 29 00:50:29 2004
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef VIDEODISPLAYBASE_H
#define VIDEODISPLAYBASE_H

#include <qvariant.h>
#include <qdialog.h>
class QVBoxLayout; 
class QHBoxLayout; 
class QGridLayout; 
class QCheckBox;
class QFrame;
class QGroupBox;
class QLCDNumber;
class QLabel;
class QLineEdit;
class QPushButton;
class QSlider;

class VideoDisplayBase : public QDialog
{ 
    Q_OBJECT

public:
    VideoDisplayBase( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~VideoDisplayBase();

    QGroupBox* Adjustment_Info;
    QGroupBox* Spot;
    QLabel* SpotYLabel;
    QLabel* SpotXLabel;
    QLineEdit* SpotY;
    QLineEdit* SpotX;
    QGroupBox* ReferenceGroup;
    QLabel* RefXLabel;
    QLabel* RefYLabel;
    QLineEdit* RefX;
    QLineEdit* RefY;
    QGroupBox* GlobalRefGroup;
    QLabel* GRefXLabel;
    QLineEdit* GRefX;
    QLabel* GRefYLabel;
    QLineEdit* GRefY;
    QPushButton* SaveRefButton;
    QPushButton* AdjustButton;
    QPushButton* SaveGRefButton;
    QPushButton* GAdjustButton;
    QFrame* m_videoFrame;
    QGroupBox* Panel_Info;
    QLabel* Device_Label;
    QLabel* Box_Label;
    QLabel* Driver_Label;
    QGroupBox* SpotFindingBox;
    QLabel* ThresholdValLabel;
    QSlider* thresholdSlider;
    QLCDNumber* thresholdLCD;
    QGroupBox* ImageControlBox;
    QCheckBox* darksBox;
    QPushButton* Clear_Darks_Button;
    QLabel* MaxValLabel;
    QSlider* Contrast;
    QSlider* Brightness;
    QLabel* BrightnessLabel;
    QLCDNumber* Contrast_LCD;
    QLCDNumber* Brightness_LCD;
    QPushButton* Take_Dark_Button;
    QCheckBox* scaleBox;
    QLabel* ContrastLabel;
    QLCDNumber* scaleValLCD;
    QSlider* scaleValSlider;
    QPushButton* m_exitButton;
    QPushButton* StoreButton;
    QGroupBox* Grabber_Info;
    QLabel* GrabbedLabel;
    QLCDNumber* GrabbedLCD;
    QLabel* ProcessedLabel;
    QLCDNumber* ProcessedLCD;
    QGroupBox* Motors_Box;
    QGroupBox* X_Mot_Box;
    QPushButton* X_Go_Button;
    QPushButton* X_Dec_10_Button;
    QPushButton* X_Dec_100_Button;
    QPushButton* X_Inc_100_Button;
    QLineEdit* X_Goto_Value;
    QPushButton* X_Inc_10_Button;
    QGroupBox* Y_Mot_Box;
    QPushButton* Y_Dec_100_Button;
    QPushButton* Y_Dec_10_Button;
    QPushButton* Y_Inc_100_Button;
    QPushButton* Y_Inc_10_Button;
    QLineEdit* Y_Goto_Value;
    QPushButton* Y_Go_Button;
    QPushButton* FocusButton;
    QPushButton* DefocusButton;
    QCheckBox* Laser_Check;
    QPushButton* Center_Button;
    QPushButton* Calibrate_Button;
    QPushButton* DefocusAllButton;

public slots:
    virtual void adjustGRefSlot();
    virtual void adjustRefSlot();
    virtual void calibrateSlot();
    virtual void centerSlot();
    virtual void clearDarksSlot();
    virtual void decX100Slot();
    virtual void decX10Slot();
    virtual void decY100Slot();
    virtual void decY10Slot();
    virtual void defocusAllSlot();
    virtual void defocusSlot();
    virtual void goXSlot();
    virtual void goYSlot();
    virtual void incX100Slot();
    virtual void incX10Slot();
    virtual void incY100Slot();
    virtual void incY10Slot();
    virtual void focusSlot();
    virtual void saveGRefSlot();
    virtual void saveRefSlot();
    virtual void storeSlot();
    virtual void switchLaserSlot( bool );
    virtual void takeDarkSlot();

protected:
    QGridLayout* VideoDisplayBaseLayout;
    QGridLayout* Adjustment_InfoLayout;
    QHBoxLayout* Layout22;
    QGridLayout* SpotLayout;
    QGridLayout* ReferenceGroupLayout;
    QGridLayout* GlobalRefGroupLayout;
    QGridLayout* Layout7;
    QVBoxLayout* Layout13;
    QHBoxLayout* Layout11;
    QHBoxLayout* Panel_InfoLayout;
    QHBoxLayout* SpotFindingBoxLayout;
    QGridLayout* Layout12;
    QGridLayout* ImageControlBoxLayout;
    QVBoxLayout* Layout8;
    QHBoxLayout* Grabber_InfoLayout;
    QVBoxLayout* Motors_BoxLayout;
    QGridLayout* X_Mot_BoxLayout;
    QGridLayout* Y_Mot_BoxLayout;
    QHBoxLayout* Layout9;
    QHBoxLayout* Layout9_2;
    QHBoxLayout* Layout10;
    bool event( QEvent* );
};

#endif // VIDEODISPLAYBASE_H
