00001 /**************************************************************************** 00002 ** Form implementation generated from reading ui file 'Qt/RobotHeadForm.ui' 00003 ** 00004 ** 00005 ** WARNING! All changes made in this file will be lost! 00006 ****************************************************************************/ 00007 00008 #include "Qt/ui/RobotHeadForm.h" 00009 00010 #include <qvariant.h> 00011 #include <qpushbutton.h> 00012 #include <qtabwidget.h> 00013 #include <qwidget.h> 00014 #include <qgroupbox.h> 00015 #include <qlabel.h> 00016 #include <qlineedit.h> 00017 #include <qslider.h> 00018 #include <qlayout.h> 00019 #include <qtooltip.h> 00020 #include <qwhatsthis.h> 00021 #include <qaction.h> 00022 #include <qmenubar.h> 00023 #include <qpopupmenu.h> 00024 #include <qtoolbar.h> 00025 #include <qimage.h> 00026 #include <qpixmap.h> 00027 00028 #include "Qt/RobotHeadForm.ui.h" 00029 static const unsigned char image0_data[] = { 00030 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 00031 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 00032 0x08, 0x06, 0x00, 0x00, 0x00, 0xc4, 0xb4, 0x6c, 0x3b, 0x00, 0x00, 0x00, 00033 0x74, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0xed, 0xd5, 0xc1, 0x09, 0xc0, 00034 0x20, 0x0c, 0x05, 0xd0, 0x6f, 0xe9, 0x36, 0x81, 0x2c, 0x10, 0xb2, 0xff, 00035 0xdd, 0x85, 0xd2, 0x53, 0x85, 0xb6, 0xa9, 0x91, 0x48, 0x0f, 0x05, 0x3f, 00036 0x08, 0x1a, 0xf0, 0x29, 0x12, 0x10, 0xf8, 0x28, 0xc5, 0xa9, 0xd9, 0xc4, 00037 0xde, 0x96, 0xcd, 0x2b, 0x9a, 0xd9, 0xeb, 0x00, 0x00, 0x66, 0x0e, 0x2f, 00038 0xe0, 0xc2, 0x51, 0x98, 0x39, 0xc4, 0xf7, 0x0c, 0x4c, 0x44, 0x6d, 0x5e, 00039 0x6b, 0x35, 0x38, 0xcf, 0x92, 0x82, 0x45, 0xe4, 0xb2, 0xf6, 0xf0, 0x14, 00040 0xac, 0xaa, 0x8f, 0xda, 0x1d, 0x4f, 0xc1, 0xa5, 0x74, 0x1b, 0x22, 0x07, 00041 0x9f, 0x9d, 0x11, 0x1d, 0x96, 0xea, 0x8a, 0x91, 0x2c, 0x78, 0xc1, 0x0b, 00042 0xee, 0x64, 0xe6, 0x07, 0x19, 0xf5, 0x7e, 0x92, 0x03, 0xad, 0x45, 0x2a, 00043 0x04, 0xcc, 0x4e, 0x50, 0x20, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 00044 0x44, 0xae, 0x42, 0x60, 0x82 00045 }; 00046 00047 static const unsigned char image1_data[] = { 00048 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 00049 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 00050 0x08, 0x06, 0x00, 0x00, 0x00, 0xc4, 0xb4, 0x6c, 0x3b, 0x00, 0x00, 0x00, 00051 0x99, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0xed, 0x94, 0x41, 0x0e, 0x85, 00052 0x20, 0x0c, 0x44, 0x5f, 0x89, 0xc7, 0x36, 0x7f, 0x61, 0xbc, 0x77, 0x5d, 00053 0x28, 0x48, 0xa4, 0x28, 0x60, 0xff, 0xce, 0xd9, 0x54, 0x8b, 0xbe, 0x8e, 00054 0x13, 0x04, 0x3e, 0x1d, 0x92, 0x81, 0x77, 0xf4, 0x81, 0xa1, 0x23, 0xdc, 00055 0x2b, 0x34, 0xf6, 0xf4, 0x7a, 0x3d, 0xe2, 0xb8, 0x65, 0xa8, 0x84, 0x3f, 00056 0x40, 0x01, 0x98, 0x2a, 0x0b, 0x3d, 0x5f, 0x62, 0xc5, 0x83, 0x00, 0xaa, 00057 0x1a, 0xd7, 0x05, 0x50, 0x44, 0x9a, 0xb9, 0xd5, 0x07, 0xa7, 0x73, 0xa8, 00058 0xa4, 0xba, 0x4f, 0x92, 0xa2, 0xdf, 0x33, 0x3c, 0x64, 0xc6, 0x3b, 0xeb, 00059 0xbd, 0x82, 0xe5, 0xb8, 0xad, 0xde, 0xcb, 0xcc, 0x78, 0x20, 0xeb, 0x42, 00060 0x66, 0xc6, 0x39, 0x74, 0x5d, 0xfa, 0x80, 0xf3, 0x6f, 0xaf, 0x66, 0xc6, 00061 0x6f, 0xa1, 0x9c, 0x3f, 0x88, 0x2f, 0xb4, 0x70, 0xec, 0x05, 0xcd, 0xc0, 00062 0xbe, 0xd0, 0x78, 0x93, 0xf6, 0x8e, 0x17, 0x14, 0x92, 0x63, 0x5f, 0x68, 00063 0x6c, 0x3e, 0xef, 0xf6, 0xba, 0x3c, 0x8f, 0xdd, 0x36, 0x6d, 0xc4, 0xc0, 00064 0x45, 0x2c, 0x87, 0x81, 0xf8, 0x08, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 00065 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 00066 }; 00067 00068 static const unsigned char image2_data[] = { 00069 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 00070 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 00071 0x08, 0x06, 0x00, 0x00, 0x00, 0xc4, 0xb4, 0x6c, 0x3b, 0x00, 0x00, 0x00, 00072 0xa0, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0xd5, 0x95, 0x4d, 0x0a, 0x80, 00073 0x20, 0x10, 0x85, 0x9f, 0xd1, 0x46, 0x68, 0xe1, 0x8d, 0xe6, 0x62, 0xd2, 00074 0x22, 0xbc, 0x98, 0x37, 0x6a, 0x21, 0xb4, 0xac, 0x45, 0x19, 0x92, 0xc6, 00075 0x64, 0x69, 0xe0, 0xb7, 0xf1, 0x87, 0xf1, 0xf1, 0x1c, 0x47, 0x05, 0x2a, 00076 0x21, 0x8e, 0x76, 0x2d, 0xad, 0xdb, 0xfb, 0x9e, 0x99, 0xf6, 0x56, 0x8f, 00077 0x80, 0xb5, 0x36, 0x4b, 0x85, 0x88, 0xce, 0x35, 0x44, 0x04, 0x00, 0xe8, 00078 0x0a, 0x39, 0x8c, 0xe8, 0xf9, 0x90, 0x34, 0xd2, 0x29, 0x2c, 0xc3, 0x7c, 00079 0x8e, 0xbd, 0x53, 0x0f, 0xeb, 0x58, 0x3a, 0x05, 0xe9, 0x54, 0x34, 0x1f, 00080 0x8a, 0x02, 0x7b, 0x2a, 0x7d, 0x3a, 0x1f, 0x09, 0xbf, 0x85, 0x4d, 0xc5, 00081 0xd5, 0xd9, 0x53, 0xaa, 0x39, 0x6e, 0x4f, 0x38, 0xca, 0xb1, 0x99, 0xe2, 00082 0xd2, 0xe1, 0x08, 0xab, 0xe1, 0x56, 0xf8, 0x2e, 0x30, 0x97, 0x7f, 0xcb, 00083 0x4d, 0x8f, 0xf9, 0x42, 0xd7, 0x5d, 0xbe, 0xbe, 0xd2, 0xe1, 0x43, 0x95, 00084 0x3a, 0x93, 0xf6, 0xca, 0xad, 0x3d, 0x61, 0x11, 0xf4, 0x4b, 0x7d, 0x4f, 00085 0x82, 0x0f, 0xf9, 0xc0, 0x06, 0x9b, 0xb5, 0x1e, 0xcd, 0xed, 0x31, 0x8c, 00086 0x5c, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 00087 0x82 00088 }; 00089 00090 static const unsigned char image3_data[] = { 00091 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 00092 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 00093 0x08, 0x06, 0x00, 0x00, 0x00, 0xc4, 0xb4, 0x6c, 0x3b, 0x00, 0x00, 0x02, 00094 0x9c, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0x8d, 0x95, 0xad, 0x76, 0xdb, 00095 0x40, 0x10, 0x85, 0x3f, 0xf7, 0x18, 0xcc, 0x32, 0x89, 0xd9, 0x50, 0xd0, 00096 0x61, 0x36, 0x34, 0x4c, 0x98, 0xc3, 0x62, 0x96, 0x40, 0x87, 0x25, 0x6f, 00097 0x50, 0x3f, 0x42, 0x61, 0x61, 0x02, 0x1b, 0xe6, 0xb2, 0x84, 0x25, 0x50, 00098 0x61, 0x2e, 0x8b, 0xe1, 0x42, 0x99, 0x49, 0x6c, 0x86, 0x6d, 0xc1, 0x4a, 00099 0xb2, 0xfc, 0x77, 0xda, 0x21, 0x92, 0x66, 0x57, 0x77, 0xee, 0xdc, 0x3b, 00100 0x5a, 0xf5, 0x38, 0x13, 0xaf, 0xaf, 0xaf, 0x41, 0x44, 0x48, 0xd3, 0x74, 00101 0x2f, 0x6f, 0x66, 0x00, 0xa8, 0x2a, 0x00, 0x55, 0x55, 0x91, 0x24, 0x09, 00102 0x57, 0x57, 0x57, 0xbd, 0xee, 0xbe, 0xfe, 0x39, 0x60, 0x11, 0x61, 0x32, 00103 0x99, 0xb4, 0x40, 0x87, 0x6b, 0x4d, 0x94, 0x65, 0x89, 0xf7, 0xfe, 0x68, 00104 0xcf, 0x59, 0x60, 0x80, 0xcd, 0x66, 0x73, 0x04, 0x76, 0x58, 0x48, 0x55, 00105 0x71, 0xce, 0xfd, 0x3f, 0xf0, 0x29, 0x00, 0x33, 0x3b, 0x2a, 0x70, 0xaa, 00106 0x23, 0x80, 0x6f, 0xa7, 0x92, 0x79, 0x9e, 0x07, 0x33, 0x6b, 0x99, 0x38, 00107 0xe7, 0x70, 0xce, 0xed, 0xe9, 0xdd, 0xe8, 0x2f, 0x22, 0x47, 0xfa, 0x9e, 00108 0x65, 0xac, 0xaa, 0x24, 0x49, 0x42, 0x59, 0x96, 0x88, 0x48, 0x6b, 0x54, 00109 0x37, 0x4e, 0xb5, 0xff, 0x4f, 0xc6, 0x10, 0x5b, 0x3c, 0x9c, 0x88, 0x2e, 00110 0x68, 0x53, 0xec, 0x9c, 0x14, 0x27, 0x19, 0x37, 0x6c, 0x4e, 0x31, 0xed, 00111 0xe6, 0x55, 0x75, 0x6f, 0x42, 0xba, 0x71, 0xa4, 0x0d, 0xc0, 0x6a, 0xb5, 00112 0x0a, 0x59, 0x96, 0x31, 0x1c, 0x0e, 0xcf, 0x82, 0x37, 0x46, 0x7e, 0x7e, 00113 0x7e, 0x02, 0x20, 0x92, 0x30, 0x9f, 0x5f, 0xb7, 0x78, 0x7b, 0x8c, 0xdf, 00114 0xdf, 0xdf, 0x83, 0xf7, 0x9e, 0xfc, 0x23, 0x47, 0x66, 0x82, 0x88, 0xb4, 00115 0x00, 0x87, 0xd7, 0x86, 0x69, 0x59, 0x94, 0xe4, 0x79, 0xce, 0xb6, 0xda, 00116 0xf2, 0xf0, 0xf0, 0x10, 0x66, 0xb3, 0x19, 0xd7, 0xd7, 0xd7, 0xbd, 0x5e, 00117 0x17, 0x74, 0xb3, 0xf1, 0x54, 0xc5, 0x16, 0x35, 0x80, 0xd3, 0x4c, 0x01, 00118 0x9c, 0xa4, 0x08, 0x02, 0x0e, 0x7c, 0xe1, 0x59, 0xaf, 0xff, 0xb0, 0xdd, 00119 0x16, 0xa8, 0x1a, 0x17, 0x17, 0x19, 0x8b, 0xc5, 0x22, 0x4a, 0xd1, 0x30, 00120 0xbd, 0x9c, 0x5e, 0xe2, 0xd2, 0x14, 0x55, 0x03, 0x53, 0x8e, 0x6c, 0x31, 00121 0x03, 0x84, 0x9c, 0x4f, 0x3e, 0x78, 0x65, 0x6a, 0x53, 0xd2, 0xaf, 0x94, 00122 0xe7, 0x97, 0x67, 0xfc, 0x57, 0xfc, 0xfa, 0xd4, 0x94, 0x6c, 0x74, 0x11, 00123 0x41, 0x9f, 0x9e, 0x7e, 0x85, 0xb2, 0x28, 0xc3, 0xff, 0xc4, 0x57, 0xf8, 00124 0x0a, 0xa3, 0x30, 0x0a, 0x12, 0x24, 0x8c, 0xc2, 0x28, 0xac, 0xd7, 0xeb, 00125 0xf0, 0xe3, 0xfb, 0xcf, 0x30, 0x1e, 0x8f, 0xc3, 0x60, 0x90, 0x85, 0x24, 00126 0x49, 0x42, 0x36, 0xc8, 0x42, 0xbf, 0xda, 0x56, 0xdc, 0xdd, 0xdd, 0x9c, 00127 0x75, 0xf7, 0x30, 0x52, 0x52, 0x2e, 0x99, 0x92, 0x23, 0xcc, 0x98, 0x31, 00128 0x1e, 0x8f, 0x49, 0x64, 0x48, 0x69, 0x05, 0xcf, 0xbf, 0x5e, 0xa8, 0xaa, 00129 0x8a, 0x74, 0x90, 0xd2, 0x37, 0xc0, 0xfb, 0x22, 0xce, 0xa3, 0x19, 0x88, 00130 0x10, 0x6b, 0x48, 0xed, 0x36, 0x38, 0x5c, 0x54, 0xdc, 0x14, 0xc4, 0xf1, 00131 0x60, 0xdf, 0xb9, 0xc1, 0x33, 0xb4, 0x21, 0x7f, 0xd8, 0x80, 0x19, 0xe9, 00132 0x70, 0x18, 0xd7, 0x6b, 0x77, 0xfa, 0x65, 0x51, 0xe0, 0x45, 0xa2, 0x9e, 00133 0x66, 0xb4, 0xbe, 0x39, 0x88, 0x2e, 0xd6, 0x9d, 0x38, 0x03, 0x15, 0x20, 00134 0xe6, 0x04, 0xf0, 0xb6, 0xc5, 0x88, 0x67, 0x88, 0xdf, 0x6c, 0x5a, 0x4f, 00135 0x1c, 0xf5, 0xb8, 0x35, 0x09, 0x6b, 0x00, 0xb1, 0x76, 0x28, 0x14, 0x8b, 00136 0x35, 0x74, 0x6f, 0x67, 0x3b, 0x39, 0xd2, 0x78, 0xda, 0x09, 0x45, 0xe9, 00137 0x23, 0x60, 0x65, 0xe7, 0x05, 0xad, 0xc9, 0x76, 0x37, 0x1a, 0x20, 0x0a, 00138 0x76, 0xb8, 0xe2, 0x30, 0x2b, 0xa9, 0xfb, 0x6c, 0x7a, 0x63, 0x32, 0x99, 00139 0xf2, 0x0d, 0xeb, 0xb0, 0x6c, 0xc9, 0x6a, 0x7c, 0xb4, 0xfa, 0xba, 0x07, 00140 0xea, 0x9a, 0x6d, 0x35, 0x68, 0x0d, 0x58, 0xcb, 0x39, 0x18, 0x0c, 0x58, 00141 0x2c, 0xee, 0x22, 0x63, 0xef, 0x7d, 0x63, 0x15, 0x88, 0x41, 0x25, 0x40, 00142 0x15, 0x9d, 0x33, 0x8b, 0x30, 0xd2, 0xb0, 0xb2, 0x1d, 0x18, 0x3b, 0xcd, 00143 0x31, 0x43, 0x04, 0x96, 0xcb, 0x25, 0xf3, 0xf9, 0xbc, 0xd7, 0xcf, 0xb2, 00144 0x8c, 0x8f, 0xb7, 0x0f, 0x7e, 0xbf, 0xbd, 0xa1, 0x6a, 0xc4, 0xf3, 0x47, 00145 0xd8, 0x1b, 0x3e, 0xe9, 0x3c, 0xcb, 0x0e, 0xb2, 0xed, 0xb3, 0x9e, 0xa6, 00146 0xe5, 0x72, 0xc9, 0xe3, 0xe3, 0x63, 0x0f, 0x3a, 0x87, 0xd0, 0x6a, 0xb5, 00147 0x0a, 0xab, 0xd5, 0x1b, 0xdb, 0xfa, 0xff, 0xa5, 0x68, 0x6d, 0xca, 0xce, 00148 0x99, 0xdd, 0x5f, 0x03, 0x54, 0xcb, 0x78, 0x5f, 0x19, 0x93, 0xe9, 0x84, 00149 0xdb, 0xdb, 0x5b, 0xee, 0xef, 0xef, 0x5b, 0xbc, 0xbf, 0xd1, 0xf6, 0x9e, 00150 0x0c, 0x3f, 0xec, 0x24, 0x86, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 00151 0x44, 0xae, 0x42, 0x60, 0x82 00152 }; 00153 00154 static const unsigned char image4_data[] = { 00155 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 00156 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 00157 0x08, 0x06, 0x00, 0x00, 0x00, 0xc4, 0xb4, 0x6c, 0x3b, 0x00, 0x00, 0x00, 00158 0x73, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0xed, 0x92, 0xc1, 0x0e, 0x80, 00159 0x20, 0x08, 0x40, 0xb1, 0xef, 0x66, 0x1d, 0x1c, 0xff, 0x4d, 0x87, 0x6a, 00160 0xa8, 0x88, 0xa1, 0x76, 0x69, 0xf9, 0x36, 0x0f, 0x28, 0x3e, 0xd8, 0x00, 00161 0x60, 0xf1, 0x59, 0x42, 0x5f, 0x3a, 0x71, 0xf5, 0x36, 0x02, 0xe0, 0x8e, 00162 0x99, 0x2b, 0x09, 0x88, 0x01, 0xd0, 0x28, 0x54, 0x17, 0x6a, 0xe4, 0x7f, 00163 0x21, 0xce, 0x1f, 0xb5, 0xb0, 0x5d, 0x38, 0xed, 0xdc, 0x90, 0x60, 0xd0, 00164 0xf1, 0x13, 0x79, 0x63, 0x5b, 0x3b, 0xc9, 0x2b, 0xd5, 0x18, 0xe2, 0x39, 00165 0xa9, 0x43, 0xec, 0x1d, 0x5a, 0xb7, 0x78, 0x5c, 0xee, 0x10, 0x7b, 0xe4, 00166 0xb2, 0x15, 0xaf, 0x40, 0x91, 0xf8, 0x94, 0xde, 0x47, 0x18, 0x1e, 0xce, 00167 0xa5, 0x9e, 0xde, 0x9e, 0xc5, 0x9f, 0x38, 0x00, 0x62, 0xac, 0x28, 0xb1, 00168 0xe3, 0xd7, 0x01, 0xd9, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 00169 0xae, 0x42, 0x60, 0x82 00170 }; 00171 00172 static const unsigned char image5_data[] = { 00173 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 00174 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 00175 0x08, 0x06, 0x00, 0x00, 0x00, 0xc4, 0xb4, 0x6c, 0x3b, 0x00, 0x00, 0x00, 00176 0x74, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0xed, 0x92, 0xc1, 0x0a, 0xc0, 00177 0x20, 0x08, 0x40, 0x6d, 0xdf, 0x2d, 0x3b, 0x84, 0xff, 0xed, 0x0e, 0xa3, 00178 0x58, 0x6a, 0x26, 0xd1, 0x65, 0xe0, 0x83, 0x0e, 0xa5, 0x3e, 0x85, 0x04, 00179 0x48, 0x7e, 0x4b, 0x91, 0x0f, 0x54, 0x89, 0xf1, 0x9e, 0xa5, 0xa3, 0xca, 00180 0x0f, 0x8a, 0x89, 0x63, 0x65, 0xb3, 0x06, 0xc4, 0x2d, 0xd6, 0x13, 0xc6, 00181 0x49, 0xbd, 0xc2, 0x59, 0x83, 0x16, 0x13, 0x62, 0x19, 0xf0, 0xf9, 0x36, 00182 0xc0, 0xa2, 0xef, 0x00, 0xd7, 0x5a, 0x62, 0x61, 0x4d, 0x3a, 0xb2, 0x29, 00183 0x96, 0xf2, 0xa3, 0x62, 0xff, 0xa3, 0x37, 0xc5, 0xeb, 0xed, 0xe9, 0x62, 00184 0xaa, 0xd1, 0xa2, 0xe8, 0x4a, 0xaa, 0xa2, 0xf7, 0x50, 0xdd, 0x12, 0x74, 00185 0x8c, 0x0f, 0xd0, 0xab, 0x93, 0x24, 0x67, 0x78, 0x00, 0x59, 0x6e, 0x28, 00186 0xb1, 0x74, 0x3f, 0x46, 0x86, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 00187 0x44, 0xae, 0x42, 0x60, 0x82 00188 }; 00189 00190 static const unsigned char image6_data[] = { 00191 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 00192 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 00193 0x08, 0x06, 0x00, 0x00, 0x00, 0xc4, 0xb4, 0x6c, 0x3b, 0x00, 0x00, 0x00, 00194 0x82, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0xcd, 0xd3, 0x41, 0x12, 0x80, 00195 0x20, 0x08, 0x05, 0x50, 0xe8, 0xe0, 0x2e, 0xbc, 0x38, 0xad, 0x32, 0x73, 00196 0x50, 0x3e, 0x48, 0x53, 0x7f, 0xe3, 0xe4, 0x8c, 0x4f, 0x24, 0x25, 0xfa, 00197 0x28, 0xe2, 0x9c, 0x6f, 0x39, 0x92, 0x0b, 0xf9, 0x27, 0x6c, 0xb6, 0x01, 00198 0x85, 0x35, 0x88, 0x77, 0x61, 0x13, 0x88, 0xc2, 0x57, 0x64, 0x18, 0xcd, 00199 0xa0, 0x15, 0xf5, 0x20, 0xb4, 0xe6, 0xb5, 0x5b, 0xe1, 0x09, 0xdc, 0x06, 00200 0x22, 0xb8, 0xe2, 0x2a, 0xcf, 0x31, 0x05, 0x6e, 0x18, 0xdf, 0xdf, 0xf8, 00201 0x06, 0x06, 0xaa, 0x55, 0x1c, 0xc6, 0x35, 0x64, 0xc4, 0xdc, 0xf8, 0x0c, 00202 0xd0, 0x20, 0x1d, 0x57, 0x7a, 0x5c, 0x85, 0xa8, 0x84, 0x5f, 0xdc, 0x02, 00203 0x5e, 0xa5, 0x30, 0x7a, 0xfc, 0xcd, 0x07, 0xe2, 0x3a, 0x1d, 0xf2, 0x83, 00204 0xec, 0x2b, 0x37, 0xd9, 0xad, 0x5f, 0xb4, 0xdf, 0xef, 0xd4, 0x9c, 0xfb, 00205 0xf7, 0x2f, 0xac, 0x98, 0xc8, 0xcc, 0x89, 0x00, 0x00, 0x00, 0x00, 0x49, 00206 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 00207 }; 00208 00209 static const unsigned char image7_data[] = { 00210 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 00211 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 00212 0x08, 0x06, 0x00, 0x00, 0x00, 0xc4, 0xb4, 0x6c, 0x3b, 0x00, 0x00, 0x00, 00213 0xbf, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0xd5, 0x93, 0x41, 0x0a, 0x83, 00214 0x30, 0x10, 0x45, 0xdf, 0x48, 0x8e, 0xe5, 0x1d, 0xbc, 0x8c, 0x3b, 0xa9, 00215 0x8b, 0xf4, 0x6a, 0x9e, 0xab, 0xd3, 0x85, 0x35, 0x0d, 0x26, 0x63, 0x62, 00216 0x44, 0x4a, 0x3f, 0x0c, 0x42, 0x66, 0xfc, 0xf3, 0xf8, 0x24, 0xf0, 0x6f, 00217 0x12, 0x40, 0x2b, 0x66, 0xda, 0x8c, 0x55, 0xf3, 0xde, 0x22, 0x12, 0xcf, 00218 0x9d, 0x92, 0xcb, 0x98, 0xc0, 0xba, 0x2d, 0x7c, 0x45, 0x44, 0xcf, 0x9a, 00219 0x07, 0x63, 0x8b, 0xba, 0xd5, 0x3c, 0x44, 0x91, 0x23, 0x5e, 0xcf, 0x7c, 00220 0xc1, 0x62, 0x36, 0x97, 0xa9, 0x25, 0x40, 0xc1, 0x1f, 0xf4, 0xfd, 0xa7, 00221 0x52, 0x75, 0x01, 0x5d, 0x24, 0xa9, 0x38, 0x9e, 0x7d, 0x6f, 0x53, 0xdf, 00222 0x4f, 0xe4, 0xcc, 0xab, 0x32, 0x3e, 0xea, 0x0f, 0x03, 0xc0, 0xc4, 0xb2, 00223 0xa0, 0x71, 0x2c, 0xe6, 0xad, 0xd8, 0x9b, 0x59, 0xb7, 0x66, 0x1c, 0x3b, 00224 0xe0, 0x95, 0x98, 0x5f, 0x26, 0x16, 0x79, 0xee, 0x4e, 0xbc, 0xc2, 0x2c, 00225 0x97, 0x88, 0x55, 0x1f, 0xe6, 0xa2, 0xcb, 0xc4, 0x96, 0x9a, 0x89, 0x4b, 00226 0xcb, 0x6f, 0x23, 0xee, 0x36, 0x1a, 0xab, 0x62, 0xe2, 0x52, 0xc5, 0x72, 00227 0x94, 0xdf, 0xbf, 0xb6, 0x10, 0xbb, 0xf2, 0xc8, 0x97, 0xb8, 0xa4, 0x6c, 00228 0xc6, 0x67, 0x7e, 0xaa, 0x51, 0x95, 0x71, 0xfa, 0x08, 0x7e, 0xa8, 0x37, 00229 0x62, 0xda, 0x9a, 0xba, 0xcb, 0x20, 0x23, 0x5f, 0x00, 0x00, 0x00, 0x00, 00230 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 00231 }; 00232 00233 static const unsigned char image8_data[] = { 00234 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 00235 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 00236 0x08, 0x06, 0x00, 0x00, 0x00, 0xc4, 0xb4, 0x6c, 0x3b, 0x00, 0x00, 0x00, 00237 0xd5, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0xc5, 0x95, 0x5d, 0x0a, 0x84, 00238 0x30, 0x0c, 0x84, 0x27, 0xe2, 0xa9, 0x0a, 0x9e, 0x6c, 0x8b, 0x0f, 0x4b, 00239 0x3d, 0xd9, 0x82, 0xd7, 0xca, 0x3e, 0x58, 0xd7, 0xfe, 0x4c, 0xd0, 0xba, 00240 0x5d, 0x76, 0x40, 0x02, 0x4d, 0xf2, 0x65, 0xda, 0x0a, 0x05, 0x7e, 0x24, 00241 0x39, 0xc9, 0xeb, 0x8d, 0x9e, 0xaa, 0x88, 0x41, 0xa0, 0xc9, 0xaa, 0xd8, 00242 0xc8, 0x2a, 0xb3, 0x2f, 0x9c, 0x42, 0x5b, 0xe1, 0xe3, 0x0e, 0x0d, 0xcf, 00243 0x00, 0xc0, 0x03, 0x08, 0xf0, 0xb3, 0xa7, 0xa0, 0x74, 0x10, 0xa9, 0xd7, 00244 0x14, 0x2e, 0x00, 0xb4, 0x2c, 0x5a, 0x5f, 0xab, 0x69, 0x6b, 0x97, 0x9b, 00245 0x1c, 0x83, 0x7f, 0xc0, 0xc3, 0x16, 0xb6, 0xe4, 0x16, 0x5b, 0x64, 0xf7, 00246 0x8d, 0x71, 0x63, 0x59, 0x91, 0x9b, 0xdc, 0x45, 0x70, 0xde, 0x47, 0xc0, 00247 0x47, 0x32, 0xdd, 0x5e, 0x5b, 0xcc, 0x35, 0xf0, 0xc9, 0x77, 0x62, 0xae, 00248 0x78, 0x79, 0x36, 0xdc, 0xcf, 0x75, 0x13, 0x57, 0x7e, 0x79, 0xf4, 0x8c, 00249 0x4b, 0x27, 0xaa, 0x0f, 0x13, 0x27, 0xb2, 0x40, 0xf5, 0x11, 0x7f, 0xcb, 00250 0xe3, 0x48, 0xaa, 0x33, 0xb6, 0xe0, 0x22, 0x4b, 0x05, 0x4d, 0x07, 0x46, 00251 0xb8, 0x02, 0x5e, 0x2e, 0x3b, 0x3e, 0x73, 0xcd, 0xe0, 0xdd, 0x1c, 0x97, 00252 0xf0, 0x2e, 0x8e, 0xd9, 0xd0, 0xaf, 0x1d, 0xb3, 0x81, 0x22, 0x4b, 0xdf, 00253 0x33, 0xee, 0xe6, 0x98, 0xa9, 0x34, 0xa0, 0xf6, 0x17, 0xb4, 0x55, 0x40, 00254 0xd0, 0x0b, 0xcf, 0x4c, 0xa0, 0x8f, 0xc0, 0xdf, 0xf4, 0x06, 0xe3, 0x25, 00255 0xc1, 0x98, 0x1b, 0xc4, 0x18, 0x76, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 00256 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 00257 }; 00258 00259 static const unsigned char image9_data[] = { 00260 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 00261 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 00262 0x08, 0x06, 0x00, 0x00, 0x00, 0xc4, 0xb4, 0x6c, 0x3b, 0x00, 0x00, 0x02, 00263 0x5d, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0xd5, 0x93, 0xa1, 0x72, 0xdb, 00264 0x40, 0x10, 0x86, 0x3f, 0x67, 0x0a, 0x56, 0xec, 0xc4, 0x22, 0x78, 0xd0, 00265 0x65, 0x36, 0x93, 0xa0, 0xc2, 0x1c, 0x68, 0xd6, 0xc2, 0xe6, 0x0d, 0xf2, 00266 0x1a, 0x81, 0x81, 0x11, 0x34, 0x94, 0x99, 0xc2, 0x54, 0xa8, 0x32, 0x9b, 00267 0x55, 0xf0, 0xe0, 0x89, 0xdd, 0xb1, 0x5b, 0xa6, 0x02, 0xb7, 0x9d, 0x66, 00268 0x92, 0xd6, 0x99, 0xb6, 0xd3, 0x99, 0xfe, 0xe8, 0x6e, 0x67, 0xe7, 0xdb, 00269 0x7f, 0x77, 0xef, 0xe0, 0x7f, 0xd3, 0xe2, 0xc7, 0x4b, 0xd7, 0x75, 0xb3, 00270 0x73, 0x0e, 0xef, 0x3d, 0x51, 0x15, 0x00, 0x23, 0x82, 0xb5, 0x16, 0x6b, 00271 0x2d, 0x57, 0x57, 0x57, 0x8b, 0x17, 0x29, 0xbf, 0x02, 0xb7, 0x6d, 0x3b, 00272 0x0f, 0x87, 0x03, 0xb9, 0x2d, 0x58, 0xae, 0xd7, 0x60, 0x04, 0x00, 0xef, 00273 0x1c, 0xe3, 0xc7, 0x03, 0x06, 0xa8, 0xaa, 0x8a, 0xeb, 0xeb, 0xeb, 0x57, 00274 0xc1, 0x17, 0xdf, 0xa0, 0x6d, 0xdb, 0x52, 0x5d, 0xd7, 0x54, 0xef, 0xb6, 00275 0x00, 0xa8, 0x2a, 0x49, 0x13, 0x8a, 0x12, 0x35, 0x32, 0xec, 0x3a, 0xc4, 00276 0x2b, 0x9b, 0xcd, 0xe6, 0x55, 0xce, 0x2f, 0xfa, 0xbe, 0x9f, 0x87, 0xc3, 00277 0x40, 0xfd, 0xe1, 0x3d, 0xcb, 0x4d, 0x8d, 0xaa, 0xa2, 0x4e, 0x48, 0xee, 00278 0x12, 0xc6, 0x82, 0x38, 0x08, 0xc1, 0x07, 0x96, 0x9b, 0x1a, 0x8a, 0x9c, 00279 0xe3, 0xf1, 0xf8, 0xaa, 0x51, 0x5c, 0x38, 0xe7, 0xc8, 0xad, 0xa5, 0xaa, 00280 0x6b, 0x00, 0xc4, 0x5f, 0x12, 0x9c, 0x67, 0xd2, 0x23, 0x93, 0x8c, 0x88, 00281 0xe6, 0xc8, 0x60, 0xd1, 0x18, 0xb1, 0xd5, 0x92, 0xd1, 0x39, 0xba, 0xae, 00282 0x9b, 0xcf, 0x83, 0xa7, 0x89, 0x65, 0xb5, 0x46, 0x51, 0x34, 0x80, 0x1b, 00283 0x1d, 0x2e, 0x1f, 0x49, 0x45, 0xc0, 0xe3, 0x50, 0x09, 0x64, 0x08, 0xea, 00284 0x15, 0x44, 0x90, 0xc2, 0xe0, 0xbd, 0x3f, 0xef, 0x58, 0x53, 0xc2, 0xe4, 00285 0x86, 0xa0, 0x01, 0x9f, 0x4d, 0x84, 0xf5, 0x84, 0x18, 0x41, 0x83, 0x62, 00286 0xb0, 0x40, 0x8e, 0x8b, 0x23, 0xc9, 0x24, 0x50, 0x10, 0x93, 0x31, 0x4d, 00287 0xd3, 0x59, 0xf0, 0x1b, 0x80, 0x98, 0x14, 0x11, 0x20, 0x25, 0x14, 0x40, 00288 0x15, 0xf1, 0x96, 0x4c, 0x0b, 0xbc, 0x1b, 0x48, 0x4b, 0x07, 0xe4, 0x68, 00289 0x88, 0x80, 0xc0, 0x29, 0xeb, 0xd7, 0x8e, 0x41, 0x41, 0xf5, 0xb4, 0x34, 00290 0xfd, 0x76, 0x86, 0x4c, 0x05, 0x3f, 0x1e, 0x08, 0x4b, 0x0f, 0x85, 0x80, 00291 0x26, 0x54, 0x40, 0x63, 0x40, 0x44, 0xce, 0x83, 0x8b, 0xbc, 0xc0, 0x39, 00292 0x87, 0xa6, 0x13, 0x50, 0xa3, 0xa2, 0x28, 0x5e, 0x1d, 0x5a, 0x44, 0x14, 00293 0xd0, 0x70, 0x8a, 0xa5, 0x98, 0x08, 0x21, 0x62, 0xad, 0x3d, 0x0f, 0xb6, 00294 0xd6, 0xe2, 0x87, 0xcf, 0xa4, 0x98, 0x50, 0x8d, 0x27, 0x40, 0x50, 0x44, 00295 0x73, 0x70, 0x42, 0x8c, 0x91, 0xaf, 0x8d, 0x10, 0xfd, 0x44, 0x81, 0x60, 00296 0x8c, 0x39, 0x0b, 0x5e, 0x00, 0xdc, 0xdd, 0xdd, 0xcd, 0x8e, 0x80, 0xa9, 00297 0xde, 0x42, 0x02, 0x48, 0xe8, 0x04, 0x84, 0x08, 0x56, 0xf0, 0x3e, 0x02, 00298 0x90, 0x7d, 0x72, 0x94, 0x65, 0xc9, 0xba, 0x5a, 0xe3, 0x46, 0x87, 0x31, 00299 0xe6, 0xa7, 0x9f, 0xe5, 0x02, 0x60, 0xb5, 0x5a, 0x61, 0x02, 0xc4, 0xee, 00300 0x40, 0xa6, 0x89, 0x4c, 0x33, 0xf2, 0xcb, 0x0c, 0xb1, 0x06, 0x51, 0x28, 00301 0x14, 0xf8, 0xf8, 0x99, 0xb2, 0x2c, 0xb9, 0xb9, 0xb9, 0x59, 0xb8, 0xd1, 00302 0xf1, 0xf8, 0xf8, 0x48, 0xd3, 0x34, 0xb4, 0x6d, 0xfb, 0xe2, 0x9b, 0xfe, 00303 0x5e, 0xad, 0xef, 0xfb, 0xf9, 0x78, 0x3c, 0x32, 0x3a, 0x87, 0x18, 0x81, 00304 0xec, 0xb4, 0x20, 0x0d, 0x11, 0x51, 0xa8, 0xeb, 0x9a, 0xed, 0x76, 0xbb, 00305 0x00, 0x18, 0x86, 0x61, 0xee, 0xba, 0x8e, 0xfd, 0x7e, 0x8f, 0x31, 0x86, 00306 0xed, 0x76, 0xcb, 0x6a, 0xb5, 0x7a, 0xe2, 0xfe, 0x59, 0x1b, 0x5d, 0xd7, 00307 0xcd, 0xde, 0x7b, 0x62, 0x8c, 0x88, 0x08, 0x79, 0x9e, 0x63, 0xad, 0xa5, 00308 0xaa, 0xaa, 0x67, 0xb9, 0xbb, 0xdd, 0x6e, 0x6e, 0x9a, 0x06, 0xef, 0x3d, 00309 0x75, 0x5d, 0x3f, 0x29, 0xfe, 0xc7, 0xea, 0xfb, 0x7e, 0xbe, 0xbd, 0xbd, 00310 0x9d, 0xad, 0xb5, 0x73, 0x59, 0x96, 0xf3, 0xfd, 0xfd, 0xfd, 0xfc, 0xa2, 00311 0xe3, 0xdf, 0xd5, 0xc3, 0xc3, 0xc3, 0xdc, 0x34, 0x0d, 0xd3, 0x34, 0xb1, 00312 0xd9, 0x6c, 0xfe, 0x1e, 0x18, 0x4e, 0x63, 0xdc, 0xef, 0xf7, 0xa4, 0x94, 00313 0xfe, 0x26, 0xf6, 0x1f, 0xe9, 0x0b, 0xbc, 0x4c, 0x5e, 0x59, 0xd6, 0x14, 00314 0xca, 0xf4, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 00315 0x60, 0x82 00316 }; 00317 00318 00319 /* 00320 * Constructs a RobotHeadForm as a child of 'parent', with the 00321 * name 'name' and widget flags set to 'f'. 00322 * 00323 */ 00324 RobotHeadForm::RobotHeadForm( QWidget* parent, const char* name, WFlags fl ) 00325 : QMainWindow( parent, name, fl ) 00326 { 00327 (void)statusBar(); 00328 QImage img; 00329 img.loadFromData( image0_data, sizeof( image0_data ), "PNG" ); 00330 image0 = img; 00331 img.loadFromData( image1_data, sizeof( image1_data ), "PNG" ); 00332 image1 = img; 00333 img.loadFromData( image2_data, sizeof( image2_data ), "PNG" ); 00334 image2 = img; 00335 img.loadFromData( image3_data, sizeof( image3_data ), "PNG" ); 00336 image3 = img; 00337 img.loadFromData( image4_data, sizeof( image4_data ), "PNG" ); 00338 image4 = img; 00339 img.loadFromData( image5_data, sizeof( image5_data ), "PNG" ); 00340 image5 = img; 00341 img.loadFromData( image6_data, sizeof( image6_data ), "PNG" ); 00342 image6 = img; 00343 img.loadFromData( image7_data, sizeof( image7_data ), "PNG" ); 00344 image7 = img; 00345 img.loadFromData( image8_data, sizeof( image8_data ), "PNG" ); 00346 image8 = img; 00347 img.loadFromData( image9_data, sizeof( image9_data ), "PNG" ); 00348 image9 = img; 00349 if ( !name ) 00350 setName( "RobotHeadForm" ); 00351 setCentralWidget( new QWidget( this, "qt_central_widget" ) ); 00352 RobotHeadFormLayout = new QVBoxLayout( centralWidget(), 11, 6, "RobotHeadFormLayout"); 00353 00354 tabWidget2 = new QTabWidget( centralWidget(), "tabWidget2" ); 00355 tabWidget2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, tabWidget2->sizePolicy().hasHeightForWidth() ) ); 00356 00357 tab = new QWidget( tabWidget2, "tab" ); 00358 tabLayout = new QVBoxLayout( tab, 11, 6, "tabLayout"); 00359 00360 layout7 = new QHBoxLayout( 0, 0, 6, "layout7"); 00361 00362 groupBox1 = new QGroupBox( tab, "groupBox1" ); 00363 groupBox1->setColumnLayout(0, Qt::Vertical ); 00364 groupBox1->layout()->setSpacing( 6 ); 00365 groupBox1->layout()->setMargin( 11 ); 00366 groupBox1Layout = new QGridLayout( groupBox1->layout() ); 00367 groupBox1Layout->setAlignment( Qt::AlignTop ); 00368 00369 textLabel1 = new QLabel( groupBox1, "textLabel1" ); 00370 00371 groupBox1Layout->addWidget( textLabel1, 0, 0 ); 00372 00373 leftEyePanDisp = new QLineEdit( groupBox1, "leftEyePanDisp" ); 00374 leftEyePanDisp->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, leftEyePanDisp->sizePolicy().hasHeightForWidth() ) ); 00375 00376 groupBox1Layout->addWidget( leftEyePanDisp, 0, 2 ); 00377 00378 leftEyeTiltSlide = new QSlider( groupBox1, "leftEyeTiltSlide" ); 00379 leftEyeTiltSlide->setMinValue( -100 ); 00380 leftEyeTiltSlide->setMaxValue( 100 ); 00381 leftEyeTiltSlide->setOrientation( QSlider::Horizontal ); 00382 00383 groupBox1Layout->addWidget( leftEyeTiltSlide, 1, 1 ); 00384 00385 leftEyeTiltDisp = new QLineEdit( groupBox1, "leftEyeTiltDisp" ); 00386 leftEyeTiltDisp->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, leftEyeTiltDisp->sizePolicy().hasHeightForWidth() ) ); 00387 00388 groupBox1Layout->addWidget( leftEyeTiltDisp, 1, 2 ); 00389 00390 textLabel2 = new QLabel( groupBox1, "textLabel2" ); 00391 00392 groupBox1Layout->addWidget( textLabel2, 1, 0 ); 00393 00394 leftEyePanSlide = new QSlider( groupBox1, "leftEyePanSlide" ); 00395 leftEyePanSlide->setMinValue( -100 ); 00396 leftEyePanSlide->setMaxValue( 100 ); 00397 leftEyePanSlide->setOrientation( QSlider::Horizontal ); 00398 00399 groupBox1Layout->addWidget( leftEyePanSlide, 0, 1 ); 00400 layout7->addWidget( groupBox1 ); 00401 00402 groupBox1_2 = new QGroupBox( tab, "groupBox1_2" ); 00403 groupBox1_2->setColumnLayout(0, Qt::Vertical ); 00404 groupBox1_2->layout()->setSpacing( 6 ); 00405 groupBox1_2->layout()->setMargin( 11 ); 00406 groupBox1_2Layout = new QGridLayout( groupBox1_2->layout() ); 00407 groupBox1_2Layout->setAlignment( Qt::AlignTop ); 00408 00409 textLabel1_2 = new QLabel( groupBox1_2, "textLabel1_2" ); 00410 00411 groupBox1_2Layout->addWidget( textLabel1_2, 0, 0 ); 00412 00413 rightEyePanDisp = new QLineEdit( groupBox1_2, "rightEyePanDisp" ); 00414 rightEyePanDisp->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, rightEyePanDisp->sizePolicy().hasHeightForWidth() ) ); 00415 00416 groupBox1_2Layout->addWidget( rightEyePanDisp, 0, 2 ); 00417 00418 rightEyeTiltSlide = new QSlider( groupBox1_2, "rightEyeTiltSlide" ); 00419 rightEyeTiltSlide->setMinValue( -100 ); 00420 rightEyeTiltSlide->setMaxValue( 100 ); 00421 rightEyeTiltSlide->setOrientation( QSlider::Horizontal ); 00422 00423 groupBox1_2Layout->addWidget( rightEyeTiltSlide, 1, 1 ); 00424 00425 rightEyeTiltDisp = new QLineEdit( groupBox1_2, "rightEyeTiltDisp" ); 00426 rightEyeTiltDisp->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, rightEyeTiltDisp->sizePolicy().hasHeightForWidth() ) ); 00427 00428 groupBox1_2Layout->addWidget( rightEyeTiltDisp, 1, 2 ); 00429 00430 textLabel2_2 = new QLabel( groupBox1_2, "textLabel2_2" ); 00431 00432 groupBox1_2Layout->addWidget( textLabel2_2, 1, 0 ); 00433 00434 rightEyePanSlide = new QSlider( groupBox1_2, "rightEyePanSlide" ); 00435 rightEyePanSlide->setMinValue( -100 ); 00436 rightEyePanSlide->setMaxValue( 100 ); 00437 rightEyePanSlide->setOrientation( QSlider::Horizontal ); 00438 00439 groupBox1_2Layout->addWidget( rightEyePanSlide, 0, 1 ); 00440 layout7->addWidget( groupBox1_2 ); 00441 tabLayout->addLayout( layout7 ); 00442 00443 groupBox1_3 = new QGroupBox( tab, "groupBox1_3" ); 00444 groupBox1_3->setColumnLayout(0, Qt::Vertical ); 00445 groupBox1_3->layout()->setSpacing( 6 ); 00446 groupBox1_3->layout()->setMargin( 11 ); 00447 groupBox1_3Layout = new QGridLayout( groupBox1_3->layout() ); 00448 groupBox1_3Layout->setAlignment( Qt::AlignTop ); 00449 00450 textLabel1_3 = new QLabel( groupBox1_3, "textLabel1_3" ); 00451 00452 groupBox1_3Layout->addWidget( textLabel1_3, 0, 0 ); 00453 00454 headPanDisp = new QLineEdit( groupBox1_3, "headPanDisp" ); 00455 headPanDisp->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, headPanDisp->sizePolicy().hasHeightForWidth() ) ); 00456 00457 groupBox1_3Layout->addWidget( headPanDisp, 0, 2 ); 00458 00459 headPanSlide = new QSlider( groupBox1_3, "headPanSlide" ); 00460 headPanSlide->setMinValue( -100 ); 00461 headPanSlide->setMaxValue( 100 ); 00462 headPanSlide->setOrientation( QSlider::Horizontal ); 00463 00464 groupBox1_3Layout->addWidget( headPanSlide, 0, 1 ); 00465 00466 textLabel2_3 = new QLabel( groupBox1_3, "textLabel2_3" ); 00467 00468 groupBox1_3Layout->addWidget( textLabel2_3, 1, 0 ); 00469 00470 headTiltSlide = new QSlider( groupBox1_3, "headTiltSlide" ); 00471 headTiltSlide->setMinValue( -100 ); 00472 headTiltSlide->setMaxValue( 100 ); 00473 headTiltSlide->setOrientation( QSlider::Horizontal ); 00474 00475 groupBox1_3Layout->addWidget( headTiltSlide, 1, 1 ); 00476 00477 headTiltDisp = new QLineEdit( groupBox1_3, "headTiltDisp" ); 00478 headTiltDisp->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, headTiltDisp->sizePolicy().hasHeightForWidth() ) ); 00479 00480 groupBox1_3Layout->addWidget( headTiltDisp, 1, 2 ); 00481 00482 headYawDisp = new QLineEdit( groupBox1_3, "headYawDisp" ); 00483 headYawDisp->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, 0, 0, headYawDisp->sizePolicy().hasHeightForWidth() ) ); 00484 00485 groupBox1_3Layout->addWidget( headYawDisp, 2, 2 ); 00486 00487 headYawSlide = new QSlider( groupBox1_3, "headYawSlide" ); 00488 headYawSlide->setMinValue( -100 ); 00489 headYawSlide->setMaxValue( 100 ); 00490 headYawSlide->setOrientation( QSlider::Horizontal ); 00491 00492 groupBox1_3Layout->addWidget( headYawSlide, 2, 1 ); 00493 00494 textLabel2_3_2 = new QLabel( groupBox1_3, "textLabel2_3_2" ); 00495 00496 groupBox1_3Layout->addWidget( textLabel2_3_2, 2, 0 ); 00497 tabLayout->addWidget( groupBox1_3 ); 00498 00499 layout3 = new QHBoxLayout( 0, 0, 6, "layout3"); 00500 spacer1 = new QSpacerItem( 291, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); 00501 layout3->addItem( spacer1 ); 00502 00503 restPosButton = new QPushButton( tab, "restPosButton" ); 00504 layout3->addWidget( restPosButton ); 00505 00506 relaxNeckButton = new QPushButton( tab, "relaxNeckButton" ); 00507 layout3->addWidget( relaxNeckButton ); 00508 tabLayout->addLayout( layout3 ); 00509 tabWidget2->insertTab( tab, QString::fromLatin1("") ); 00510 00511 tab_2 = new QWidget( tabWidget2, "tab_2" ); 00512 tabWidget2->insertTab( tab_2, QString::fromLatin1("") ); 00513 RobotHeadFormLayout->addWidget( tabWidget2 ); 00514 00515 // actions 00516 fileNewAction = new QAction( this, "fileNewAction" ); 00517 fileNewAction->setIconSet( QIconSet( image0 ) ); 00518 fileOpenAction = new QAction( this, "fileOpenAction" ); 00519 fileOpenAction->setIconSet( QIconSet( image1 ) ); 00520 fileSaveAction = new QAction( this, "fileSaveAction" ); 00521 fileSaveAction->setIconSet( QIconSet( image2 ) ); 00522 fileSaveAsAction = new QAction( this, "fileSaveAsAction" ); 00523 filePrintAction = new QAction( this, "filePrintAction" ); 00524 filePrintAction->setIconSet( QIconSet( image3 ) ); 00525 fileExitAction = new QAction( this, "fileExitAction" ); 00526 editUndoAction = new QAction( this, "editUndoAction" ); 00527 editUndoAction->setIconSet( QIconSet( image4 ) ); 00528 editRedoAction = new QAction( this, "editRedoAction" ); 00529 editRedoAction->setIconSet( QIconSet( image5 ) ); 00530 editCutAction = new QAction( this, "editCutAction" ); 00531 editCutAction->setIconSet( QIconSet( image6 ) ); 00532 editCopyAction = new QAction( this, "editCopyAction" ); 00533 editCopyAction->setIconSet( QIconSet( image7 ) ); 00534 editPasteAction = new QAction( this, "editPasteAction" ); 00535 editPasteAction->setIconSet( QIconSet( image8 ) ); 00536 editFindAction = new QAction( this, "editFindAction" ); 00537 editFindAction->setIconSet( QIconSet( image9 ) ); 00538 helpContentsAction = new QAction( this, "helpContentsAction" ); 00539 helpIndexAction = new QAction( this, "helpIndexAction" ); 00540 helpAboutAction = new QAction( this, "helpAboutAction" ); 00541 00542 00543 // toolbars 00544 00545 00546 // menubar 00547 MenuBar = new QMenuBar( this, "MenuBar" ); 00548 00549 00550 fileMenu = new QPopupMenu( this ); 00551 fileNewAction->addTo( fileMenu ); 00552 fileOpenAction->addTo( fileMenu ); 00553 fileSaveAction->addTo( fileMenu ); 00554 fileSaveAsAction->addTo( fileMenu ); 00555 fileMenu->insertSeparator(); 00556 filePrintAction->addTo( fileMenu ); 00557 fileMenu->insertSeparator(); 00558 fileExitAction->addTo( fileMenu ); 00559 MenuBar->insertItem( QString(""), fileMenu, 1 ); 00560 00561 editMenu = new QPopupMenu( this ); 00562 editUndoAction->addTo( editMenu ); 00563 editRedoAction->addTo( editMenu ); 00564 editMenu->insertSeparator(); 00565 editCutAction->addTo( editMenu ); 00566 editCopyAction->addTo( editMenu ); 00567 editPasteAction->addTo( editMenu ); 00568 editMenu->insertSeparator(); 00569 editFindAction->addTo( editMenu ); 00570 MenuBar->insertItem( QString(""), editMenu, 2 ); 00571 00572 helpMenu = new QPopupMenu( this ); 00573 helpContentsAction->addTo( helpMenu ); 00574 helpIndexAction->addTo( helpMenu ); 00575 helpMenu->insertSeparator(); 00576 helpAboutAction->addTo( helpMenu ); 00577 MenuBar->insertItem( QString(""), helpMenu, 3 ); 00578 00579 languageChange(); 00580 resize( QSize(696, 576).expandedTo(minimumSizeHint()) ); 00581 clearWState( WState_Polished ); 00582 00583 // signals and slots connections 00584 connect( fileNewAction, SIGNAL( activated() ), this, SLOT( fileNew() ) ); 00585 connect( fileOpenAction, SIGNAL( activated() ), this, SLOT( fileOpen() ) ); 00586 connect( fileSaveAction, SIGNAL( activated() ), this, SLOT( fileSave() ) ); 00587 connect( fileSaveAsAction, SIGNAL( activated() ), this, SLOT( fileSaveAs() ) ); 00588 connect( filePrintAction, SIGNAL( activated() ), this, SLOT( filePrint() ) ); 00589 connect( fileExitAction, SIGNAL( activated() ), this, SLOT( close() ) ); 00590 connect( editUndoAction, SIGNAL( activated() ), this, SLOT( editUndo() ) ); 00591 connect( editRedoAction, SIGNAL( activated() ), this, SLOT( editRedo() ) ); 00592 connect( editCutAction, SIGNAL( activated() ), this, SLOT( editCut() ) ); 00593 connect( editPasteAction, SIGNAL( activated() ), this, SLOT( editPaste() ) ); 00594 connect( editFindAction, SIGNAL( activated() ), this, SLOT( editFind() ) ); 00595 connect( helpIndexAction, SIGNAL( activated() ), this, SLOT( helpIndex() ) ); 00596 connect( helpContentsAction, SIGNAL( activated() ), this, SLOT( helpContents() ) ); 00597 connect( helpAboutAction, SIGNAL( activated() ), this, SLOT( helpAbout() ) ); 00598 connect( leftEyePanSlide, SIGNAL( sliderMoved(int) ), this, SLOT( moveLeftEyePan(int) ) ); 00599 connect( leftEyeTiltSlide, SIGNAL( sliderMoved(int) ), this, SLOT( moveLeftEyeTilt(int) ) ); 00600 connect( rightEyePanSlide, SIGNAL( sliderMoved(int) ), this, SLOT( moveRightEyePan(int) ) ); 00601 connect( rightEyeTiltSlide, SIGNAL( sliderMoved(int) ), this, SLOT( moveRightEyeTilt(int) ) ); 00602 connect( headPanSlide, SIGNAL( sliderMoved(int) ), this, SLOT( moveHeadPan(int) ) ); 00603 connect( headTiltSlide, SIGNAL( sliderMoved(int) ), this, SLOT( moveHeadTilt(int) ) ); 00604 connect( headYawSlide, SIGNAL( sliderMoved(int) ), this, SLOT( moveHeadYaw(int) ) ); 00605 connect( relaxNeckButton, SIGNAL( clicked() ), this, SLOT( relaxNeck() ) ); 00606 connect( restPosButton, SIGNAL( clicked() ), this, SLOT( restPos() ) ); 00607 } 00608 00609 /* 00610 * Destroys the object and frees any allocated resources 00611 */ 00612 RobotHeadForm::~RobotHeadForm() 00613 { 00614 // no need to delete child widgets, Qt does it all for us 00615 } 00616 00617 /* 00618 * Sets the strings of the subwidgets using the current 00619 * language. 00620 */ 00621 void RobotHeadForm::languageChange() 00622 { 00623 setCaption( tr( "Form1" ) ); 00624 groupBox1->setTitle( tr( "Left Eye" ) ); 00625 textLabel1->setText( tr( "Pan:" ) ); 00626 leftEyePanDisp->setText( tr( "0" ) ); 00627 leftEyeTiltDisp->setText( tr( "0" ) ); 00628 textLabel2->setText( tr( "Tilt:" ) ); 00629 groupBox1_2->setTitle( tr( "Right Eye" ) ); 00630 textLabel1_2->setText( tr( "Pan:" ) ); 00631 rightEyePanDisp->setText( tr( "0" ) ); 00632 rightEyeTiltDisp->setText( tr( "0" ) ); 00633 textLabel2_2->setText( tr( "Tilt:" ) ); 00634 groupBox1_3->setTitle( tr( "Head" ) ); 00635 textLabel1_3->setText( tr( "Pan:" ) ); 00636 headPanDisp->setText( tr( "0" ) ); 00637 textLabel2_3->setText( tr( "Tilt:" ) ); 00638 headTiltDisp->setText( tr( "0" ) ); 00639 headYawDisp->setText( tr( "0" ) ); 00640 textLabel2_3_2->setText( tr( "Yaw:" ) ); 00641 restPosButton->setText( tr( "Rest \n" 00642 "Position" ) ); 00643 relaxNeckButton->setText( tr( "relax\n" 00644 "neck" ) ); 00645 tabWidget2->changeTab( tab, tr( "Head Control" ) ); 00646 tabWidget2->changeTab( tab_2, tr( "Head Calibrate" ) ); 00647 fileNewAction->setText( tr( "New" ) ); 00648 fileNewAction->setMenuText( tr( "&New" ) ); 00649 fileNewAction->setAccel( tr( "Ctrl+N" ) ); 00650 fileOpenAction->setText( tr( "Open" ) ); 00651 fileOpenAction->setMenuText( tr( "&Open..." ) ); 00652 fileOpenAction->setAccel( tr( "Ctrl+O" ) ); 00653 fileSaveAction->setText( tr( "Save" ) ); 00654 fileSaveAction->setMenuText( tr( "&Save" ) ); 00655 fileSaveAction->setAccel( tr( "Ctrl+S" ) ); 00656 fileSaveAsAction->setText( tr( "Save As" ) ); 00657 fileSaveAsAction->setMenuText( tr( "Save &As..." ) ); 00658 fileSaveAsAction->setAccel( QString::null ); 00659 filePrintAction->setText( tr( "Print" ) ); 00660 filePrintAction->setMenuText( tr( "&Print..." ) ); 00661 filePrintAction->setAccel( tr( "Ctrl+P" ) ); 00662 fileExitAction->setText( tr( "Exit" ) ); 00663 fileExitAction->setMenuText( tr( "E&xit" ) ); 00664 fileExitAction->setAccel( QString::null ); 00665 editUndoAction->setText( tr( "Undo" ) ); 00666 editUndoAction->setMenuText( tr( "&Undo" ) ); 00667 editUndoAction->setAccel( tr( "Ctrl+Z" ) ); 00668 editRedoAction->setText( tr( "Redo" ) ); 00669 editRedoAction->setMenuText( tr( "&Redo" ) ); 00670 editRedoAction->setAccel( tr( "Ctrl+Y" ) ); 00671 editCutAction->setText( tr( "Cut" ) ); 00672 editCutAction->setMenuText( tr( "Cu&t" ) ); 00673 editCutAction->setAccel( tr( "Ctrl+X" ) ); 00674 editCopyAction->setText( tr( "Copy" ) ); 00675 editCopyAction->setMenuText( tr( "&Copy" ) ); 00676 editCopyAction->setAccel( tr( "Ctrl+C" ) ); 00677 editPasteAction->setText( tr( "Paste" ) ); 00678 editPasteAction->setMenuText( tr( "&Paste" ) ); 00679 editPasteAction->setAccel( tr( "Ctrl+V" ) ); 00680 editFindAction->setText( tr( "Find" ) ); 00681 editFindAction->setMenuText( tr( "&Find..." ) ); 00682 editFindAction->setAccel( tr( "Ctrl+F" ) ); 00683 helpContentsAction->setText( tr( "Contents" ) ); 00684 helpContentsAction->setMenuText( tr( "&Contents..." ) ); 00685 helpContentsAction->setAccel( QString::null ); 00686 helpIndexAction->setText( tr( "Index" ) ); 00687 helpIndexAction->setMenuText( tr( "&Index..." ) ); 00688 helpIndexAction->setAccel( QString::null ); 00689 helpAboutAction->setText( tr( "About" ) ); 00690 helpAboutAction->setMenuText( tr( "&About" ) ); 00691 helpAboutAction->setAccel( QString::null ); 00692 if (MenuBar->findItem(1)) 00693 MenuBar->findItem(1)->setText( tr( "&File" ) ); 00694 if (MenuBar->findItem(2)) 00695 MenuBar->findItem(2)->setText( tr( "&Edit" ) ); 00696 if (MenuBar->findItem(3)) 00697 MenuBar->findItem(3)->setText( tr( "&Help" ) ); 00698 } 00699