|
From: Stas Z. <sta...@us...> - 2005-07-05 15:16:47
|
Update of /cvsroot/gmailagent/GA-libgmail2/frontend In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8541 Added Files: ModalPopUpDialog_forms.py ModalPopupDialog.ui.h Log Message: added qt forms --- NEW FILE: ModalPopupDialog.ui.h --- /**************************************************************************** ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use ** Qt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). ** These will automatically be called by the form's constructor and ** destructor. *****************************************************************************/ void ModalPopUpDialog::pushButtonCancel_clicked() { self.done(False) } void ModalPopUpDialog::pushButtonOk_clicked() { self.done(True) } --- NEW FILE: ModalPopUpDialog_forms.py --- # -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ModalPopupDialog.ui' # # Created: Tue Jul 5 15:49:49 2005 # by: The PyQt User Interface Compiler (pyuic) 3.14.1 # # WARNING! All changes made in this file will be lost! from qt import * image0_data = \ "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ "\x49\x48\x44\x52\x00\x00\x00\x20\x00\x00\x00\x20" \ "\x08\x06\x00\x00\x00\x73\x7a\x7a\xf4\x00\x00\x08" \ "\xad\x49\x44\x41\x54\x58\x85\xe5\x97\xcb\x6f\x1b" \ "\xd7\x15\xc6\x7f\x77\x66\xc8\x21\x29\x52\x0f\x4a" \ "\x91\xac\xd8\xae\x9c\x58\xb2\x15\x39\x8e\x11\xc7" \ "\x8f\x22\x86\x1b\xa3\x69\x0a\x7b\x51\x34\x0d\xba" \ "\x08\x52\xa0\x06\xbc\x49\x17\xfd\x0f\x0a\x78\xd3" \ "\x4d\x16\xd9\xb8\x45\xe2\x00\x29\xea\xa2\x1b\x23" \ "\x4d\xe0\x00\xad\xfb\x4a\x53\x35\x88\x9d\xda\xce" \ "\xa3\x52\x6c\xc7\xb2\x1c\xd9\x92\x28\xca\x22\x29" \ "\x92\x43\x71\x48\xce\x0c\x67\xee\xdc\x2e\x24\xb1" \ "\x96\x25\xb7\x41\xd1\x5d\x0f\x70\xc0\x8b\xb9\x33" \ "\xf7\xfb\xce\x77\xce\x87\xe1\xc0\xff\x7b\x88\x8d" \ "\x2e\x6e\xdd\x14\x37\x8a\x96\x67\x2a\xc5\x56\x19" \ "\x86\x8f\x9b\x86\xfe\xac\x21\xc4\x36\x04\xdb\xc2" \ "\x50\x19\x41\xa8\x1e\xd2\x34\x11\x9a\x11\xbd\x89" \ "\x82\x40\x86\xba\x17\x84\xa6\x26\x94\x0c\xa1\xa9" \ "\x42\x1c\xa0\x22\x51\x45\x0d\xf1\xc7\xbe\x9e\xd8" \ "\x2f\xe7\x72\x8e\xf5\x95\x08\x44\x0c\xb1\x2b\x6a" \ "\x88\xef\x03\x27\x13\xa6\x61\x1d\x1d\x79\x6c\xea" \ "\xc9\xbd\xfb\x36\xb5\x77\x76\x26\x23\xa8\x88\xae" \ "\x69\x7a\xc2\xd0\xe3\x1a\x4a\x0b\x65\x40\x18\x04" \ "\x10\x86\xb8\x4d\x9f\xa6\x0c\xdc\x40\x86\x72\x7e" \ "\x3e\x6b\x7f\xf4\xf9\xf5\xe6\x8c\x55\x23\xe7\xd4" \ "\x53\x0a\xda\x12\x71\x23\x2a\xa5\x7a\xb1\x2d\x61" \ "\x7c\x3c\x97\x73\xa6\x37\x22\x90\xd2\x04\x2f\x24" \ "\x62\xda\xe9\x1d\xbd\x7d\xe5\x63\xbb\x87\x7b\x87" \ "\x1e\xee\x8b\xa4\xe3\x31\xbc\x5a\x15\xdb\xb2\x50" \ "\x28\x40\x20\x64\x00\x2a\x44\x13\x02\x5d\x08\x84" \ "\x00\x81\x40\xd7\x04\x9a\x58\x3e\xb2\xd1\x0c\xb0" \ "\x5c\x8f\xb9\x6a\x9d\xaa\xe7\xf3\xfe\xcc\xbc\xb5" \ "\xd4\x6c\x86\xa1\xa0\x23\x54\x3c\x6b\xd7\x83\x0f" \ "\x5b\x04\x52\x6d\x46\x7f\xd4\x30\x7f\x10\x86\xfe" \ "\x4f\x4f\x1c\xda\xcf\xc1\x47\x06\x62\x46\xd0\xa4" \ "\x64\x55\xb0\xaa\x55\x94\x52\xc4\x4c\x13\xbd\xbd" \ "\x93\xe4\xe6\x01\xda\x92\x29\x12\xbd\x7d\x08\x23" \ "\x82\x58\xa9\x41\x95\xf3\x74\xa6\x52\xd4\x32\xb7" \ "\xa9\xe7\xe6\xf1\x6b\x36\x00\x5e\x10\x50\xf7\x03" \ "\xe6\xaa\x0d\x6e\x15\xab\xcd\xb1\xc5\x62\x6e\xd1" \ "\x75\xfb\xda\x93\x91\xc7\xe6\x72\xce\xb4\x48\xb5" \ "\x19\x03\x86\x61\xbc\xd8\x69\xc6\x7e\xf2\xca\xf7" \ "\x8e\x26\x84\x53\xd7\x17\x8b\x45\x1a\x42\x23\xd1" \ "\xd3\xcb\xd7\xf6\x7e\x1d\x63\xd3\x56\xb6\xee\x7a" \ "\x82\x74\x3a\x4d\x32\x99\x24\x12\x89\x2c\x83\x2a" \ "\x85\x52\xaa\xb5\x5e\x0d\xa5\x14\xf5\xc5\x1c\xd6" \ "\xe4\x17\xe4\x3e\xb9\x88\x3d\x3f\x4b\x6d\x31\x4f" \ "\xcd\xf3\xb9\x3c\xbf\xc8\x9f\xef\x64\xed\x42\xc3" \ "\xbd\xed\x07\x3c\x29\xcc\x88\x78\xf6\x5b\xdb\x37" \ "\xbf\xf7\xd4\xd0\x60\xf0\x78\x47\x22\x7a\xfb\x6e" \ "\x8e\x44\xff\x16\xba\xf6\x1e\xe2\xe0\x73\x47\xe9" \ "\xdf\xf6\x08\x86\x61\x20\x56\xa4\x0d\xc3\x70\x0d" \ "\xd0\xfd\xc0\xf7\xef\xc9\xa6\x47\x2d\x3b\xcb\xdc" \ "\x87\xef\x91\xb9\xf4\x01\xb3\x8b\x65\xee\x54\x6c" \ "\xce\x4e\x4c\xd5\x6a\x8e\x4a\x19\x86\xa1\x1d\x3e" \ "\x3c\xf4\xa8\x18\x48\x18\xd1\xa9\xbb\x39\xd2\x8f" \ "\x0c\xb1\xf9\x3b\x2f\xf2\xcd\xe7\xbe\xdd\x3a\x6c" \ "\x15\x54\xd3\x34\x62\xb1\x58\xeb\x5a\x18\x86\x48" \ "\x29\xf1\x7d\xff\x81\x84\x84\x11\x21\xb5\x6d\x90" \ "\xc7\x06\xb6\x13\x49\xb5\x53\x3b\x77\x96\x99\x4a" \ "\x8d\xb6\x68\x44\xd6\x9c\x26\x5a\x20\xc3\x43\x42" \ "\x80\xe3\x4b\x92\x51\x83\xce\xc1\x61\x76\x3d\xb1" \ "\x07\xa5\x54\x0b\x64\x75\x6d\x18\x06\xa5\x52\x89" \ "\xd3\xa7\x4f\xf3\xf4\xd3\x4f\x33\x34\x34\xc4\xc8" \ "\xc8\x08\x7b\xf7\xee\x65\x74\x74\x14\xc7\x71\x5a" \ "\xcf\x6c\x94\x1d\x83\x23\x44\x0d\x0d\xa9\x14\xba" \ "\x2e\x22\x00\x9a\x2e\xd8\xab\x09\x2d\x54\x28\x74" \ "\xa1\xb1\x69\x68\x18\xd3\x34\xd7\x3d\xac\x69\x1a" \ "\x42\x08\xde\x7e\xfb\x6d\xde\x78\xe3\x0d\x82\x20" \ "\x60\xdf\xbe\x7d\x0c\x0f\x0f\x93\x4c\x26\x39\x79" \ "\xf2\x24\x57\xae\x5c\x59\x96\x5d\x4a\xa4\x94\x2d" \ "\x85\x56\xd7\x9a\x61\x60\x68\x1a\x86\x26\x68\x8b" \ "\x47\x24\x80\x66\x18\x9a\x67\xe8\x1a\x20\x70\x03" \ "\x89\xaa\x5a\xad\x8a\xef\x57\xc1\xf7\x7d\xce\x9f" \ "\x3f\x8f\x65\x59\x9c\x38\x71\x82\x37\xdf\x7c\x93" \ "\x33\x67\xce\x70\xec\xd8\x31\xca\xe5\x32\xaf\xbd" \ "\xf6\x5a\x0b\xec\xfe\x04\x70\x8b\x39\x9a\x52\x2e" \ "\x5b\x19\x5c\x00\x43\x29\x5c\x3f\x90\x44\x13\x31" \ "\xea\x7e\x40\xf5\xce\x2d\x3c\xd7\x25\x91\x48\xac" \ "\xe9\xab\x10\x02\x29\x25\xba\xae\x63\x18\x06\x41" \ "\x10\x2c\xdb\x33\x16\x63\xcb\x96\x2d\xcb\x96\xf3" \ "\xbc\x16\xd9\x75\x83\x29\x03\x4a\xd7\xc7\x70\x7d" \ "\x49\xa8\x42\xa2\xba\x7e\x73\x65\xae\x44\xd1\xd4" \ "\x35\xd1\x96\x88\x13\x33\x34\xaa\xf9\xbb\x54\x0b" \ "\xb9\x75\x15\xf8\xbe\x8f\x94\x92\x97\x5e\x7a\x89" \ "\x9d\x3b\x77\x92\x4e\xa7\x31\x0c\x83\x6c\x36\xcb" \ "\xf8\xf8\x38\x42\x08\x06\x07\x07\x37\x54\x4e\x4a" \ "\x89\x53\xcc\xd3\x58\xcc\xd3\xf0\x03\x9a\x32\xc4" \ "\x09\x82\x69\x00\x23\x1a\xd1\xfe\xa0\x3c\x67\x7f" \ "\xc5\x6f\xcf\xb5\xc5\x62\x9b\x6a\x85\x3c\xd9\x6b" \ "\x63\xf4\x3f\x3a\x88\x10\x62\x9d\xcf\x0f\x1e\x3c" \ "\xc8\xc0\xc0\x00\x3b\x76\xec\xc0\xf3\x3c\x46\x47" \ "\x47\xf9\xf4\xd3\x4f\xe9\xe8\xe8\xe0\xc8\x91\x23" \ "\x48\x29\xd7\x55\xaf\xeb\x3a\xb5\xec\x2c\xb5\xec" \ "\x0c\x0b\x35\x87\xdb\xb5\x6a\xce\x93\x72\x06\x10" \ "\x9a\xdb\x0c\x47\x6f\x55\x96\x98\x5c\x2c\x7f\xd9" \ "\x93\x4a\x62\xd9\x36\x8d\xe9\x49\x2c\xcb\x5a\x57" \ "\x4d\x18\x86\xc4\x62\x31\x86\x87\x87\x09\xc3\x90" \ "\xab\x57\xaf\x72\xf6\xec\x59\x0a\x85\x02\xc7\x8f" \ "\x1f\xe7\x99\x67\x9e\xd9\xb0\xff\x42\x08\x8a\x9f" \ "\x7f\x8c\x17\x04\xd8\x9e\x4f\xce\x75\x74\x3f\x50" \ "\x67\x01\x5d\xb3\xeb\xc1\x87\xbf\xbd\x3d\xfd\xeb" \ "\xdf\x5c\x1d\x7b\x34\x88\xc6\x4a\x71\x43\xa7\x32" \ "\x79\x9d\xdb\x5f\x5c\xa3\x5e\xaf\xaf\x19\xaa\x7b" \ "\x27\x3a\x9f\xcf\x73\xfe\xfc\x79\x32\x99\x0c\xfb" \ "\xf6\xed\xe3\xf9\xe7\x9f\x5f\x73\xcf\x6a\x2a\xa5" \ "\xa8\xcf\x4d\x53\x18\xbb\xc2\x6c\xa5\x4e\xae\xe1" \ "\x58\xa1\x52\xd9\x7c\xc9\xcb\x01\x86\x06\x90\xcd" \ "\xbb\xc7\x83\x50\x76\xe4\x3d\x79\x37\x65\x46\xb0" \ "\xaa\x36\xcd\x9b\xe3\x2c\x2c\x2c\x3c\xd0\xd3\xe5" \ "\x72\x99\xf1\xf1\x71\xa2\xd1\x28\x7b\xf6\xec\x41" \ "\xd7\xf5\x0d\xfb\x8f\x94\x14\x3f\xfb\x3b\xb6\xdb" \ "\x64\xba\x62\x33\x55\xaf\xea\x6e\x20\x6f\x02\x29" \ "\x20\xaa\xad\xf6\xcb\xf5\xe4\x89\xd7\x2f\x5e\x48" \ "\x77\xb4\xb7\x13\x33\x74\xca\x37\xae\x92\xbd\x36" \ "\x86\xeb\xba\xeb\x54\xa8\xd5\x6a\xf4\xf7\xf7\xb3" \ "\x7f\xff\x7e\x34\x4d\xc3\x30\x8c\x35\xea\xac\xde" \ "\x07\xe0\xcd\xcf\x90\xff\xc7\x25\xb2\xd5\x3a\x7e" \ "\x18\xfa\x35\xdf\xcf\x55\x6c\xff\x1d\xc0\x04\x34" \ "\x7d\x95\x40\xc3\x95\xb7\x12\x71\xed\x95\x87\x7a" \ "\xfa\xee\x6e\x4f\x98\xed\xf3\x8b\x65\xba\x3b\x52" \ "\xf8\xe9\x3e\x3a\x3b\x3b\x5b\x76\x5c\xcd\xce\xce" \ "\x4e\x46\x46\x46\xd8\xbe\x7d\x3b\x07\x0e\x1c\x20" \ "\x1e\x8f\xaf\xd9\x07\x30\x4d\x93\xcc\xef\xde\xa2" \ "\x78\xe7\x4b\x26\x8b\x4b\x4c\xd9\xd5\xc2\x42\xcd" \ "\x19\xab\xd8\xc1\x28\xd0\x00\xea\x2d\x05\x80\xc0" \ "\xf5\xe4\x53\xe7\xc6\x3f\xd7\xc3\x44\xd2\x4e\xc7" \ "\x23\x64\x3f\xfe\x08\x6b\xea\x26\xd5\x6a\x75\x4d" \ "\x75\xa6\x69\xe2\xfb\x3e\xa3\xa3\xa3\x5c\xb8\x70" \ "\x81\x89\x89\x89\x35\x7d\x0f\xc3\x10\x43\xd3\x58" \ "\xbc\xfc\x01\xf9\xb1\x2b\xcc\x58\x55\x66\xab\xb6" \ "\x3b\x5d\xb7\x13\x76\x3d\xb8\xcc\xf2\xdf\x80\x10" \ "\x08\xf5\x7b\x08\xd0\x70\x65\x3e\x95\x34\x0f\xd4" \ "\xa5\x6a\xdf\xd3\x95\x4a\x2f\xb9\x1e\x86\xdb\x40" \ "\x76\x3d\x44\xba\xb7\xaf\x55\x9d\x69\x9a\x64\x32" \ "\x19\x4e\x9d\x3a\xc5\xa5\x4b\x97\xc8\xe7\xf3\x1c" \ "\x3d\x7a\xb4\xb5\x1f\x89\x44\xf0\x0b\x77\xc9\x9c" \ "\x7f\x8b\xf9\x42\x81\xeb\x79\x8b\x9b\xb5\xa5\x4a" \ "\xce\x72\xdf\x6d\x78\xe1\x17\x40\x01\xa8\x00\xf6" \ "\xbd\x0a\x00\x60\xd5\x79\xf9\xa3\x3b\x53\x9b\xf2" \ "\x22\x6a\x0d\x74\xb5\x93\x9b\x9a\x24\xf3\xa7\x77" \ "\xc9\x66\x32\xf8\xbe\x4f\x18\x86\xd4\x6a\x35\x4c" \ "\xd3\x64\x64\x64\x84\x44\x22\x41\x4f\x4f\xcf\xbf" \ "\x2a\x37\x0c\x70\xea\x4c\xbf\x73\x86\xd2\xfc\x1c" \ "\x37\x16\x2b\x6a\xc1\x75\xaa\x0b\xb6\x73\xcb\x97" \ "\x2a\xb7\x22\xbd\x0b\x78\x80\xd4\xef\x27\xe0\x79" \ "\x9e\xab\x14\x1f\x4c\x96\x0a\xdf\xdd\xb3\x75\x0b" \ "\x3d\x11\x2d\x56\x2e\x15\x69\x36\x9b\x18\xdd\x7d" \ "\xb4\x25\x93\x2d\xb0\xa1\xa1\x21\x0e\x1f\x3e\xcc" \ "\x91\x23\x47\x30\x4d\x93\x58\x2c\x86\x2e\x03\x16" \ "\x46\x7f\x4f\x6e\xfc\x13\xa6\xac\x2a\x5f\x5a\xb6" \ "\x7f\xb3\x5a\x29\x97\xaa\xfe\xfb\x4d\x3f\xbc\x06" \ "\xe4\x80\x05\xa0\x0e\xb8\xeb\x08\x00\x34\xfd\x30" \ "\xab\xa4\x9a\x99\x28\x2d\x7e\xe3\xd0\xc0\xd6\xb6" \ "\x6e\xd3\xd0\xad\xcc\x0c\xf6\xc2\x1c\x74\xf6\x60" \ "\x26\x53\xad\xf7\x40\x77\x77\x37\x89\x44\x82\x44" \ "\x3c\x4e\xb3\x98\x63\xee\xdc\xaf\x28\x7c\x76\x99" \ "\x1b\x8b\x16\x53\x65\x5b\x7e\x66\x15\x1b\xb3\x79" \ "\xe7\x75\x19\xaa\x0c\x90\x5d\x91\xdf\x02\x9c\x0d" \ "\x15\x58\x0d\xc7\x97\x77\x02\x29\xe7\xa7\xaa\x4b" \ "\x07\x0e\x6c\x7e\xb8\x2d\xa9\xa3\xfb\x56\x89\xda" \ "\xc2\x1c\xbe\xe7\x11\xdf\xb4\x99\x54\x2a\x45\x24" \ "\x12\x41\x57\x8a\xc2\xa5\xbf\x51\xbc\xf8\x17\x2a" \ "\xb7\x6f\x32\x6b\xd9\x4c\x94\x96\xe4\xf5\x8a\x55" \ "\x9a\xca\xd5\x5f\x05\x32\xc0\xcc\xca\x6f\x09\xb0" \ "\x01\x1f\x08\x37\xfc\x2e\xb8\x37\x36\xa5\x63\xaf" \ "\xa6\x13\xb1\x17\x7e\xb4\x7b\x67\x6f\x6f\x22\xd6" \ "\xd6\x94\x12\x4d\x08\xcc\xae\x1e\xda\x77\xec\x42" \ "\x03\x9c\x99\x5b\x78\x56\x19\xb7\xe9\x71\xa3\x60" \ "\x31\x55\xb6\xbd\xb1\x4a\x69\xa9\x54\xf7\xfe\x6a" \ "\x55\xfd\x73\xc0\xdc\x0a\x70\x79\xa5\xff\x4d\x56" \ "\x5c\xf0\x1f\x09\x00\xd1\x74\x32\x7a\x2c\x9d\x8a" \ "\x9e\xfa\xe1\xce\xc1\xe8\xf6\xae\xf6\xfe\x88\xbe" \ "\x6e\x76\x29\x35\x1c\x26\x4b\x55\x26\xcb\x4b\xb5" \ "\x09\xbb\xe2\x96\xed\xe6\xcf\xab\xf5\x60\x74\x05" \ "\xb8\x04\xd4\x58\x1e\x3c\x56\xc0\x15\x3c\xe0\xcb" \ "\x68\xa3\xe8\x4d\x47\x5f\x30\x34\xed\xc7\x3d\xb1" \ "\xd8\xe6\xdd\xdd\x5d\xf1\xdd\xdd\xe9\xce\x58\x44" \ "\x4b\x55\x9c\xa6\xb2\xdc\x66\xf3\x7a\xa9\xec\xe4" \ "\x3c\xa7\x66\x35\x9b\x6e\xc3\x91\x3f\xab\xd8\xfe" \ "\x45\xa0\xc8\xb2\xdc\xb5\x7b\x40\xd5\xbd\xe7\x7e" \ "\x65\x02\x80\x48\x77\x44\xfa\x35\xc4\xa1\x84\xa9" \ "\xbf\x1c\xd1\xf4\x5e\x21\x54\x07\xa0\x02\xa5\xa2" \ "\xa1\x52\x79\xd7\x0f\x7f\xe1\x07\xe1\x84\x55\xf5" \ "\x6f\xb0\x6c\x37\x07\x08\xee\x07\xfd\x6f\x09\x00" \ "\x68\x2b\x69\x00\x46\x57\x7b\xa4\x4f\x81\x40\x29" \ "\xad\x62\x07\x45\x40\xae\xa4\xbf\x02\xdc\x92\xfa" \ "\x7f\x45\x60\x35\x1e\xe4\x1e\xc5\x06\x32\xff\xbb" \ "\xf8\x27\x68\x7d\xcd\xf9\x93\x0d\xe2\x60\x00\x00" \ "\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82" class ModalPopUpDialog(QDialog): def __init__(self,parent = None,name = None,modal = 0,fl = 0): QDialog.__init__(self,parent,name,modal,fl) self.image0 = QPixmap() self.image0.loadFromData(image0_data,"PNG") if not name: self.setName("ModalPopUpDialog") self.pixmapLabel1 = QLabel(self,"pixmapLabel1") self.pixmapLabel1.setGeometry(QRect(20,20,32,32)) self.pixmapLabel1.setPixmap(self.image0) self.pixmapLabel1.setScaledContents(1) self.textLabel1 = QLabel(self,"textLabel1") self.textLabel1.setGeometry(QRect(90,20,230,60)) self.pushButtonCancel = QPushButton(self,"pushButtonCancel") self.pushButtonCancel.setGeometry(QRect(30,90,100,26)) self.pushButtonOk = QPushButton(self,"pushButtonOk") self.pushButtonOk.setGeometry(QRect(210,90,100,26)) self.languageChange() self.resize(QSize(332,120).expandedTo(self.minimumSizeHint())) self.clearWState(Qt.WState_Polished) self.connect(self.pushButtonCancel,SIGNAL("clicked()"),self.pushButtonCancel_clicked) self.connect(self.pushButtonOk,SIGNAL("clicked()"),self.pushButtonOk_clicked) def languageChange(self): self.setCaption(self.__tr("ModalPopUpDialog")) self.textLabel1.setText(QString.null) self.pushButtonCancel.setText(self.__tr("Cancel")) self.pushButtonOk.setText(self.__tr("OK")) def pushButtonCancel_clicked(self): self.done(False) def pushButtonOk_clicked(self): self.done(True) def __tr(self,s,c = None): return qApp.translate("ModalPopUpDialog",s,c) |