BeoSubMappingQtMainForm.h
00001
00002
00003
00004
00005
00006
00007
00008 #ifndef BEOSUBMAPPINGQTMAINFORM_H
00009 #define BEOSUBMAPPINGQTMAINFORM_H
00010
00011 #include <qvariant.h>
00012 #include <qpixmap.h>
00013 #include <qdialog.h>
00014 #include "Image/Image.H"
00015 #include "Component/ModelManager.H"
00016 #include "Util/StringConversions.H"
00017 #include "Parallel/pvisionTCP-defs.H"
00018 #include "Beowulf/Beowulf.H"
00019
00020 class QVBoxLayout;
00021 class QHBoxLayout;
00022 class QGridLayout;
00023 class QSpacerItem;
00024 class PoolImage;
00025 class QLabel;
00026 class QPushButton;
00027 class QListBox;
00028 class QListBoxItem;
00029 class QLineEdit;
00030
00031 class BeoSubMappingQtMainForm : public QDialog
00032 {
00033 Q_OBJECT
00034
00035 public:
00036 BeoSubMappingQtMainForm( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00037 ~BeoSubMappingQtMainForm();
00038
00039 QLabel* LabelLog;
00040 QLabel* Log;
00041 QPushButton* save;
00042 QListBox* List;
00043 QLabel* LabelImage;
00044 PoolImage* poolImage;
00045 QLabel* displayCoord;
00046 QLabel* LabelList;
00047 QPushButton* loadAS;
00048 QPushButton* load;
00049 QPushButton* restHeading;
00050 QLabel* test;
00051 QLabel* displayImage;
00052 QLineEdit* changeHeading;
00053 QLabel* LabelImage_2;
00054 QPushButton* refresh;
00055 QPushButton* change2bottom;
00056 QPushButton* change2front;
00057 QPushButton* change2top;
00058
00059 Image< PixRGB<byte> > img;
00060 bool setSave;
00061 std::string prefix;
00062
00063 public slots:
00064 virtual void init();
00065 virtual void change_bottom();
00066 virtual void change_front();
00067 virtual void change_top();
00068 virtual void camera_return();
00069 virtual void displayFunc();
00070 virtual void timerEvent( QTimerEvent * e );
00071 virtual void displayLog();
00072 virtual void loadList();
00073 virtual void refreshImages();
00074 virtual void createIcon();
00075 virtual void saveiconList();
00076 virtual void LoadAngleScale();
00077 virtual void resetAllHeading();
00078 virtual void changeTheHeading();
00079
00080 protected:
00081
00082 protected slots:
00083 virtual void languageChange();
00084
00085 private:
00086 int numItem;
00087
00088 QPixmap image0;
00089
00090 };
00091
00092 #endif // BEOSUBMAPPINGQTMAINFORM_H