00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef QCAMERAKEYPATHEDITOR_H
00011 #define QCAMERAKEYPATHEDITOR_H
00012
00013 #include <qvariant.h>
00014 #include <qpixmap.h>
00015 #include <qwidget.h>
00016
00017 class QVBoxLayout;
00018 class QHBoxLayout;
00019 class QGridLayout;
00020 class QSpacerItem;
00021 class QMyListBox;
00022 class QCameraKeyPathDropSite;
00023 class QGroupBox;
00024 class QButtonGroup;
00025 class QCheckBox;
00026 class QFrame;
00027 class QLineEdit;
00028 class QLabel;
00029 class QPushButton;
00030 class QSlider;
00031 class CCameraKeyPathPoint;
00032
00033 class QCameraKeyPathEditor : public QWidget
00034 {
00035 Q_OBJECT
00036
00037 public:
00038 QCameraKeyPathEditor( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
00039 ~QCameraKeyPathEditor();
00040
00041 QGroupBox* parameterFrame;
00042 QButtonGroup* updateFrame;
00043 QCheckBox* checkEye;
00044 QCheckBox* checkRef;
00045 QCheckBox* checkUp;
00046 QCheckBox* checkAngle;
00047 QCheckBox* checkFrames;
00048 QCheckBox* checkTension;
00049 QCheckBox* checkContinuity;
00050 QCheckBox* checkBias;
00051 QFrame* Line1;
00052 QLineEdit* verAngleValue;
00053 QLineEdit* frameValue;
00054 QLineEdit* tensionValue;
00055 QLineEdit* conValue;
00056 QLineEdit* biasValue;
00057 QLabel* xUpLabel;
00058 QLineEdit* xUpValue;
00059 QLabel* xRefLabel;
00060 QLineEdit* xRefValue;
00061 QLabel* xEyeLabel;
00062 QLineEdit* xEyeValue;
00063 QLabel* yUpLabel;
00064 QLineEdit* yUpValue;
00065 QLabel* yRefLabel;
00066 QLineEdit* yRefValue;
00067 QLabel* yEyeLabel;
00068 QLineEdit* yEyeValue;
00069 QLabel* zEyeLabel;
00070 QLineEdit* zEyeValue;
00071 QLabel* zRefLabel;
00072 QLineEdit* zRefValue;
00073 QLabel* zUpLabel;
00074 QLineEdit* zUpValue;
00075 QLabel* conLabel;
00076 QLabel* frameLabel;
00077 QLabel* eyeLabel;
00078 QLabel* referenceLabel;
00079 QLabel* upLabel;
00080 QLabel* angleLabel;
00081 QLabel* biasLabel;
00082 QLabel* tensionLabel;
00083 QFrame* Frame4;
00084 QPushButton* replaceButton;
00085 QPushButton* deleteButton;
00086 QPushButton* attachButton;
00087 QCameraKeyPathDropSite* pathDropSite;
00088 QGroupBox* cameraFrame;
00089 QPushButton* upButton;
00090 QMyListBox* cameraBox;
00091 QPushButton* downButton;
00092 QLabel* sliderStartLabel;
00093 QSlider* cameraSlider;
00094 QLabel* sliderEndLabel;
00095 QPushButton* buttonApply;
00096 QPushButton* buttonOk;
00097 QPushButton* buttonCancel;
00098
00099 public slots:
00100 virtual void sltApply();
00101 virtual void sltAttachCamera();
00102 virtual void sltChangeCamValue();
00103 virtual void sltCheckValues();
00104 virtual void sltClearHighlights(int);
00105 virtual void sltDeleteCamera();
00106 virtual void sltMoveDown();
00107 virtual void sltMoveUp();
00108 virtual void sltOk();
00109 virtual void sltReplaceCamera();
00110 virtual void sltUpdateHighlights(int);
00111 virtual void sltUpdateTool(int);
00112
00113 protected:
00114 QVBoxLayout* QCameraKeyPathEditorLayout;
00115 QHBoxLayout* Layout77;
00116 QSpacerItem* Spacer2;
00117 QHBoxLayout* Layout78;
00118 QSpacerItem* Spacer5;
00119 QHBoxLayout* Layout79;
00120 QSpacerItem* Spacer3_3;
00121 QHBoxLayout* Layout80;
00122 QSpacerItem* Spacer4_2;
00123 QHBoxLayout* Layout81;
00124 QSpacerItem* Spacer2_3;
00125 QHBoxLayout* Layout31;
00126 QHBoxLayout* Layout27;
00127 QHBoxLayout* Layout23;
00128 QHBoxLayout* Layout32;
00129 QHBoxLayout* Layout28;
00130 QHBoxLayout* Layout24;
00131 QHBoxLayout* Layout26;
00132 QHBoxLayout* Layout30;
00133 QHBoxLayout* Layout34;
00134 QGridLayout* Frame4Layout;
00135 QGridLayout* cameraFrameLayout;
00136 QSpacerItem* Spacer50;
00137 QHBoxLayout* Layout31_2;
00138
00139 protected slots:
00140 virtual void languageChange();
00141
00142 virtual void sltUpdateName(int);
00143
00144
00145 private:
00146 QPixmap image0;
00147 QPixmap image1;
00148
00149 };
00150
00151 #endif // QCAMERAKEYPATHEDITOR_H