Projects/ds4clonerestore/ds4clonerestore/src/clonedlg.cpp

00001 #include <kdialog.h>
00002 #include <klocale.h>
00003 /****************************************************************************
00004 ** Form implementation generated from reading ui file './clonedlg.ui'
00005 **
00006 ** Created: Wed Jun 13 18:54:40 2007
00007 **      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.7   edited Aug 31 2005 $)
00008 **
00009 ** WARNING! All changes made in this file will be lost!
00010 ****************************************************************************/
00011 
00012 #include "clonedlg.h"
00013 
00014 #include <qvariant.h>
00015 #include <qgroupbox.h>
00016 #include <kled.h>
00017 #include <qpushbutton.h>
00018 #include <qlineedit.h>
00019 #include <qlabel.h>
00020 #include <qlayout.h>
00021 #include <qtooltip.h>
00022 #include <qwhatsthis.h>
00023 #include <qimage.h>
00024 #include <qpixmap.h>
00025 
00026 static const unsigned char img0_clonedlg[] = { 
00027     0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
00028     0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x20,
00029     0x08, 0x06, 0x00, 0x00, 0x00, 0x73, 0x7a, 0x7a, 0xf4, 0x00, 0x00, 0x04,
00030     0xc9, 0x49, 0x44, 0x41, 0x54, 0x58, 0x85, 0xad, 0x96, 0x7f, 0x4c, 0xd4,
00031     0x65, 0x1c, 0xc7, 0x5f, 0xc7, 0xc1, 0x1d, 0x07, 0x9c, 0x27, 0x6a, 0xa0,
00032     0x88, 0x68, 0xae, 0xcc, 0x08, 0xad, 0x4d, 0xcd, 0x5f, 0x39, 0x4d, 0x44,
00033     0xb1, 0x1f, 0x96, 0x52, 0x8a, 0x9e, 0xa8, 0xb3, 0x24, 0x25, 0x35, 0x15,
00034     0x4b, 0xc3, 0x66, 0x83, 0xc9, 0xb4, 0x8d, 0x9a, 0xce, 0xcd, 0x52, 0xca,
00035     0xd2, 0xdc, 0x4a, 0x9d, 0xd5, 0xc4, 0xa5, 0x8c, 0xca, 0x0d, 0x99, 0xe9,
00036     0x74, 0x6b, 0x92, 0x64, 0x89, 0x68, 0xce, 0x26, 0xa2, 0x20, 0xdc, 0x79,
00037     0x3f, 0xe5, 0xe0, 0xd3, 0x1f, 0x5f, 0x0e, 0xee, 0xe0, 0xee, 0xb8, 0x03,
00038     0x3f, 0xdb, 0xb3, 0x3d, 0xcf, 0xf3, 0xf9, 0x3c, 0xcf, 0xe7, 0xf5, 0x7d,
00039     0x3f, 0x9f, 0xe7, 0xfb, 0xfd, 0x42, 0x2f, 0xcc, 0xb8, 0xd9, 0x26, 0xc6,
00040     0xcd, 0x36, 0xe9, 0xcd, 0x1e, 0xaa, 0x9e, 0x2c, 0xda, 0xb0, 0x47, 0xc4,
00041     0x62, 0x02, 0xab, 0xc9, 0x0e, 0x40, 0xb4, 0x41, 0x47, 0x8c, 0x01, 0x3e,
00042     0xcb, 0x51, 0x85, 0xbc, 0x5f, 0xc8, 0x0b, 0x96, 0xe6, 0x8b, 0xd4, 0xdf,
00043     0x85, 0x87, 0xcd, 0xa0, 0x0e, 0x83, 0x48, 0x2d, 0x44, 0x6a, 0x5c, 0xa8,
00044     0xd5, 0xcd, 0x44, 0x1b, 0x74, 0xec, 0xfb, 0x30, 0x34, 0x88, 0xa0, 0x83,
00045     0x33, 0x36, 0x89, 0x5c, 0xbf, 0x01, 0x5a, 0x0d, 0x4c, 0x1a, 0xf5, 0x17,
00046     0xc3, 0x87, 0x5e, 0x20, 0x4a, 0x63, 0xe2, 0x72, 0xcd, 0x74, 0x6e, 0xd6,
00047     0xa6, 0x10, 0xa9, 0xb1, 0xb7, 0xc7, 0x86, 0x02, 0xd2, 0x6d, 0xd0, 0xe2,
00048     0xad, 0x22, 0xd5, 0xd7, 0x60, 0x4c, 0xf2, 0x4d, 0x3e, 0xdd, 0x38, 0x8a,
00049     0x48, 0xed, 0x03, 0x2f, 0x7f, 0xc1, 0xde, 0x5f, 0xa9, 0xbc, 0x3a, 0x1d,
00050     0xad, 0xc6, 0x01, 0x6d, 0xd5, 0xa0, 0x52, 0x49, 0xd0, 0x20, 0x7e, 0x9d,
00051     0x1b, 0xf6, 0x88, 0x34, 0xd6, 0x43, 0xd5, 0x15, 0xf8, 0x64, 0xfd, 0x32,
00052     0xa6, 0x8d, 0x3b, 0x00, 0x40, 0x49, 0x79, 0x2e, 0x5f, 0xff, 0x50, 0x44,
00053     0x83, 0x19, 0x62, 0x22, 0xe1, 0x66, 0x2d, 0x84, 0xab, 0xc1, 0xee, 0x84,
00054     0xf0, 0x70, 0x70, 0xb9, 0x20, 0x26, 0x0a, 0x06, 0xc4, 0x82, 0x21, 0x06,
00055     0x62, 0x07, 0x10, 0xb0, 0x3e, 0x7c, 0x4e, 0x66, 0x6f, 0x17, 0xb1, 0x9a,
00056     0xec, 0x3c, 0xb0, 0xea, 0x78, 0x6e, 0x64, 0x39, 0xf9, 0x39, 0x53, 0x01,
00057     0x48, 0xcb, 0x16, 0x2e, 0x5f, 0x83, 0xc7, 0x62, 0x95, 0x1a, 0xd0, 0x84,
00058     0xc3, 0xfc, 0xd9, 0x65, 0x2c, 0x9d, 0xb3, 0x9e, 0x21, 0xf1, 0x55, 0xed,
00059     0xeb, 0xad, 0x8e, 0xbe, 0x14, 0x16, 0x9f, 0xe4, 0xb7, 0x73, 0x13, 0x48,
00060     0x88, 0x83, 0xa8, 0x48, 0xbb, 0x5f, 0x35, 0xbc, 0x26, 0xde, 0xdc, 0x2d,
00061     0xa2, 0xae, 0x6d, 0x46, 0xdd, 0xea, 0x02, 0xc0, 0x6c, 0xd5, 0x91, 0x3e,
00062     0xe9, 0x00, 0x39, 0x99, 0xcb, 0x00, 0x38, 0x75, 0x66, 0x2d, 0x3f, 0x57,
00063     0xac, 0x25, 0x69, 0xf0, 0x25, 0xe6, 0xa7, 0xe5, 0x93, 0x34, 0xa8, 0x32,
00064     0x90, 0xba, 0x94, 0xfd, 0x9e, 0x4d, 0x61, 0xf1, 0x5e, 0x12, 0xe3, 0x95,
00065     0xfa, 0x68, 0x69, 0x0d, 0xa7, 0x45, 0x1d, 0xc1, 0xd1, 0xed, 0x1d, 0x20,
00066     0xed, 0x9d, 0x8b, 0x23, 0x5e, 0x95, 0x2d, 0xcb, 0x8e, 0x63, 0x8a, 0x81,
00067     0xf8, 0x46, 0x88, 0x76, 0x38, 0x71, 0x3a, 0xb5, 0xdc, 0xae, 0x83, 0x43,
00068     0x3b, 0x9e, 0x67, 0x78, 0xe2, 0x05, 0x9f, 0x49, 0xea, 0x1b, 0x87, 0x52,
00069     0x7c, 0x6c, 0x2f, 0x87, 0x4b, 0x67, 0xd1, 0xd0, 0x04, 0x16, 0x1b, 0xfc,
00070     0x5d, 0xf2, 0x04, 0xf1, 0xfd, 0x6a, 0x00, 0x18, 0x9b, 0x29, 0x3c, 0x35,
00071     0xcc, 0x89, 0xd5, 0xae, 0xa5, 0xae, 0x01, 0x0c, 0x7a, 0x28, 0x5c, 0x33,
00072     0x87, 0xb1, 0xcf, 0x94, 0xa8, 0xbc, 0x00, 0xa4, 0xad, 0x84, 0x4e, 0x8d,
00073     0x59, 0xc5, 0xd6, 0xe5, 0x7b, 0x88, 0x72, 0x40, 0x7f, 0x13, 0xb8, 0x9a,
00074     0xe0, 0x4e, 0x3d, 0x24, 0xc6, 0xc1, 0xdc, 0xd4, 0x22, 0x92, 0x12, 0x2a,
00075     0x71, 0x35, 0x47, 0x70, 0xf6, 0xd2, 0x22, 0x8e, 0x95, 0xa5, 0xd2, 0xd2,
00076     0x0a, 0xfd, 0x0c, 0xa0, 0x89, 0x00, 0xb3, 0x05, 0x1a, 0xcc, 0x50, 0xad,
00077     0xec, 0xcd, 0x95, 0x9a, 0x69, 0x2c, 0xf9, 0xe8, 0x34, 0xd1, 0x3a, 0xb0,
00078     0xd9, 0xa1, 0x60, 0x4d, 0x0e, 0xe9, 0x93, 0x3e, 0x57, 0x9e, 0x5c, 0x85,
00079     0x6f, 0x00, 0xb7, 0xed, 0x9c, 0xf5, 0x1d, 0x5f, 0xcd, 0xcb, 0x64, 0x50,
00080     0x23, 0xe8, 0x4d, 0xe0, 0xb2, 0x82, 0xd5, 0x06, 0x8e, 0x87, 0x8a, 0xdf,
00081     0xf9, 0x50, 0x29, 0xbe, 0x48, 0x0d, 0x54, 0xdf, 0x82, 0x27, 0x93, 0xe0,
00082     0xdd, 0xcc, 0x02, 0xde, 0x48, 0xfb, 0x18, 0x80, 0xea, 0x5b, 0xe3, 0x49,
00083     0x7b, 0xfb, 0x1c, 0xaa, 0x30, 0x78, 0x6f, 0xf1, 0xf7, 0xac, 0x33, 0x2e,
00084     0xf4, 0x52, 0x2e, 0x30, 0x40, 0x16, 0xf0, 0xad, 0xd2, 0x5d, 0xb9, 0xf2,
00085     0x3f, 0xce, 0x3f, 0x3b, 0x98, 0x84, 0x06, 0xe8, 0x63, 0x53, 0xea, 0xc3,
00086     0xe5, 0xd2, 0xa2, 0xd1, 0x5a, 0x39, 0xb8, 0xad, 0x8f, 0xcf, 0x63, 0x59,
00087     0x91, 0x7f, 0x87, 0x43, 0x27, 0xe2, 0x59, 0x30, 0xd3, 0xcc, 0x37, 0x85,
00088     0x06, 0x9f, 0x31, 0x81, 0x01, 0xdc, 0xbd, 0x36, 0xef, 0x2d, 0x52, 0xc8,
00089     0x2e, 0xf8, 0x93, 0xa6, 0xbe, 0x4a, 0x7d, 0x68, 0x2d, 0x42, 0xac, 0xfe,
00090     0x36, 0x33, 0xc6, 0xef, 0xc3, 0xa0, 0xbf, 0x87, 0xdd, 0xae, 0xe7, 0x8f,
00091     0xab, 0xe9, 0x9c, 0x2c, 0x7f, 0x91, 0xaa, 0x1a, 0x18, 0x31, 0x0c, 0x7e,
00092     0xda, 0x95, 0xc2, 0x90, 0x81, 0x55, 0x38, 0x9b, 0x75, 0xbc, 0x9c, 0x63,
00093     0xe3, 0x97, 0x62, 0xef, 0x0b, 0x10, 0x1c, 0x00, 0xc0, 0x3f, 0xc0, 0x48,
00094     0xa5, 0x5b, 0xfa, 0xf4, 0x6a, 0xb6, 0xac, 0xde, 0x4d, 0x94, 0x0d, 0xa2,
00095     0xef, 0x42, 0xab, 0x19, 0x1c, 0x4e, 0xe5, 0x38, 0x2c, 0x76, 0x68, 0x15,
00096     0x28, 0xca, 0x5d, 0xc7, 0x4b, 0x2f, 0xec, 0x52, 0x96, 0xde, 0x98, 0x4c,
00097     0xea, 0x8a, 0x0a, 0x0c, 0x7a, 0xa8, 0xfa, 0x31, 0x54, 0x00, 0x01, 0xc2,
00098     0x3c, 0x60, 0xa6, 0x02, 0xe5, 0x4a, 0x77, 0x67, 0xc6, 0x61, 0xf6, 0xa7,
00099     0xcf, 0xa7, 0x7f, 0x1d, 0x70, 0x1b, 0x1a, 0xea, 0x60, 0xf9, 0x6b, 0x47,
00100     0x58, 0x97, 0xb5, 0xc0, 0x2b, 0x49, 0xe6, 0x07, 0x2d, 0xd4, 0xd6, 0x87,
00101     0xd1, 0xd2, 0x02, 0x15, 0x07, 0x7c, 0x03, 0x78, 0xe6, 0x94, 0xf6, 0x26,
00102     0x6d, 0xcd, 0x3d, 0x5e, 0xdd, 0x36, 0x9e, 0xe5, 0x31, 0x07, 0x62, 0x9c,
00103     0x63, 0x13, 0xe3, 0x7e, 0x5b, 0x47, 0xbc, 0x47, 0x6b, 0x68, 0x4a, 0x10,
00104     0xe3, 0x26, 0x87, 0x18, 0x37, 0xd9, 0x65, 0xf2, 0x12, 0xe9, 0xe2, 0xa7,
00105     0xb3, 0x05, 0x04, 0x00, 0x91, 0x3c, 0x1f, 0x73, 0x74, 0x4d, 0xec, 0x6e,
00106     0x59, 0x79, 0x16, 0xb9, 0xd7, 0x38, 0x44, 0xc6, 0x2d, 0x92, 0x47, 0x04,
00107     0xe0, 0x9e, 0xb7, 0x06, 0x07, 0x10, 0x36, 0x4a, 0x49, 0xfa, 0x78, 0xba,
00108     0xc8, 0x94, 0xa5, 0xfe, 0x01, 0xc2, 0xba, 0x90, 0x04, 0xb2, 0x79, 0x40,
00109     0x54, 0xf7, 0x61, 0x3b, 0xbe, 0x3c, 0x41, 0xde, 0x3b, 0x67, 0x01, 0xa5,
00110     0x40, 0x63, 0x82, 0x58, 0x13, 0x9c, 0x02, 0x6e, 0xdf, 0xc1, 0xc0, 0x0a,
00111     0xa8, 0x46, 0x77, 0x3c, 0xf1, 0xe0, 0x54, 0x91, 0x05, 0x1b, 0x5b, 0xe5,
00112     0xf8, 0xe9, 0x5c, 0xc9, 0xff, 0xa2, 0xac, 0x97, 0x0a, 0xb8, 0x2d, 0xcb,
00113     0xbf, 0xeb, 0x64, 0xc5, 0x5a, 0x66, 0x4e, 0xec, 0x18, 0x47, 0xeb, 0xa0,
00114     0xbe, 0x49, 0xc5, 0xca, 0x6d, 0x45, 0xe8, 0x75, 0xe6, 0x47, 0xa4, 0x80,
00115     0xf8, 0x57, 0x20, 0xf9, 0x75, 0x91, 0xba, 0xfb, 0xc3, 0x44, 0x04, 0x39,
00116     0x57, 0x39, 0x57, 0x26, 0x2e, 0x16, 0x99, 0xfe, 0x96, 0x48, 0x55, 0xcd,
00117     0x14, 0x9f, 0x35, 0x10, 0xde, 0x23, 0x05, 0xfc, 0x58, 0xed, 0xdd, 0x11,
00118     0xf4, 0x89, 0x86, 0xb8, 0xd8, 0x7f, 0x99, 0x90, 0x25, 0xdc, 0x6f, 0x82,
00119     0x81, 0xfd, 0x21, 0x22, 0x02, 0x92, 0x87, 0x9f, 0xf1, 0xb9, 0xa6, 0x67,
00120     0x47, 0xe0, 0xc7, 0xf2, 0x76, 0x9f, 0xa7, 0xc9, 0x02, 0x89, 0x33, 0x84,
00121     0x71, 0xc9, 0xd7, 0xb9, 0x5a, 0xa2, 0xc2, 0x62, 0x07, 0xb3, 0x35, 0xc8,
00122     0x0d, 0xda, 0x65, 0x8d, 0xf5, 0x90, 0x35, 0xc3, 0x43, 0xee, 0xd9, 0x81,
00123     0x8f, 0x40, 0x3d, 0x5a, 0xe4, 0x95, 0x1c, 0x11, 0x93, 0x39, 0xae, 0x43,
00124     0xea, 0x14, 0x91, 0x85, 0xef, 0x37, 0x07, 0x7e, 0x07, 0xf8, 0x05, 0xc9,
00125     0xf0, 0x73, 0xcf, 0x8f, 0xfa, 0x06, 0x38, 0x52, 0x9a, 0xef, 0x35, 0x76,
00126     0xb9, 0x34, 0x52, 0x7a, 0x76, 0x55, 0xf0, 0x89, 0x7d, 0x42, 0x80, 0x48,
00127     0xae, 0x47, 0xa2, 0x8b, 0xc1, 0xbd, 0x88, 0xba, 0x7d, 0xf3, 0xb5, 0x59,
00128     0xb7, 0xbf, 0xe5, 0x9d, 0x7f, 0x54, 0x7c, 0x05, 0x04, 0xb2, 0x2e, 0x1f,
00129     0x9d, 0x50, 0x01, 0xba, 0x05, 0xf1, 0x03, 0xd0, 0x5d, 0xe2, 0x90, 0x01,
00130     0xfc, 0x82, 0x74, 0x02, 0x08, 0x36, 0xb1, 0xdb, 0x42, 0xbe, 0x86, 0xaa,
00131     0x00, 0xd0, 0xa1, 0x26, 0xef, 0xb5, 0x49, 0x4c, 0x0f, 0xaa, 0xbb, 0x93,
00132     0xfd, 0x0f, 0x87, 0x74, 0x8e, 0x41, 0x00, 0xd4, 0xe8, 0xb6, 0x00, 0x00,
00133     0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82
00134 };
00135 
00136 static const unsigned char img1_clonedlg[] = { 
00137     0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
00138     0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16,
00139     0x08, 0x06, 0x00, 0x00, 0x00, 0xc4, 0xb4, 0x6c, 0x3b, 0x00, 0x00, 0x02,
00140     0x6b, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0xc5, 0x95, 0xdf, 0x4b, 0x53,
00141     0x61, 0x18, 0xc7, 0xbf, 0x8f, 0x9b, 0xc7, 0x79, 0x36, 0x3b, 0x63, 0x67,
00142     0x2b, 0x27, 0x53, 0xe6, 0x62, 0xe3, 0x18, 0x32, 0xd3, 0xa4, 0x8b, 0x0a,
00143     0x6c, 0xe5, 0x8f, 0x65, 0x92, 0x50, 0x69, 0x3a, 0x15, 0xb3, 0x42, 0x2f,
00144     0x23, 0x23, 0xba, 0xb2, 0xa0, 0xdb, 0x82, 0xae, 0x82, 0xba, 0xed, 0x2a,
00145     0x84, 0x10, 0xe9, 0xc7, 0xdf, 0x50, 0x14, 0x75, 0x23, 0x62, 0xd1, 0x4d,
00146     0x14, 0x26, 0x91, 0xb6, 0x1f, 0x6e, 0x3b, 0xe7, 0xec, 0xc7, 0xd3, 0x85,
00147     0x1a, 0x2e, 0xdd, 0xda, 0x2a, 0xe9, 0x0b, 0xef, 0xc5, 0xfb, 0xf0, 0x3e,
00148     0x1f, 0xbe, 0x7c, 0x9f, 0xf7, 0xe5, 0x25, 0x66, 0xc6, 0x4e, 0xa8, 0x6c,
00149     0x47, 0xa8, 0xa5, 0x80, 0x89, 0xa8, 0x82, 0x88, 0x84, 0x62, 0xcf, 0x1b,
00150     0x8b, 0x84, 0xda, 0x14, 0x45, 0xf1, 0xa7, 0xd3, 0x49, 0x8d, 0x88, 0xe6,
00151     0x98, 0x39, 0xf6, 0xd7, 0x60, 0x22, 0xaa, 0x74, 0xbb, 0xdd, 0xde, 0x96,
00152     0x03, 0xfb, 0x67, 0x19, 0x1c, 0x5b, 0x5e, 0x8e, 0x06, 0x89, 0xe8, 0x1d,
00153     0x33, 0xa7, 0x0a, 0x36, 0x32, 0x73, 0xde, 0x85, 0xb5, 0xa8, 0xea, 0xfb,
00154     0x43, 0x7d, 0x2f, 0x5f, 0xbf, 0x79, 0x95, 0x7e, 0xfa, 0xfc, 0x89, 0x7e,
00155     0xa6, 0xef, 0xf4, 0x0c, 0x80, 0x3a, 0x00, 0x54, 0xa8, 0xf7, 0x77, 0x19,
00156     0xef, 0xe9, 0xee, 0x09, 0x8e, 0x1f, 0x39, 0x74, 0xd8, 0xdf, 0xdc, 0xd4,
00157     0x62, 0x38, 0xd1, 0xd5, 0x5d, 0xee, 0xf3, 0x7a, 0x83, 0xc7, 0xda, 0xdb,
00158     0x7a, 0x01, 0xc8, 0x7f, 0xe4, 0x18, 0x80, 0xd4, 0xda, 0xda, 0x7c, 0xea,
00159     0xd2, 0xf8, 0x85, 0xa4, 0x9e, 0xd2, 0x39, 0x12, 0x0b, 0xf3, 0x6a, 0x3c,
00160     0xc6, 0xab, 0xf1, 0x55, 0x1e, 0x19, 0x0d, 0xc5, 0x95, 0x46, 0xe5, 0x28,
00161     0x00, 0x31, 0x6f, 0x7f, 0x1e, 0xa8, 0xe0, 0x72, 0xb9, 0xfc, 0xa1, 0xa1,
00162     0x81, 0xc5, 0xa5, 0xa5, 0x2f, 0xac, 0x6a, 0x2a, 0x87, 0x23, 0x2b, 0x1c,
00163     0x8e, 0xac, 0xb0, 0xae, 0xeb, 0x3c, 0x3f, 0x3f, 0x97, 0x0d, 0x0d, 0x9f,
00164     0x5b, 0x70, 0xb9, 0x5c, 0x5e, 0x00, 0x86, 0xed, 0x18, 0x5b, 0x86, 0x47,
00165     0x44, 0xd4, 0xd0, 0xd0, 0xe0, 0x6c, 0x6a, 0xf1, 0xdf, 0x1a, 0x1c, 0x1c,
00166     0x74, 0xc8, 0xb2, 0x8c, 0x6f, 0x2b, 0x5f, 0x7f, 0x36, 0x24, 0xd4, 0x04,
00167     0x7c, 0x3e, 0x85, 0x02, 0x81, 0xe3, 0xee, 0x54, 0x2a, 0x7d, 0xfd, 0xc3,
00168     0x7b, 0xc7, 0x0d, 0x00, 0x8b, 0xbf, 0x72, 0xb6, 0x64, 0xdc, 0xd9, 0xd9,
00169     0xe9, 0x50, 0xf6, 0xf9, 0x7a, 0x3d, 0xee, 0xfa, 0xe0, 0xc9, 0xee, 0x1e,
00170     0xa3, 0xaa, 0xa9, 0x10, 0x2b, 0xcd, 0xb0, 0x98, 0x77, 0xa1, 0xca, 0x22,
00171     0xc1, 0x22, 0x5a, 0xa0, 0xa7, 0x34, 0x9c, 0x1f, 0x1d, 0xab, 0x70, 0xd8,
00172     0x77, 0x0f, 0xbb, 0xf7, 0xd6, 0xb5, 0x07, 0x02, 0x01, 0xeb, 0x16, 0x83,
00173     0x9b, 0x9f, 0xf4, 0xc4, 0xc4, 0x84, 0x18, 0x8d, 0x46, 0x0f, 0x1a, 0xca,
00174     0xf1, 0xec, 0xce, 0xed, 0xbb, 0xa2, 0x5d, 0x96, 0x01, 0x22, 0x10, 0x08,
00175     0x44, 0xeb, 0x33, 0x59, 0x1b, 0x0c, 0x98, 0x81, 0x4f, 0x9f, 0x3f, 0x62,
00176     0xea, 0xe6, 0x54, 0xa4, 0x8c, 0x8d, 0x5d, 0xaa, 0xaa, 0xbe, 0x9d, 0x9e,
00177     0x9e, 0xd6, 0x37, 0x58, 0x39, 0x51, 0xc8, 0xb2, 0x6c, 0x56, 0xf5, 0x44,
00178     0x47, 0x32, 0x99, 0x14, 0xaf, 0x4c, 0x5e, 0xce, 0x14, 0x9c, 0xfa, 0xba,
00179     0x32, 0x99, 0x8c, 0x24, 0x9a, 0x8c, 0x6d, 0x1e, 0x8f, 0x67, 0x01, 0xc0,
00180     0xf6, 0x60, 0xa7, 0xd3, 0x09, 0xab, 0xd5, 0xfa, 0x50, 0xd3, 0xb4, 0x47,
00181     0x9b, 0xeb, 0x82, 0x50, 0xf8, 0x25, 0x9b, 0x4c, 0x26, 0x5d, 0x10, 0x84,
00182     0x9c, 0x58, 0x73, 0xc0, 0xd5, 0xd5, 0xd5, 0xd2, 0xcc, 0xec, 0xe3, 0x17,
00183     0x20, 0x54, 0x16, 0xe3, 0x76, 0x43, 0xd9, 0x6c, 0x36, 0x33, 0x34, 0x30,
00184     0xd2, 0x08, 0xe0, 0x7b, 0x3e, 0xc7, 0x65, 0xcc, 0x5c, 0x75, 0xff, 0xde,
00185     0x03, 0x83, 0xd1, 0x58, 0x5e, 0x34, 0x78, 0xec, 0xe2, 0x28, 0xec, 0x76,
00186     0xbb, 0x21, 0xaf, 0xe3, 0x9a, 0x9a, 0x1a, 0x30, 0x33, 0x5f, 0xbd, 0x36,
00187     0x99, 0x20, 0x50, 0x29, 0xa6, 0xc5, 0xda, 0xda, 0xda, 0x9c, 0x42, 0x0e,
00188     0x58, 0x92, 0xa4, 0xf8, 0xd9, 0xfe, 0xfe, 0x8e, 0xac, 0xae, 0x97, 0x44,
00189     0x05, 0x00, 0x9b, 0xcd, 0x96, 0xd8, 0xbc, 0xcf, 0xb9, 0x6e, 0x58, 0xbb,
00190     0xd7, 0x66, 0xa0, 0x34, 0xbb, 0x00, 0x32, 0x00, 0xe2, 0x85, 0xc0, 0xff,
00191     0x4c, 0xff, 0xff, 0x6b, 0x2a, 0x55, 0x3f, 0x00, 0x5c, 0xae, 0x3e, 0xa0,
00192     0xaf, 0x7c, 0x44, 0xfb, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44,
00193     0xae, 0x42, 0x60, 0x82
00194 };
00195 
00196 
00197 /*
00198  *  Constructs a cloneDlg as a child of 'parent', with the
00199  *  name 'name' and widget flags set to 'f'.
00200  */
00201 cloneDlg::cloneDlg( QWidget* parent, const char* name, WFlags fl )
00202     : QWidget( parent, name, fl )
00203 {
00204     QImage img;
00205     img.loadFromData( img0_clonedlg, sizeof( img0_clonedlg ), "PNG" );
00206     image0 = img;
00207     img.loadFromData( img1_clonedlg, sizeof( img1_clonedlg ), "PNG" );
00208     image1 = img;
00209     if ( !name )
00210     setName( "cloneDlg" );
00211     setEnabled( TRUE );
00212     setMinimumSize( QSize( 430, 170 ) );
00213     setMaximumSize( QSize( 430, 170 ) );
00214     setBaseSize( QSize( 430, 170 ) );
00215     setIcon( image0 );
00216 
00217     grpRevStatus = new QGroupBox( this, "grpRevStatus" );
00218     grpRevStatus->setGeometry( QRect( 10, 100, 80, 61 ) );
00219     QFont grpRevStatus_font(  grpRevStatus->font() );
00220     grpRevStatus_font.setPointSize( 9 );
00221     grpRevStatus->setFont( grpRevStatus_font ); 
00222 
00223     ledRevStatus = new KLed( grpRevStatus, "ledRevStatus" );
00224     ledRevStatus->setGeometry( QRect( 10, 20, 20, 30 ) );
00225     ledRevStatus->setShape( KLed::Rectangular );
00226 
00227     btnMount = new QPushButton( grpRevStatus, "btnMount" );
00228     btnMount->setGeometry( QRect( 40, 20, 31, 31 ) );
00229     btnMount->setPixmap( image1 );
00230 
00231     btnClone = new QPushButton( this, "btnClone" );
00232     btnClone->setGeometry( QRect( 350, 140, 70, 20 ) );
00233 
00234     btnCancel = new QPushButton( this, "btnCancel" );
00235     btnCancel->setGeometry( QRect( 280, 140, 61, 21 ) );
00236 
00237     edtSerial = new QLineEdit( this, "edtSerial" );
00238     edtSerial->setGeometry( QRect( 170, 10, 250, 21 ) );
00239 
00240     edtSerialAgain = new QLineEdit( this, "edtSerialAgain" );
00241     edtSerialAgain->setGeometry( QRect( 171, 40, 250, 21 ) );
00242 
00243     edtDate = new QLineEdit( this, "edtDate" );
00244     edtDate->setEnabled( FALSE );
00245     edtDate->setGeometry( QRect( 170, 70, 250, 21 ) );
00246 
00247     lblDate = new QLabel( this, "lblDate" );
00248     lblDate->setGeometry( QRect( 10, 70, 150, 21 ) );
00249 
00250     txtSerialAgain = new QLabel( this, "txtSerialAgain" );
00251     txtSerialAgain->setGeometry( QRect( 10, 40, 150, 21 ) );
00252 
00253     txtSerial = new QLabel( this, "txtSerial" );
00254     txtSerial->setGeometry( QRect( 10, 10, 150, 21 ) );
00255     languageChange();
00256     resize( QSize(430, 170).expandedTo(minimumSizeHint()) );
00257     clearWState( WState_Polished );
00258 
00259     // signals and slots connections
00260     connect( btnCancel, SIGNAL( clicked() ), this, SLOT( btnCancel_clicked() ) );
00261     connect( btnClone, SIGNAL( clicked() ), this, SLOT( btnClone_clicked() ) );
00262     connect( btnMount, SIGNAL( clicked() ), this, SLOT( btnMount_clicked() ) );
00263 
00264     // tab order
00265     setTabOrder( edtSerial, edtSerialAgain );
00266     setTabOrder( edtSerialAgain, edtDate );
00267     setTabOrder( edtDate, btnMount );
00268     setTabOrder( btnMount, btnCancel );
00269     setTabOrder( btnCancel, btnClone );
00270 }
00271 
00272 /*
00273  *  Destroys the object and frees any allocated resources
00274  */
00275 cloneDlg::~cloneDlg()
00276 {
00277     // no need to delete child widgets, Qt does it all for us
00278 }
00279 
00280 /*
00281  *  Sets the strings of the subwidgets using the current
00282  *  language.
00283  */
00284 void cloneDlg::languageChange()
00285 {
00286     setCaption( tr2i18n( "Clone" ) );
00287     grpRevStatus->setTitle( tr2i18n( "Rev Status" ) );
00288     btnMount->setText( QString::null );
00289     btnMount->setAccel( QKeySequence( QString::null ) );
00290     btnClone->setText( tr2i18n( "Clo&ne" ) );
00291     btnClone->setAccel( QKeySequence( tr2i18n( "Alt+N" ) ) );
00292     btnCancel->setText( tr2i18n( "C&ancel" ) );
00293     btnCancel->setAccel( QKeySequence( tr2i18n( "Alt+A" ) ) );
00294     lblDate->setText( tr2i18n( "Image date:" ) );
00295     txtSerialAgain->setText( tr2i18n( "Reinsert serial number:" ) );
00296     txtSerial->setText( tr2i18n( "Machine serial number:" ) );
00297 }
00298 
00299 void cloneDlg::btnCancel_clicked()
00300 {
00301     qWarning( "cloneDlg::btnCancel_clicked(): Not implemented yet" );
00302 }
00303 
00304 void cloneDlg::btnClone_clicked()
00305 {
00306     qWarning( "cloneDlg::btnClone_clicked(): Not implemented yet" );
00307 }
00308 
00309 void cloneDlg::btnMount_clicked()
00310 {
00311     qWarning( "cloneDlg::btnMount_clicked(): Not implemented yet" );
00312 }
00313 
00314 #include "clonedlg.moc"

Generato il Wed Jun 13 18:59:37 2007 per DS4CloneRestore da  doxygen 1.5.2