GrabQtMainForm.h

00001 /****************************************************************************
00002 ** Form interface generated from reading ui file 'Qt/GrabQtMainForm.ui'
00003 **
00004 **
00005 ** WARNING! All changes made in this file will be lost!
00006 ****************************************************************************/
00007 
00008 #ifndef GRABQTMAINFORM_H
00009 #define GRABQTMAINFORM_H
00010 
00011 #include <qvariant.h>
00012 #include <qdialog.h>
00013 #include "Transport/FrameIstream.H"
00014 #include "Devices/FrameGrabberConfigurator.H"
00015 #include "ModelManagerControl.h"
00016 
00017 class QVBoxLayout;
00018 class QHBoxLayout;
00019 class QGridLayout;
00020 class QSpacerItem;
00021 class QLabel;
00022 class QSlider;
00023 class QPushButton;
00024 
00025 class GrabQtMainForm : public QDialog
00026 {
00027     Q_OBJECT
00028 
00029 public:
00030     GrabQtMainForm( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00031     ~GrabQtMainForm();
00032 
00033     QLabel* tiltLabel;
00034     QLabel* panLabel;
00035     QSlider* panSlider;
00036     QPushButton* pauseButton;
00037     QPushButton* saveButton;
00038     QSlider* tiltSlider;
00039 
00040 public slots:
00041     virtual void init( int argc, const char * * argv );
00042     virtual void handlePauseButton();
00043     virtual void handlePanSlider( int pos );
00044     virtual void handleTiltSlider( int pos );
00045     virtual void saveImage();
00046     virtual void timerEvent( QTimerEvent * );
00047     virtual void grabImage();
00048 
00049 protected:
00050     nub::soft_ref<FrameIstream> gb;
00051     nub::soft_ref<FrameGrabberConfigurator> gbc;
00052     ModelManager manager;
00053     QDialog *display;
00054     bool grabbing;
00055     ModelManagerControl mmc;
00056 
00057 
00058 protected slots:
00059     virtual void languageChange();
00060 
00061 };
00062 
00063 #endif // GRABQTMAINFORM_H
Generated on Sun May 8 08:41:15 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3