Projects/ds4clonerestore/ds4clonerestore/src/restoreoutputdlg.cpp

00001 #include <kdialog.h>
00002 #include <klocale.h>
00003 /****************************************************************************
00004 ** Form implementation generated from reading ui file './restoreoutputdlg.ui'
00005 **
00006 ** Created: Wed Jun 13 18:54:42 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 "restoreoutputdlg.h"
00013 
00014 #include <qvariant.h>
00015 #include <qpushbutton.h>
00016 #include <qtextedit.h>
00017 #include <qlayout.h>
00018 #include <qtooltip.h>
00019 #include <qwhatsthis.h>
00020 #include <qimage.h>
00021 #include <qpixmap.h>
00022 
00023 static const unsigned char img0_restoreoutputdlg[] = { 
00024     0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
00025     0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x20,
00026     0x08, 0x06, 0x00, 0x00, 0x00, 0x73, 0x7a, 0x7a, 0xf4, 0x00, 0x00, 0x04,
00027     0xc9, 0x49, 0x44, 0x41, 0x54, 0x58, 0x85, 0xad, 0x96, 0x7f, 0x4c, 0xd4,
00028     0x65, 0x1c, 0xc7, 0x5f, 0xc7, 0xc1, 0x1d, 0x07, 0x9c, 0x27, 0x6a, 0xa0,
00029     0x88, 0x68, 0xae, 0xcc, 0x08, 0xad, 0x4d, 0xcd, 0x5f, 0x39, 0x4d, 0x44,
00030     0xb1, 0x1f, 0x96, 0x52, 0x8a, 0x9e, 0xa8, 0xb3, 0x24, 0x25, 0x35, 0x15,
00031     0x4b, 0xc3, 0x66, 0x83, 0xc9, 0xb4, 0x8d, 0x9a, 0xce, 0xcd, 0x52, 0xca,
00032     0xd2, 0xdc, 0x4a, 0x9d, 0xd5, 0xc4, 0xa5, 0x8c, 0xca, 0x0d, 0x99, 0xe9,
00033     0x74, 0x6b, 0x92, 0x64, 0x89, 0x68, 0xce, 0x26, 0xa2, 0x20, 0xdc, 0x79,
00034     0x3f, 0xe5, 0xe0, 0xd3, 0x1f, 0x5f, 0x0e, 0xee, 0xe0, 0xee, 0xb8, 0x03,
00035     0x3f, 0xdb, 0xb3, 0x3d, 0xcf, 0xf3, 0xf9, 0x3c, 0xcf, 0xe7, 0xf5, 0x7d,
00036     0x3f, 0x9f, 0xe7, 0xfb, 0xfd, 0x42, 0x2f, 0xcc, 0xb8, 0xd9, 0x26, 0xc6,
00037     0xcd, 0x36, 0xe9, 0xcd, 0x1e, 0xaa, 0x9e, 0x2c, 0xda, 0xb0, 0x47, 0xc4,
00038     0x62, 0x02, 0xab, 0xc9, 0x0e, 0x40, 0xb4, 0x41, 0x47, 0x8c, 0x01, 0x3e,
00039     0xcb, 0x51, 0x85, 0xbc, 0x5f, 0xc8, 0x0b, 0x96, 0xe6, 0x8b, 0xd4, 0xdf,
00040     0x85, 0x87, 0xcd, 0xa0, 0x0e, 0x83, 0x48, 0x2d, 0x44, 0x6a, 0x5c, 0xa8,
00041     0xd5, 0xcd, 0x44, 0x1b, 0x74, 0xec, 0xfb, 0x30, 0x34, 0x88, 0xa0, 0x83,
00042     0x33, 0x36, 0x89, 0x5c, 0xbf, 0x01, 0x5a, 0x0d, 0x4c, 0x1a, 0xf5, 0x17,
00043     0xc3, 0x87, 0x5e, 0x20, 0x4a, 0x63, 0xe2, 0x72, 0xcd, 0x74, 0x6e, 0xd6,
00044     0xa6, 0x10, 0xa9, 0xb1, 0xb7, 0xc7, 0x86, 0x02, 0xd2, 0x6d, 0xd0, 0xe2,
00045     0xad, 0x22, 0xd5, 0xd7, 0x60, 0x4c, 0xf2, 0x4d, 0x3e, 0xdd, 0x38, 0x8a,
00046     0x48, 0xed, 0x03, 0x2f, 0x7f, 0xc1, 0xde, 0x5f, 0xa9, 0xbc, 0x3a, 0x1d,
00047     0xad, 0xc6, 0x01, 0x6d, 0xd5, 0xa0, 0x52, 0x49, 0xd0, 0x20, 0x7e, 0x9d,
00048     0x1b, 0xf6, 0x88, 0x34, 0xd6, 0x43, 0xd5, 0x15, 0xf8, 0x64, 0xfd, 0x32,
00049     0xa6, 0x8d, 0x3b, 0x00, 0x40, 0x49, 0x79, 0x2e, 0x5f, 0xff, 0x50, 0x44,
00050     0x83, 0x19, 0x62, 0x22, 0xe1, 0x66, 0x2d, 0x84, 0xab, 0xc1, 0xee, 0x84,
00051     0xf0, 0x70, 0x70, 0xb9, 0x20, 0x26, 0x0a, 0x06, 0xc4, 0x82, 0x21, 0x06,
00052     0x62, 0x07, 0x10, 0xb0, 0x3e, 0x7c, 0x4e, 0x66, 0x6f, 0x17, 0xb1, 0x9a,
00053     0xec, 0x3c, 0xb0, 0xea, 0x78, 0x6e, 0x64, 0x39, 0xf9, 0x39, 0x53, 0x01,
00054     0x48, 0xcb, 0x16, 0x2e, 0x5f, 0x83, 0xc7, 0x62, 0x95, 0x1a, 0xd0, 0x84,
00055     0xc3, 0xfc, 0xd9, 0x65, 0x2c, 0x9d, 0xb3, 0x9e, 0x21, 0xf1, 0x55, 0xed,
00056     0xeb, 0xad, 0x8e, 0xbe, 0x14, 0x16, 0x9f, 0xe4, 0xb7, 0x73, 0x13, 0x48,
00057     0x88, 0x83, 0xa8, 0x48, 0xbb, 0x5f, 0x35, 0xbc, 0x26, 0xde, 0xdc, 0x2d,
00058     0xa2, 0xae, 0x6d, 0x46, 0xdd, 0xea, 0x02, 0xc0, 0x6c, 0xd5, 0x91, 0x3e,
00059     0xe9, 0x00, 0x39, 0x99, 0xcb, 0x00, 0x38, 0x75, 0x66, 0x2d, 0x3f, 0x57,
00060     0xac, 0x25, 0x69, 0xf0, 0x25, 0xe6, 0xa7, 0xe5, 0x93, 0x34, 0xa8, 0x32,
00061     0x90, 0xba, 0x94, 0xfd, 0x9e, 0x4d, 0x61, 0xf1, 0x5e, 0x12, 0xe3, 0x95,
00062     0xfa, 0x68, 0x69, 0x0d, 0xa7, 0x45, 0x1d, 0xc1, 0xd1, 0xed, 0x1d, 0x20,
00063     0xed, 0x9d, 0x8b, 0x23, 0x5e, 0x95, 0x2d, 0xcb, 0x8e, 0x63, 0x8a, 0x81,
00064     0xf8, 0x46, 0x88, 0x76, 0x38, 0x71, 0x3a, 0xb5, 0xdc, 0xae, 0x83, 0x43,
00065     0x3b, 0x9e, 0x67, 0x78, 0xe2, 0x05, 0x9f, 0x49, 0xea, 0x1b, 0x87, 0x52,
00066     0x7c, 0x6c, 0x2f, 0x87, 0x4b, 0x67, 0xd1, 0xd0, 0x04, 0x16, 0x1b, 0xfc,
00067     0x5d, 0xf2, 0x04, 0xf1, 0xfd, 0x6a, 0x00, 0x18, 0x9b, 0x29, 0x3c, 0x35,
00068     0xcc, 0x89, 0xd5, 0xae, 0xa5, 0xae, 0x01, 0x0c, 0x7a, 0x28, 0x5c, 0x33,
00069     0x87, 0xb1, 0xcf, 0x94, 0xa8, 0xbc, 0x00, 0xa4, 0xad, 0x84, 0x4e, 0x8d,
00070     0x59, 0xc5, 0xd6, 0xe5, 0x7b, 0x88, 0x72, 0x40, 0x7f, 0x13, 0xb8, 0x9a,
00071     0xe0, 0x4e, 0x3d, 0x24, 0xc6, 0xc1, 0xdc, 0xd4, 0x22, 0x92, 0x12, 0x2a,
00072     0x71, 0x35, 0x47, 0x70, 0xf6, 0xd2, 0x22, 0x8e, 0x95, 0xa5, 0xd2, 0xd2,
00073     0x0a, 0xfd, 0x0c, 0xa0, 0x89, 0x00, 0xb3, 0x05, 0x1a, 0xcc, 0x50, 0xad,
00074     0xec, 0xcd, 0x95, 0x9a, 0x69, 0x2c, 0xf9, 0xe8, 0x34, 0xd1, 0x3a, 0xb0,
00075     0xd9, 0xa1, 0x60, 0x4d, 0x0e, 0xe9, 0x93, 0x3e, 0x57, 0x9e, 0x5c, 0x85,
00076     0x6f, 0x00, 0xb7, 0xed, 0x9c, 0xf5, 0x1d, 0x5f, 0xcd, 0xcb, 0x64, 0x50,
00077     0x23, 0xe8, 0x4d, 0xe0, 0xb2, 0x82, 0xd5, 0x06, 0x8e, 0x87, 0x8a, 0xdf,
00078     0xf9, 0x50, 0x29, 0xbe, 0x48, 0x0d, 0x54, 0xdf, 0x82, 0x27, 0x93, 0xe0,
00079     0xdd, 0xcc, 0x02, 0xde, 0x48, 0xfb, 0x18, 0x80, 0xea, 0x5b, 0xe3, 0x49,
00080     0x7b, 0xfb, 0x1c, 0xaa, 0x30, 0x78, 0x6f, 0xf1, 0xf7, 0xac, 0x33, 0x2e,
00081     0xf4, 0x52, 0x2e, 0x30, 0x40, 0x16, 0xf0, 0xad, 0xd2, 0x5d, 0xb9, 0xf2,
00082     0x3f, 0xce, 0x3f, 0x3b, 0x98, 0x84, 0x06, 0xe8, 0x63, 0x53, 0xea, 0xc3,
00083     0xe5, 0xd2, 0xa2, 0xd1, 0x5a, 0x39, 0xb8, 0xad, 0x8f, 0xcf, 0x63, 0x59,
00084     0x91, 0x7f, 0x87, 0x43, 0x27, 0xe2, 0x59, 0x30, 0xd3, 0xcc, 0x37, 0x85,
00085     0x06, 0x9f, 0x31, 0x81, 0x01, 0xdc, 0xbd, 0x36, 0xef, 0x2d, 0x52, 0xc8,
00086     0x2e, 0xf8, 0x93, 0xa6, 0xbe, 0x4a, 0x7d, 0x68, 0x2d, 0x42, 0xac, 0xfe,
00087     0x36, 0x33, 0xc6, 0xef, 0xc3, 0xa0, 0xbf, 0x87, 0xdd, 0xae, 0xe7, 0x8f,
00088     0xab, 0xe9, 0x9c, 0x2c, 0x7f, 0x91, 0xaa, 0x1a, 0x18, 0x31, 0x0c, 0x7e,
00089     0xda, 0x95, 0xc2, 0x90, 0x81, 0x55, 0x38, 0x9b, 0x75, 0xbc, 0x9c, 0x63,
00090     0xe3, 0x97, 0x62, 0xef, 0x0b, 0x10, 0x1c, 0x00, 0xc0, 0x3f, 0xc0, 0x48,
00091     0xa5, 0x5b, 0xfa, 0xf4, 0x6a, 0xb6, 0xac, 0xde, 0x4d, 0x94, 0x0d, 0xa2,
00092     0xef, 0x42, 0xab, 0x19, 0x1c, 0x4e, 0xe5, 0x38, 0x2c, 0x76, 0x68, 0x15,
00093     0x28, 0xca, 0x5d, 0xc7, 0x4b, 0x2f, 0xec, 0x52, 0x96, 0xde, 0x98, 0x4c,
00094     0xea, 0x8a, 0x0a, 0x0c, 0x7a, 0xa8, 0xfa, 0x31, 0x54, 0x00, 0x01, 0xc2,
00095     0x3c, 0x60, 0xa6, 0x02, 0xe5, 0x4a, 0x77, 0x67, 0xc6, 0x61, 0xf6, 0xa7,
00096     0xcf, 0xa7, 0x7f, 0x1d, 0x70, 0x1b, 0x1a, 0xea, 0x60, 0xf9, 0x6b, 0x47,
00097     0x58, 0x97, 0xb5, 0xc0, 0x2b, 0x49, 0xe6, 0x07, 0x2d, 0xd4, 0xd6, 0x87,
00098     0xd1, 0xd2, 0x02, 0x15, 0x07, 0x7c, 0x03, 0x78, 0xe6, 0x94, 0xf6, 0x26,
00099     0x6d, 0xcd, 0x3d, 0x5e, 0xdd, 0x36, 0x9e, 0xe5, 0x31, 0x07, 0x62, 0x9c,
00100     0x63, 0x13, 0xe3, 0x7e, 0x5b, 0x47, 0xbc, 0x47, 0x6b, 0x68, 0x4a, 0x10,
00101     0xe3, 0x26, 0x87, 0x18, 0x37, 0xd9, 0x65, 0xf2, 0x12, 0xe9, 0xe2, 0xa7,
00102     0xb3, 0x05, 0x04, 0x00, 0x91, 0x3c, 0x1f, 0x73, 0x74, 0x4d, 0xec, 0x6e,
00103     0x59, 0x79, 0x16, 0xb9, 0xd7, 0x38, 0x44, 0xc6, 0x2d, 0x92, 0x47, 0x04,
00104     0xe0, 0x9e, 0xb7, 0x06, 0x07, 0x10, 0x36, 0x4a, 0x49, 0xfa, 0x78, 0xba,
00105     0xc8, 0x94, 0xa5, 0xfe, 0x01, 0xc2, 0xba, 0x90, 0x04, 0xb2, 0x79, 0x40,
00106     0x54, 0xf7, 0x61, 0x3b, 0xbe, 0x3c, 0x41, 0xde, 0x3b, 0x67, 0x01, 0xa5,
00107     0x40, 0x63, 0x82, 0x58, 0x13, 0x9c, 0x02, 0x6e, 0xdf, 0xc1, 0xc0, 0x0a,
00108     0xa8, 0x46, 0x77, 0x3c, 0xf1, 0xe0, 0x54, 0x91, 0x05, 0x1b, 0x5b, 0xe5,
00109     0xf8, 0xe9, 0x5c, 0xc9, 0xff, 0xa2, 0xac, 0x97, 0x0a, 0xb8, 0x2d, 0xcb,
00110     0xbf, 0xeb, 0x64, 0xc5, 0x5a, 0x66, 0x4e, 0xec, 0x18, 0x47, 0xeb, 0xa0,
00111     0xbe, 0x49, 0xc5, 0xca, 0x6d, 0x45, 0xe8, 0x75, 0xe6, 0x47, 0xa4, 0x80,
00112     0xf8, 0x57, 0x20, 0xf9, 0x75, 0x91, 0xba, 0xfb, 0xc3, 0x44, 0x04, 0x39,
00113     0x57, 0x39, 0x57, 0x26, 0x2e, 0x16, 0x99, 0xfe, 0x96, 0x48, 0x55, 0xcd,
00114     0x14, 0x9f, 0x35, 0x10, 0xde, 0x23, 0x05, 0xfc, 0x58, 0xed, 0xdd, 0x11,
00115     0xf4, 0x89, 0x86, 0xb8, 0xd8, 0x7f, 0x99, 0x90, 0x25, 0xdc, 0x6f, 0x82,
00116     0x81, 0xfd, 0x21, 0x22, 0x02, 0x92, 0x87, 0x9f, 0xf1, 0xb9, 0xa6, 0x67,
00117     0x47, 0xe0, 0xc7, 0xf2, 0x76, 0x9f, 0xa7, 0xc9, 0x02, 0x89, 0x33, 0x84,
00118     0x71, 0xc9, 0xd7, 0xb9, 0x5a, 0xa2, 0xc2, 0x62, 0x07, 0xb3, 0x35, 0xc8,
00119     0x0d, 0xda, 0x65, 0x8d, 0xf5, 0x90, 0x35, 0xc3, 0x43, 0xee, 0xd9, 0x81,
00120     0x8f, 0x40, 0x3d, 0x5a, 0xe4, 0x95, 0x1c, 0x11, 0x93, 0x39, 0xae, 0x43,
00121     0xea, 0x14, 0x91, 0x85, 0xef, 0x37, 0x07, 0x7e, 0x07, 0xf8, 0x05, 0xc9,
00122     0xf0, 0x73, 0xcf, 0x8f, 0xfa, 0x06, 0x38, 0x52, 0x9a, 0xef, 0x35, 0x76,
00123     0xb9, 0x34, 0x52, 0x7a, 0x76, 0x55, 0xf0, 0x89, 0x7d, 0x42, 0x80, 0x48,
00124     0xae, 0x47, 0xa2, 0x8b, 0xc1, 0xbd, 0x88, 0xba, 0x7d, 0xf3, 0xb5, 0x59,
00125     0xb7, 0xbf, 0xe5, 0x9d, 0x7f, 0x54, 0x7c, 0x05, 0x04, 0xb2, 0x2e, 0x1f,
00126     0x9d, 0x50, 0x01, 0xba, 0x05, 0xf1, 0x03, 0xd0, 0x5d, 0xe2, 0x90, 0x01,
00127     0xfc, 0x82, 0x74, 0x02, 0x08, 0x36, 0xb1, 0xdb, 0x42, 0xbe, 0x86, 0xaa,
00128     0x00, 0xd0, 0xa1, 0x26, 0xef, 0xb5, 0x49, 0x4c, 0x0f, 0xaa, 0xbb, 0x93,
00129     0xfd, 0x0f, 0x87, 0x74, 0x8e, 0x41, 0x00, 0xd4, 0xe8, 0xb6, 0x00, 0x00,
00130     0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82
00131 };
00132 
00133 
00134 /*
00135  *  Constructs a restoreoutputdlg as a child of 'parent', with the
00136  *  name 'name' and widget flags set to 'f'.
00137  */
00138 restoreoutputdlg::restoreoutputdlg( QWidget* parent, const char* name, WFlags fl )
00139     : QWidget( parent, name, fl )
00140 {
00141     QImage img;
00142     img.loadFromData( img0_restoreoutputdlg, sizeof( img0_restoreoutputdlg ), "PNG" );
00143     image0 = img;
00144     if ( !name )
00145     setName( "restoreoutputdlg" );
00146     setMinimumSize( QSize( 412, 250 ) );
00147     setMaximumSize( QSize( 412, 250 ) );
00148     setBaseSize( QSize( 412, 250 ) );
00149     setIcon( image0 );
00150 
00151     btnClose = new QPushButton( this, "btnClose" );
00152     btnClose->setGeometry( QRect( 330, 220, 71, 21 ) );
00153 
00154     txtOutput = new QTextEdit( this, "txtOutput" );
00155     txtOutput->setGeometry( QRect( 10, 10, 390, 200 ) );
00156     QFont txtOutput_font(  txtOutput->font() );
00157     txtOutput_font.setPointSize( 9 );
00158     txtOutput->setFont( txtOutput_font ); 
00159     languageChange();
00160     resize( QSize(412, 250).expandedTo(minimumSizeHint()) );
00161     clearWState( WState_Polished );
00162 
00163     // signals and slots connections
00164     connect( btnClose, SIGNAL( clicked() ), this, SLOT( btnClose_clicked() ) );
00165 }
00166 
00167 /*
00168  *  Destroys the object and frees any allocated resources
00169  */
00170 restoreoutputdlg::~restoreoutputdlg()
00171 {
00172     // no need to delete child widgets, Qt does it all for us
00173 }
00174 
00175 /*
00176  *  Sets the strings of the subwidgets using the current
00177  *  language.
00178  */
00179 void restoreoutputdlg::languageChange()
00180 {
00181     setCaption( tr2i18n( "Restore output" ) );
00182     btnClose->setText( tr2i18n( "C&lose" ) );
00183     btnClose->setAccel( QKeySequence( tr2i18n( "Alt+L" ) ) );
00184 }
00185 
00186 void restoreoutputdlg::btnClose_clicked()
00187 {
00188     qWarning( "restoreoutputdlg::btnClose_clicked(): Not implemented yet" );
00189 }
00190 
00191 #include "restoreoutputdlg.moc"

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