From: Harishankar Date: Tue, 30 Nov 2010 07:46:52 +0000 (+0530) Subject: Added about box and application icon X-Git-Url: https://harishankar.org/repos/?p=biaweb_qt.git;a=commitdiff_plain;h=bfa2d7e7b048794a95590ee79ba41aa861835cfa Added about box and application icon Added an about box and an application icon for BiaWeb Qt --- diff --git a/biaweb_rc.qrc b/biaweb_rc.qrc index 8e6708c..46567d4 100644 --- a/biaweb_rc.qrc +++ b/biaweb_rc.qrc @@ -1,5 +1,6 @@ + resources/icon.png resources/link.gif resources/bold.gif resources/bquote.gif diff --git a/biaweb_rc_rc.py b/biaweb_rc_rc.py index e0746c4..4ad38d2 100644 --- a/biaweb_rc_rc.py +++ b/biaweb_rc_rc.py @@ -2,7 +2,7 @@ # Resource object code # -# Created: Sun Nov 28 09:45:07 2010 +# Created: Tue Nov 30 13:15:33 2010 # by: The Resource Compiler for PyQt (Qt v4.7.0) # # WARNING! All changes made in this file will be lost! @@ -412,6 +412,305 @@ qt_resource_data = "\ \xa2\x39\x89\x2a\xa5\x99\x42\xe9\xd0\xa4\x4e\x9f\x46\xfd\x39\x71\ \xaa\x54\xa7\x50\xad\x1e\x45\x3a\x31\xa2\xd7\x87\x0b\xc3\x8a\x1d\ \xbb\x30\x20\x00\x3b\ +\x00\x00\x12\x8f\ +\x89\ +\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ +\x00\x00\x8d\x00\x00\x00\x91\x08\x06\x00\x00\x00\xfe\x4a\x3b\x45\ +\x00\x00\x00\x04\x73\x42\x49\x54\x08\x08\x08\x08\x7c\x08\x64\x88\ +\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0e\xc4\x00\x00\x0e\xc4\ +\x01\x95\x2b\x0e\x1b\x00\x00\x00\x19\x74\x45\x58\x74\x53\x6f\x66\ +\x74\x77\x61\x72\x65\x00\x77\x77\x77\x2e\x69\x6e\x6b\x73\x63\x61\ +\x70\x65\x2e\x6f\x72\x67\x9b\xee\x3c\x1a\x00\x00\x12\x0c\x49\x44\ +\x41\x54\x78\x9c\xed\x9d\x7b\x74\x14\x55\x9e\xc7\x3f\xbf\xea\xce\ +\x8b\x90\x04\x82\x10\x84\xcc\x80\x22\x08\x8b\x2b\xc8\x00\x22\x07\ +\x98\x19\x72\x90\xd1\x05\x47\x18\x57\x1d\x1e\x02\x01\x85\x59\x15\ +\x97\xd9\x39\x0c\xe3\xce\x8c\x8f\xe3\x8c\xeb\xea\xba\xce\xf1\x89\ +\x8a\xee\xa0\x23\x1e\x91\x25\x80\x87\xe0\xf1\x85\x0f\xc4\x27\x26\ +\x8e\x8a\x0a\x1a\x34\x33\x98\x2c\x02\x49\x48\x02\x79\xd5\x6f\xff\ +\xa8\xee\x10\x62\x48\xba\xd3\x95\x54\x35\x7d\x3f\xe7\xd4\xe9\xee\ +\xa4\xab\xea\xdb\x9d\x4f\xee\xad\xba\xb7\xee\x2d\x51\x55\xe2\x01\ +\x11\xe9\x0b\x9c\x1d\x5a\x86\x87\x1e\x4f\x03\xc9\x04\x2b\x03\xc8\ +\x00\xbb\x07\x90\x04\x52\xe3\x2c\x7a\x04\xec\x2a\xa0\x0a\xf8\x12\ +\xf8\xac\xc5\xf2\xa5\xaa\x36\x78\xf2\x61\xe2\x1c\xf1\xab\x34\x22\ +\x32\x04\xf8\xb1\xb3\x58\x53\xc1\xee\x4f\x4f\x20\x33\xbc\xf4\xb0\ +\xc9\x48\xb7\x9c\xe7\x4d\xd0\xb3\x01\x9a\x92\xa0\x3e\x19\xea\x05\ +\x1a\x14\xea\x15\x1a\x9a\xa0\xa1\x5e\xa9\xae\x86\x72\x5b\x28\x03\ +\xaa\x01\xa4\x01\x74\x27\xf0\x4a\x68\x79\x4b\x55\xeb\xbc\xf9\xb4\ +\xf1\x85\xaf\xa4\x11\x91\x89\xc0\x55\x60\xcd\x00\x7b\x20\xe9\xc0\ +\x99\x41\xe5\xcc\xbe\xc2\x90\x6a\xc8\x3c\xf2\xdd\x95\x54\x00\x01\ +\xb1\x4f\x7c\xed\xbc\x00\x69\xe3\xf3\xd5\xf6\x80\xb2\x4c\x28\xab\ +\x56\xf6\x54\x0b\x5f\x03\x4d\x52\x07\xfa\x06\xb0\x0e\x58\xaf\xaa\ +\x55\xee\x7f\xc2\x53\x03\xcf\xa5\x11\x91\x41\xc0\x7c\xb0\x16\x12\ +\xb4\x87\x30\x58\x94\x33\xfb\x0b\x43\x9a\x20\xe7\x00\xa0\x9c\x20\ +\x81\x5b\xa8\x75\x5c\xb4\xfa\x14\xd8\xdb\x0f\x3e\x3f\xa4\xec\xa9\ +\x11\x6a\xac\x3a\xb0\x37\x00\x7f\x06\x5e\x54\x55\xdb\xbd\x1d\xc7\ +\x3f\x9e\x49\x23\x22\x23\x81\xff\x00\xfe\x89\x4c\x84\x71\x7d\x94\ +\xb1\xb5\x42\xda\x51\xe7\x0d\x2a\x6d\x97\x12\x5d\x45\x78\x7f\x2a\ +\xb0\xa7\x3f\xbc\x7b\x40\xd9\xdb\x28\xa8\xb5\x1f\xec\x9b\x81\xc7\ +\x54\xb5\xa9\xfb\x02\xf9\x97\x6e\x97\x46\x44\x06\x02\xb7\x02\x0b\ +\x19\x14\x10\xc6\x0f\x12\x46\xec\x03\xcb\xc6\x29\x51\x7c\x50\x5d\ +\x86\x4b\xa1\xca\x6c\x78\x57\x95\x0f\x0e\x0b\x35\xd6\xa7\x60\xaf\ +\x52\xd5\x4d\x5e\xc7\xf3\x9a\x6e\x93\x46\x44\xb2\x80\x5f\x13\x90\ +\x15\x9c\x4b\x2a\x13\xb2\x20\xa7\xa2\xfb\x4b\x94\x68\x08\xcb\x63\ +\x07\x60\x57\x92\xb2\xfd\x98\x50\x2d\x3b\x40\x7f\xa5\xaa\x6f\x79\ +\x1d\xcf\x2b\xba\x5c\x1a\x11\x49\x06\x7e\x01\xd6\x4d\x0c\xb6\x7b\ +\x33\xa3\x07\x9c\x56\x7b\xe2\x31\x45\xbc\xd0\x18\x84\x9d\x28\x6f\ +\x34\x0a\x75\x6c\x00\x7e\xa3\xaa\x7b\xbc\x8e\xd5\xdd\x74\xa9\x34\ +\x22\x72\x25\x58\xb7\x93\x6e\x0f\xe6\xc2\x5e\xca\xa8\x0a\x89\x4b\ +\x59\x9a\x09\x55\x9f\x47\x53\xe0\xd5\x06\xe5\x6d\xb5\x51\x5d\x0d\ +\xdc\xa2\xaa\xff\xe7\x75\xba\xee\xa2\x4b\xa4\x11\x91\x54\xe0\x51\ +\x84\xb9\xfc\xa0\xb7\x32\xed\x98\x90\x72\xd4\xf5\xfd\x78\x46\x58\ +\xfc\xd2\x3e\x50\x70\x10\x0e\x5a\xe5\x60\x5f\xa2\xaa\xef\x78\x1d\ +\xad\x3b\x70\x5d\x1a\x11\x19\x00\x52\x40\x3f\x1d\xc7\xa5\x39\x30\ +\xa0\x3c\x3e\xab\xa2\x48\x50\x71\x1a\x14\x5f\x48\xb2\x79\xe7\x68\ +\x03\x6a\x2f\x51\xd5\x27\xbd\x8e\xd5\xd5\xb8\x2a\x8d\x88\x8c\x03\ +\x6b\x33\xc3\x25\x87\x9f\x05\x84\x60\xe3\xa9\x29\x4b\x4b\xc2\xff\ +\x10\xfb\xd2\x95\x8d\x35\x42\x25\x77\x00\x37\x9e\xca\x6d\x3b\xae\ +\x49\x23\x22\x73\x40\x1e\x63\x4a\x4a\x32\x53\xeb\xc4\x39\x2b\x3a\ +\x65\xbf\xb7\x36\x10\xa8\x49\x86\xa7\xea\xe0\xef\x3c\x07\xcc\x51\ +\xd5\x36\x9a\xb0\xe3\x9f\x98\xa5\x11\x11\x0b\xb8\x8d\x24\x7e\xc3\ +\x4f\x33\x94\x73\x8e\x88\xaf\x4f\xa3\xbb\x12\xb5\xa0\x49\x60\x63\ +\x13\x7c\x6c\xed\x06\x7b\xa6\xaa\x7e\xe1\x75\x2c\xb7\x89\x49\x1a\ +\x11\xc9\x00\x9e\x24\x93\x4b\xf8\x79\x26\x9c\x6e\xba\x6b\x9a\xab\ +\xab\x97\x03\xca\x6b\x5a\x09\xf6\x6c\x55\x7d\xc5\xeb\x58\x6e\xd2\ +\x69\x69\x1c\x61\xac\xd7\xc9\xb1\x47\x71\x55\x0f\xe8\x71\x34\x31\ +\x4b\x97\xb6\x08\x97\xb4\xbb\x52\x95\x2d\x75\x36\xaa\xff\xac\xaa\ +\x1b\xbd\x8e\xe5\x16\x56\x67\x56\x0a\x55\x49\x4f\xd2\xdb\x1e\xc5\ +\xfc\x0c\xe8\x71\xcc\x08\xd3\x92\xf0\x77\x31\xe6\x98\xf0\x93\x0c\ +\x0b\xac\xbf\x88\xc8\x28\x6f\x43\xb9\x47\xa7\xa4\x01\x6e\x23\x9d\ +\x4b\xb8\x2a\x0b\xd2\xab\x13\xec\x80\x37\x4a\xce\xaf\x12\xf2\x82\ +\xa9\x60\x6d\x09\x5d\x48\x16\xf7\x44\x5d\x3d\x89\xc8\x1c\x52\xf8\ +\x0b\x0b\x33\xe1\xf4\x23\xf8\xa2\x83\x31\x1e\x78\x49\x94\xd7\xd9\ +\x01\x9a\xa7\xaa\xf5\x5e\xc7\x89\x85\xa8\x4a\x1a\x11\x19\x47\x40\ +\x1e\xe3\xca\x34\x75\x0e\x7a\x8d\x30\x91\x21\x90\xa7\xc2\x28\x9d\ +\x04\x3c\xe0\x75\x9a\x58\x89\x58\x1a\x11\x19\x80\x58\x9b\x99\x1d\ +\x48\xe6\x8c\xa3\xd2\xf1\x1a\x86\xe3\xa8\x73\x56\x35\x33\x00\x7d\ +\x59\x2c\x22\x37\x78\x9d\x28\x16\x22\x92\xc6\xe9\x4b\x92\x02\x26\ +\x69\x0e\x23\x1b\x8d\x30\x9d\x41\x6c\x08\x28\x5c\x91\x06\xc9\x72\ +\xb7\x88\x4c\xf3\x3a\x52\x67\x89\xb4\xa4\x79\x94\x1c\x1d\xc7\x8f\ +\x2d\x39\x7e\xe9\xa5\x21\x6a\xc4\x86\xd3\x8e\xc2\x8c\x34\x01\xeb\ +\x59\x11\x19\xe6\x75\xa4\xce\xd0\xa1\x34\x22\x72\x25\x01\xe6\x32\ +\x2b\x3b\x74\x96\x64\x8e\x63\x62\xe6\xdc\x5a\x61\x4c\x20\x03\x64\ +\xad\xd7\x51\x3a\x43\xbb\xd2\x88\x48\x12\x58\x7f\x64\x4a\xba\xd2\ +\xff\x90\x69\x8b\x71\x0b\xb5\xe0\x22\x84\xde\x7a\xbe\x88\xfc\xcc\ +\xeb\x38\xd1\xd2\x51\x49\xb3\x94\x01\xf6\x19\x4c\x3e\x6a\xaa\x25\ +\x37\x11\x1b\x82\x8d\xf0\xd3\x64\x45\xac\xdb\x45\x24\xe8\x75\xa4\ +\x68\x38\xa9\x34\x22\xd2\x93\xa0\x75\x33\xb3\x93\x43\xbe\x98\x52\ +\xc6\x55\x44\x61\x70\xbd\x30\xd6\x1e\x0a\x5c\xed\x75\x9c\x68\x68\ +\xaf\xa4\xf9\x15\x93\xed\x3e\x9c\x56\xdf\x7e\x8b\xaf\x76\x50\x58\ +\xa9\x29\xa1\x4e\x8a\x5a\x70\xa1\x40\xb6\x75\x9b\x88\xf4\xf4\x3a\ +\x4e\xa4\xb4\xd9\x22\x2c\x22\xfd\xe8\x61\xed\x63\x05\x69\x24\x29\ +\xcd\xa5\x4c\xcb\x2b\xf0\x1a\x02\x70\x28\x08\x87\x1a\xe1\x70\x13\ +\x1c\x02\x6a\x81\xd4\x96\x4b\x2a\xf4\x4a\x85\x21\x55\x10\xf0\xd1\ +\x10\x15\xbf\x10\xee\xd8\xfc\x04\x78\x86\x9b\x55\xf5\x16\xaf\x23\ +\x45\xc2\xc9\xa4\xb9\x8f\x0b\xb9\x96\x89\x2d\x7e\x68\x0b\x7c\x15\ +\x84\xdd\x0d\xf0\x79\x10\x2a\x72\x81\x41\xc0\xf7\x43\x4b\xf8\xb9\ +\x02\x25\x38\xe3\xed\x4b\x9c\x25\xf9\x0b\x38\xab\x12\x86\x0b\x9c\ +\x1d\x80\x94\xc6\xae\xfe\x5c\xf1\x41\x7d\x0a\xec\x1c\x00\x3b\x4b\ +\xe1\x98\x7d\x0c\xec\x41\xf1\x70\x81\xfa\x77\xa4\x11\x91\x21\x58\ +\xf2\x29\x57\xf6\x0d\xd2\xbf\x0e\xbe\x69\x80\xdd\xb5\xf0\x39\x50\ +\x3b\x11\x98\x0f\x5c\x0e\x64\x47\xb9\xab\xf7\x80\x07\x20\xe5\x69\ +\x98\x76\x0c\xc6\xaa\xfb\xd7\x0e\x87\xab\x42\x3f\x9f\xe5\x85\x4b\ +\x97\xbd\x49\x50\xd0\x00\xd5\x7d\x80\x0b\x80\xe7\x00\x1e\x50\xd5\ +\x6b\xbd\x0d\xd8\x31\x6d\x49\xf3\x34\x58\x57\xc0\x5b\xc0\x34\xa0\ +\x2f\x8e\x28\xf3\x80\x33\x5d\xd8\xe5\x01\x60\x01\x0c\x2e\x84\xb9\ +\x16\x04\x71\x47\x1c\x15\x28\xef\xe9\x8c\x4d\xca\xae\x85\x1e\x6d\ +\x4c\x00\xe1\xf9\x05\xee\xa1\xea\xf9\x85\x00\xbc\xd9\x0f\xf4\x51\ +\xe0\x42\x9c\x2f\xe1\x12\xe0\xb9\x26\xd0\xe1\xaa\xba\xd7\xc3\x90\ +\x1d\x72\x82\x34\xce\x90\x59\x29\x85\x39\x02\x4f\x02\xc7\x70\x0e\ +\x4e\xdc\x46\x81\xdf\xc3\x39\xb7\xc1\x65\x6e\x6c\xce\x82\x3d\x69\ +\xf0\x54\x23\x90\x06\x1c\x83\xe4\x63\x4e\x61\xd8\x3b\xb4\x64\x0b\ +\xf4\x49\x83\x01\x0d\x90\xd2\x70\xe2\xba\xdd\x22\x52\x48\x98\x6d\ +\xc0\x5b\x63\x81\x02\x60\x60\x8b\xdf\x7f\x04\xfc\x23\xc0\x7f\xaa\ +\xea\xaf\xbb\x21\x50\xa7\x69\x2d\xcd\x4a\xe0\x0e\x78\x15\x98\xd2\ +\x0d\xbb\xbf\x10\x7e\xf2\x12\x4c\x70\xe1\x8f\xf6\x32\xf0\xda\x2a\ +\xe0\xf6\xd0\x0f\x14\xa8\x04\xfe\x0a\x14\x1f\x5f\xe4\x23\xc8\x3e\ +\xea\xfc\xbd\x06\x00\x03\x93\xe0\x74\x1b\x82\xe1\xb1\xfd\x5d\x30\ +\x43\x45\x98\x17\x2d\x78\x63\x12\x8e\x39\x69\x6d\xbc\x61\x82\xc2\ +\xbb\x65\x60\xe7\xfa\x79\x34\x43\xab\x46\x25\x6b\x01\xe4\xda\x30\ +\xb9\xb3\x17\x67\x45\xc9\x1a\x78\x6d\x24\x8c\xad\x81\x60\x8c\xdf\ +\x91\x0d\x30\xa4\xc5\x0f\x04\xe8\x05\x4c\x0e\x2d\x21\xb4\x09\x0e\ +\x7e\x0e\x07\x8b\xe1\xc3\x62\x60\x17\x58\x6f\x42\xdf\x6a\x47\xa4\ +\x81\x29\x30\x54\x20\x33\x3c\x7b\x85\x4b\x25\xd1\xee\x54\x78\x23\ +\x0b\x78\x9a\xb6\x85\x01\x98\x27\xf0\xf6\xe9\xc0\x54\xe0\xc5\xd8\ +\x77\xda\x35\x34\x4b\x23\x22\xe7\x01\xff\x00\x0b\xe8\xbe\xd6\xdf\ +\xef\x41\xed\x6d\xf0\xfe\x0d\x70\x7e\x8c\x9b\x12\x80\xe4\x08\xde\ +\x18\x00\x46\x84\x96\x2b\x9d\x1f\xd9\x8d\x50\xfe\x3e\x94\x6f\x87\ +\x5d\xdb\x81\x1d\xd0\x1f\x18\x06\x0c\x0b\xc0\xc0\xd0\xe4\x48\x9d\ +\x11\x48\x2d\xa8\x09\xc2\xe6\x06\xe0\x29\xe0\xf4\x76\xde\x7c\x05\ +\xf0\xaf\x0a\x4d\xf3\xf1\xb1\x34\xcd\xd5\x93\x88\xdc\x0d\xac\x70\ +\x4e\x93\x86\x76\x63\x84\x4a\xe8\xd5\x1f\x6e\xa8\x8b\xed\xac\xe7\ +\x25\xe0\xf5\xa7\x71\xbe\xf8\x58\x69\x04\x76\x01\xdb\x9d\x25\xfd\ +\x55\x38\xab\x16\x86\xa5\xc1\xd9\x0d\x4e\x17\x40\xa4\xa8\xc0\x9f\ +\x15\xf6\xdd\x06\xfc\x7b\x04\x2b\xcc\x00\x0a\x6b\xc1\xee\xab\xaa\ +\xb5\xd1\x67\xef\x7a\x5a\x54\x43\xd6\x0c\x38\x57\xbb\x57\x18\x80\ +\x2c\xa8\xb8\xcc\x69\xe0\x8a\xb9\xf5\x38\x92\x92\x26\x12\x82\xc0\ +\x78\x60\x25\xb0\x15\x6a\xbe\x81\xe2\xfb\x61\xfd\x59\x70\x6f\x23\ +\xec\x0e\xe5\xec\xa8\x35\x1c\xe0\x0d\x85\x7d\x17\x01\x37\x46\xb8\ +\xef\x39\x84\x26\x9c\xfc\x61\x27\x82\x77\x0b\xa2\xaa\x88\x48\x2e\ +\x50\x0a\xff\x06\xdc\xe5\x41\x8c\x57\x60\xd8\x54\xe7\xfb\x8a\x86\ +\xa7\xc1\x2a\xb3\x9c\xaa\xe9\x18\x50\xd7\x07\xe8\xe1\x7e\xbc\x13\ +\xa8\x03\xaa\x21\xa9\xb6\xfd\x5d\x29\xd0\x04\xd4\x04\x70\xea\xba\ +\x48\x0f\x13\x9b\x80\xfd\x00\x47\x80\x8a\x18\x82\x76\x09\xb6\x6d\ +\xdb\xe1\x63\x9a\xa9\xce\x43\x9e\x47\x51\x7e\x04\x5f\x9c\x01\x75\ +\x5f\x41\x4a\x14\xc7\x0c\xd5\x90\xd6\x90\xc6\xa4\x49\x93\xba\x2c\ +\x99\x37\x8c\x04\x08\x4d\x73\xeb\x1f\x3e\xf9\xe4\x13\x4a\x4b\x4b\ +\x9b\x0f\x84\xf3\x20\xa8\x30\xc5\xa3\xde\x45\x81\xa6\xcb\x61\xf7\ +\x1d\x30\x3a\xba\xfe\xa9\x81\xb9\x03\xd9\xb6\x6d\x5b\xd7\x45\x33\ +\x34\xb3\x6c\xd9\x32\x56\xaf\x5e\x1d\x2e\x33\xad\xa9\xce\xe9\x4b\ +\xba\x87\x91\x66\x3a\xed\x5b\xa6\x43\xd3\xf7\x58\x4e\x97\xbc\x9d\ +\x0b\x63\x3d\xbe\x86\x61\x02\x7c\xd9\x07\x8e\x26\x79\x1b\xc3\xd0\ +\x21\x16\xce\x74\xf1\xc7\x1f\x3c\x23\x00\xf6\x45\xf0\x89\x6f\x1b\ +\x42\x0d\x21\x5a\x48\xe3\x87\x0b\xe3\x67\x42\x91\x99\xaa\xd7\xef\ +\x58\x38\x37\xa7\xc0\xfb\x92\x06\x60\x3a\x94\x06\xe1\x70\x46\x64\ +\x6d\x20\x06\x4f\xb0\x80\x61\xd0\xc3\x3e\xb1\xc7\xd5\x2b\xb2\x80\ +\xc9\x50\xa4\x66\x52\x01\x1f\x63\x01\x39\x30\xc0\x47\xa3\x0d\x66\ +\xc2\x87\xd5\xf8\x27\x8f\xa1\x35\x16\x90\x01\x59\x3e\xfa\x0b\xcd\ +\x80\xc3\xc0\x57\xdf\x37\x55\x94\x4f\xb1\xc0\xea\xe5\xdc\x40\xc9\ +\x2f\x0c\x05\x86\x41\xb1\xa9\xa2\xfc\x8a\x05\x92\xe9\x2f\x69\x00\ +\x2e\x81\x8f\xbf\x86\x46\xb7\x3a\x20\x0d\x6e\x62\x81\xf6\xf4\x9f\ +\x34\xf3\x9c\x7e\xc1\xdd\x67\x99\x71\x53\x3e\xc4\x02\x4d\x81\x14\ +\xaf\x73\xb4\x62\x94\xb3\x14\x97\xfb\x7b\x64\x41\x82\x12\x04\xa9\ +\x86\x23\x7e\x2b\x6a\x80\x05\xf0\xe5\x2f\xa1\xba\x37\xa4\x57\xb8\ +\x22\x4f\x79\x79\x39\x1f\x7c\xf0\x81\x0b\xd9\x4e\x1d\xfa\xf5\xeb\ +\xc7\x98\x31\x63\xa2\x5a\x27\x08\x72\x04\xaa\x7c\x28\xcd\x1c\xb0\ +\x57\xc2\x87\x39\x30\xf1\xb0\x2b\x5b\x5c\xb4\x68\x11\x85\x85\x85\ +\xae\x6c\xeb\x54\xc1\xb2\x2c\x0e\x1e\x3c\x48\xaf\x5e\xbd\x22\x5e\ +\x27\x08\x5a\x09\x95\x7e\x68\xd9\x6b\x45\x0e\x30\x1b\x8a\x9f\xe5\ +\x84\x91\x9e\x31\xf0\xe0\x83\x0f\x9a\x92\xa6\x15\x03\x07\x0e\x8c\ +\x4a\x18\x80\x20\xd8\x95\x50\xd5\xf2\xee\xa2\x3e\xe2\x76\x28\x2f\ +\x80\x2f\x32\xe0\xcc\xd8\xe7\xc7\x19\x34\x68\x10\x83\x06\x0d\x72\ +\x29\x5b\xe2\x62\x01\x55\x70\xc8\xa7\x47\x9b\x67\x02\xd7\x41\xe1\ +\x41\xd3\xd0\xe7\x23\x2c\xa0\x04\xca\x2c\xe7\x22\x5b\x3f\xf2\x5b\ +\xf8\x36\x1b\x76\xf6\xf6\x3a\x88\x21\x84\x05\x7c\xe6\x8c\x34\xf3\ +\xeb\xad\x18\x7b\x03\xb7\xc0\xab\xdf\xc2\xc1\x74\x7c\x59\x8b\x26\ +\x18\x21\x69\x38\xfe\xe0\x4b\xae\x83\xfa\x55\xf0\x78\x0d\x1c\x4c\ +\xc3\x88\xe3\x2d\x16\xf0\xa9\xf3\xd4\xcf\xd2\x00\xdc\x0e\xd5\x7f\ +\x80\xc7\x6b\x9d\x03\xe3\x30\x3e\x3d\x1a\x3b\x95\x09\x02\x5f\x81\ +\xd4\xc3\xc7\x71\xd0\xd1\x73\x23\x54\x67\xc0\x13\x2b\x9c\x33\xf2\ +\xfa\x60\xd7\x0f\x73\x32\x7c\x07\x2b\x34\x3b\xc1\xbb\xf0\x4a\x9c\ +\x74\x29\x5f\x0f\x94\x40\xf9\x2a\x38\x1c\xf0\x3a\x4c\x42\x12\x3a\ +\x8f\xd5\x97\x9c\x33\x28\xbf\x57\x51\x61\xbe\x87\x33\xa5\xc8\x68\ +\xcc\xf1\x4d\xf7\x13\x1e\x2c\xf7\x32\xf0\x7b\xe7\xc1\x0f\xd7\x0a\ +\x77\x0d\x45\x45\x45\x6c\xdf\xbe\xdd\xeb\x18\xbe\x20\x10\x08\x30\ +\x6f\xde\x3c\x7a\xf7\x8e\xbe\x29\x23\x2c\xcd\x4e\x90\x63\xf0\x4a\ +\x2a\xfc\xc2\xdd\x74\x3e\xe2\x96\x5b\x6e\xa1\xa0\xa0\xc0\xeb\x18\ +\xbe\xc1\xb2\x2c\xae\xbd\x36\xfa\x29\xfe\x82\x00\xaa\x5a\x2f\x22\ +\xaf\xc3\x0b\x79\x50\x6f\xb9\x37\xfb\x82\xbf\x58\xbb\x76\x2d\x5f\ +\x7c\x71\xca\xdd\xbc\xb6\x53\x24\x25\x25\x31\x72\xe4\xc8\x4e\xad\ +\xdb\x72\x26\xac\xf5\x50\x31\x0d\xb6\x02\x97\xba\x12\xcc\x6f\x64\ +\x64\x64\x30\x7a\xf4\x68\xaf\x63\xc4\x3d\x2d\x3b\x74\xd6\x3b\xa7\ +\xde\x4f\x78\x16\xc6\x10\x1f\x34\x4b\xa3\xaa\x15\xa0\x9b\x61\x8b\ +\x3a\xc3\x01\x0c\x86\xb6\x69\xdd\x75\xbc\x16\x1a\x04\x9e\xf1\x24\ +\x8c\x21\x3e\x68\x2d\xcd\x36\xb0\xca\xe1\x1e\xdb\x99\x91\xc9\x60\ +\xf8\x2e\x27\x48\xa3\xaa\x0d\x60\xdf\x04\x9f\x5a\xf0\x3f\x1e\x45\ +\x32\xf8\x9d\xb6\xae\x6c\x5a\x03\xd6\x5e\xf8\x9d\x0d\x47\xbb\x3d\ +\x90\xc1\xff\x7c\x47\x1a\x55\x6d\x04\x7b\x15\x7c\x63\xc1\x3d\x5e\ +\x64\x32\xf8\x9c\x36\x6f\x83\xa7\xaa\x1b\x44\xac\x77\xe0\xf6\xb1\ +\x70\x8d\x05\x7d\xba\x3b\x97\xeb\x7c\xf4\xd1\x47\xbc\xf7\xde\x7b\ +\x5e\xc7\xf0\x0d\x22\xc2\xac\x59\xb3\xc8\xcc\x8c\x7e\x20\x4a\x3b\ +\xf7\x4e\xd4\x95\x70\x64\x3b\xfc\x01\xb8\x3b\x82\x4d\x7d\x05\xfc\ +\x77\xd4\x01\xda\x67\x05\xce\x7d\xa4\x62\x67\xc9\x92\x25\xbc\xfd\ +\xf6\xdb\xae\x6c\xeb\x54\xa1\xb2\xb2\x92\xe5\xcb\x97\x47\xbd\xde\ +\x49\xa5\x51\xd5\x57\x45\x64\x2b\xdc\x77\x11\x2c\x17\x18\xdc\xc1\ +\xa6\xbe\x01\xfe\x14\x75\x80\xf6\xb9\x12\xb7\xa4\xd9\xb4\x69\x13\ +\x25\x25\x25\xae\x6c\xeb\x54\x20\x18\x0c\x46\x3d\x48\xae\x79\xdd\ +\x0e\x7e\xbf\x0a\x1a\x2f\x82\xdf\xe2\xdc\xca\xa7\x63\x66\xce\x9c\ +\xc9\xa8\x51\xa3\x3a\x15\x26\x4c\x71\x71\x31\x5b\xb6\x6c\x89\x69\ +\x1b\xad\xc9\xc9\xc9\x21\x27\x27\xc7\xd5\x6d\x26\x2a\xed\x8e\x0b\ +\x51\xd5\xbf\x82\x3e\xe1\xdc\x08\x22\xb2\xa2\x3d\x10\x08\x10\x0c\ +\x06\x63\x5a\x02\x01\x73\x71\x95\x9f\x89\x64\x30\xd1\xef\x40\xaa\ +\x60\x96\x0d\x65\x5d\x1e\xc8\xe0\x7f\x3a\x94\x46\x55\xbf\x06\xfb\ +\x32\x47\x98\x4b\xd5\x99\x03\xc4\x90\xc8\x44\x34\x6c\x51\x55\x5f\ +\x00\xfd\x25\xbc\x2d\x70\x4d\x57\x67\x32\xf8\x9c\x88\xc7\xba\xaa\ +\xea\x9f\x80\x35\xb0\x16\xf8\xaf\xae\x4b\x64\xf0\x3d\xd1\x0e\x90\ +\xfe\x17\x90\x1d\xb0\x32\x74\x07\x4f\x43\x22\x12\x95\x34\xaa\x5a\ +\x0f\x3a\x0b\xf8\x1b\x5c\x6e\xc7\xcf\xe8\x05\x83\x9b\x44\x3d\x15\ +\x83\xaa\x1e\x00\x7b\x26\xd4\xd4\xc1\x0c\xdb\x87\xf7\xb1\x32\x74\ +\x31\x9d\x9a\xbf\x43\x55\x8b\xc1\x9e\x07\x7b\x05\xf2\x14\xfe\xee\ +\x76\x2e\x83\x8f\xe9\xf4\xa4\x2f\xaa\xfa\xbf\xc0\xf5\xf0\x81\xc2\ +\x0f\x6c\xe7\x26\x94\x6e\x13\xba\xf5\x1f\x55\x38\x97\xa0\x7e\x0b\ +\x94\xe3\x74\x59\xfc\x0d\x73\xfa\xef\x0d\x1d\x75\x23\xb4\x8b\xaa\ +\xde\x2f\x22\x7b\xe1\xc0\x33\xb0\x2c\x03\xd7\x87\x3b\xfe\x28\x82\ +\xf7\xf8\xe1\xee\x31\x89\x45\x4c\xd2\x00\xa8\xea\xf3\x22\x32\x0e\ +\xe7\x26\xc7\xb9\xb1\x47\x3a\xce\xda\xb5\x9b\x19\x33\x66\x1c\x81\ +\x80\x45\x20\x60\x11\x0c\x5a\x58\x96\xd5\xfc\x7a\xc6\x8c\xa9\xd4\ +\xd4\x54\xb9\xb9\x4b\x43\x04\xc4\x2c\x0d\x80\xaa\x7e\x2e\x22\x8b\ +\x80\x17\xdc\xd8\x5e\x98\xa1\x43\xfb\x32\x72\x64\xff\x93\xfe\x3e\ +\x29\xc9\x4c\xa9\xe6\x05\x6e\x7e\xeb\xd5\x2e\x6e\xcb\xe0\x63\xcc\ +\xbf\xaa\x21\x6a\x8c\x34\x86\xa8\x31\xd2\x18\xa2\xc6\x48\x63\x88\ +\x1a\x23\x8d\x21\x6a\x8c\x34\x86\xa8\xf1\xb5\x34\x76\x9c\x4c\x1d\ +\x99\x68\xf8\x5a\x9a\x77\xde\xf9\x94\xea\xea\x86\xe6\xd7\x46\x22\ +\x7f\xe0\x6b\x69\x56\xac\x58\x5c\x9d\x95\x95\xca\x79\xe7\x9d\xc7\ +\xf2\xe5\x2b\xf4\xd9\x67\x0b\x29\x2f\x37\x97\x62\x78\x8d\x2b\xdd\ +\x08\x5d\x87\x3d\xdd\xb6\xa9\x2b\x2a\x2a\xfa\x61\x51\x51\xd1\xc8\ +\x7b\xef\xbd\xe7\x6c\x08\x8c\xe8\xdb\x37\x3b\x3b\x39\x39\x99\x03\ +\x07\x0e\x30\x78\xf0\xe0\x98\xf6\x70\xdd\x75\xd7\x71\xd7\x5d\x77\ +\x91\x9a\x9a\xea\x4e\xe4\x04\xc0\xe7\xd2\x60\xab\xea\xfb\xc0\xfb\ +\x2d\x7f\x28\x22\x7d\x70\xe6\xae\x7d\x1c\xe7\x9e\xcc\x9d\xea\x5d\ +\x57\x55\x1e\x7a\xe8\x21\x8a\x8a\x8a\xd8\xbc\x79\x33\xd9\xd9\xd9\ +\x31\x07\x4e\x04\x7c\x5d\x3d\x9d\x0c\x55\x3d\xa8\xaa\x6f\x12\xe3\ +\x3c\x6f\x47\x8e\x1c\xa1\xa9\xa9\x89\x1d\x3b\x76\x30\x71\xe2\x44\ +\xf6\xed\xdb\xe7\x4e\xc0\x53\x9c\xb8\x94\xc6\x2d\x2a\x2a\x9c\xe3\ +\xa3\xdc\xdc\x5c\xf6\xec\xd9\xc3\x84\x09\x13\xd8\xb5\x6b\x97\xc7\ +\xa9\xfc\x4f\x42\x4b\x73\xf8\xb0\x53\x50\x9d\x7b\xee\xb9\xcc\x9d\ +\x3b\x97\x8a\x8a\x0a\xa6\x4c\x99\xc2\xb6\x6d\x66\xa4\x45\x7b\x24\ +\xb4\x34\xe1\x92\x26\x35\x35\x95\x21\x43\x86\xb0\x68\xd1\x22\x02\ +\x81\x00\x33\x67\xce\xe4\xf1\xc7\x1f\xf7\x38\x9d\x7f\x31\xd2\x00\ +\x69\x69\x69\x00\xf4\xef\xdf\x9f\xc5\x8b\x17\x93\x9d\x9d\x4d\x7e\ +\x7e\x3e\xb7\xde\x7a\xab\x97\xf1\x7c\x4b\x42\x4b\x13\xae\x9e\xc2\ +\xd2\x00\x64\x65\x65\x91\x9f\x9f\xcf\xe0\xc1\x83\xb9\xe9\xa6\x9b\ +\x58\xb2\x64\x09\x8d\x8d\x8d\x5e\x45\xf4\x25\x7e\x3f\xe5\x5e\x2e\ +\x22\xb3\x80\x7a\xa0\xa1\xc5\x12\x7e\xdd\xaf\xaa\xaa\x8a\x75\xeb\ +\xd6\x91\x94\x94\xd4\xbc\x24\x27\x27\x9f\xf4\x75\xcb\xe7\xfb\xf7\ +\xef\x07\x4e\x94\x06\x9c\xea\x6a\xfe\xfc\xf9\x14\x14\x14\xb0\x66\ +\xcd\x1a\xf6\xef\xdf\xcf\xfa\xf5\xeb\x49\x4f\x4f\xef\xd6\x0f\xef\ +\x57\xfc\x2e\xcd\xcf\x3b\x7a\x43\x59\x59\x19\x73\xe6\xcc\x89\x69\ +\x27\x6d\x35\xec\x05\x02\x01\x66\xcf\x9e\x4d\x66\x66\x26\x85\x85\ +\x85\x4c\x99\x32\x85\xad\x5b\xb7\x9a\x89\x91\xf0\xa9\x34\xa3\x47\ +\x8f\xe6\x9c\x73\xce\xa1\xa9\xa9\x89\xa6\xa6\x26\x6c\xdb\x3e\xe1\ +\xf1\x64\xcf\x3b\xfa\x7d\x5b\xef\xb5\x6d\xfb\xa4\xad\xc1\x22\xc2\ +\xb4\x69\xd3\xc8\xca\xca\xa2\xb0\xb0\x90\x09\x13\x26\xf0\xfc\xf3\ +\xcf\x33\x6c\x58\x62\x0f\x9b\xf1\xa5\x34\x40\xf3\xac\x58\x7e\x60\ +\xfc\xf8\xf1\x64\x66\x66\xb2\x61\xc3\x06\x2e\xb8\xe0\x02\xb6\x6c\ +\xd9\xc2\xc4\x89\x13\xbd\x8e\xe5\x19\x09\x7d\x20\x1c\x0d\xc3\x87\ +\x0f\x67\xc1\x82\x05\xd4\xd7\xd7\x93\x97\x97\xc7\xc6\x8d\x1b\xbd\ +\x8e\xe4\x19\x46\x9a\x28\xc8\xcd\xcd\x25\x3f\x3f\x9f\xf4\xf4\x74\ +\x2e\xbb\xec\x32\xee\xbb\xef\x3e\xaf\x23\x79\x82\x91\x26\x4a\xc2\ +\x6d\x38\x03\x06\x0c\xe0\xfa\xeb\xaf\x67\xe5\xca\x95\xa8\x26\xd6\ +\xcd\xc1\x8d\x34\x9d\x20\x3d\x3d\x9d\x05\x0b\x16\x30\x7c\xf8\x70\ +\xee\xbc\xf3\x4e\xe6\xce\x9d\x4b\x7d\x7d\xbd\xd7\xb1\xba\x0d\x23\ +\x4d\x27\x49\x4a\x4a\xe2\x8a\x2b\xae\x60\xfc\xf8\xf1\xac\x5b\xb7\ +\x8e\xe9\xd3\xa7\x53\x59\x59\xe9\x75\xac\x6e\xc1\x48\x13\x03\x22\ +\xc2\xc5\x17\x5f\x4c\x5e\x5e\x1e\xdb\xb7\x6f\x67\xd2\xa4\x49\x1c\ +\x3a\x74\xc8\xeb\x58\x5d\x8e\x91\x26\x46\x6c\xdb\xe6\xc0\x81\x03\ +\x00\x4c\x9e\x3c\xb9\x53\xf7\xb9\x8e\x37\x8c\x34\x31\xa0\xaa\x14\ +\x14\x14\xf0\xe1\x87\x1f\xb2\x6c\xd9\x32\xee\xbf\xff\x7e\x44\x5c\ +\x9e\xa2\xc7\x87\x18\x69\x3a\x89\xaa\xb2\x71\xe3\xc6\x66\x61\x1e\ +\x78\xe0\x81\x84\x10\x06\x8c\x34\x9d\xa2\xa5\x30\x4b\x97\x2e\x4d\ +\x28\x61\xc0\x48\x13\x35\x2d\xab\xa4\xa5\x4b\x97\xf2\xe0\x83\x0f\ +\x26\x94\x30\x60\xa4\x89\x8a\xb0\x30\xc5\xc5\xc5\x09\x2b\x0c\x18\ +\x69\x22\xa6\xa5\x30\xd7\x5c\x73\x4d\xc2\x0a\x03\x46\x9a\x88\x68\ +\x2d\xcc\x43\x0f\x3d\x94\xb0\xc2\x80\x91\xa6\x43\x5a\x0a\x73\xf5\ +\xd5\x57\x27\xbc\x30\x60\xa4\x69\x17\x55\x65\xd3\xa6\x4d\xcd\xc2\ +\xac\x5e\xbd\x3a\xe1\x85\x81\x2e\xb8\x08\x6b\xd7\xae\x5d\x71\x39\ +\x52\x31\x2f\x2f\x8f\x8c\x8c\x8c\xe6\xd7\x61\x61\x8a\x8a\x8a\x8c\ +\x30\xad\x70\x53\x1a\x1b\xa8\x2f\x2d\x2d\xa5\xb4\xb4\xd4\xc5\xcd\ +\xb6\x4b\x92\x88\x48\x2c\x57\xf8\xd9\xb6\x4d\x63\x63\x23\x93\x26\ +\x4d\x6a\x96\xa6\xa5\x30\x4b\x96\x2c\x31\xc2\xb4\xc2\x35\x69\x54\ +\xf5\x1d\x20\xc5\xad\xed\x45\x82\x88\xbc\x35\x74\xe8\xd0\xf1\x9f\ +\x7d\xf6\x59\xa7\xff\xa2\xf7\xdc\x73\x0f\x2b\x56\xac\x68\x7e\xdd\ +\x5a\x98\x87\x1f\x7e\xd8\x08\xd3\x0a\x73\x4c\xd3\x82\x96\xc2\x2c\ +\x5e\xbc\xd8\x08\x73\x12\x8c\x34\x21\x54\x95\xcd\x9b\x37\x37\x0b\ +\xf3\xc8\x23\x8f\x18\x61\x4e\x82\x3f\x2e\xf7\xf7\x01\x5b\xb7\x6e\ +\xa5\xa4\xa4\xc4\x08\x13\x01\xa6\xa4\x09\x51\x52\x52\x42\x7e\x7e\ +\xbe\x11\x26\x02\x8c\x34\x21\xf2\xf3\xf3\x79\xf4\xd1\x47\x8d\x30\ +\x11\x60\xa4\x01\x16\x2e\x5c\x68\x84\x89\x82\x84\x97\x66\xfa\xf4\ +\xe9\xac\x59\xb3\xc6\x08\x13\x05\x09\x7f\x20\x3c\x62\xc4\x08\xaf\ +\x23\xc4\x1d\x09\x5f\xd2\x18\xa2\x27\xee\x4b\x9a\xb2\xb2\x32\x59\ +\xb8\x70\xa1\xd7\x31\x12\x82\x9d\x3b\x77\x02\x20\xf1\x3c\xa4\x54\ +\x44\xde\x02\xce\xf7\x3a\x47\xa2\xf1\xff\x68\x13\x4f\x93\x0b\x09\ +\x60\x85\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x04\x91\ \x47\ \x49\x46\x38\x39\x61\x14\x00\x13\x00\xe7\xff\x00\x3a\x4c\x62\x45\ @@ -1110,6 +1409,10 @@ qt_resource_name = "\ \x00\x3a\x4d\x16\ \x00\x69\ \x00\x6d\x00\x67\x00\x2e\x00\x67\x00\x69\x00\x66\ +\x00\x08\ +\x0a\x61\x5a\xa7\ +\x00\x69\ +\x00\x63\x00\x6f\x00\x6e\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x09\ \x08\x9b\x97\xb6\ \x00\x66\ @@ -1159,25 +1462,26 @@ qt_resource_name = "\ qt_resource_struct = "\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\ \x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\ -\x00\x00\x00\x0c\x00\x02\x00\x00\x00\x12\x00\x00\x00\x03\ +\x00\x00\x00\x0c\x00\x02\x00\x00\x00\x13\x00\x00\x00\x03\ \x00\x00\x00\xae\x00\x00\x00\x00\x00\x01\x00\x00\x14\x7a\ -\x00\x00\x00\xda\x00\x00\x00\x00\x00\x01\x00\x00\x1c\xa9\ +\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x01\x00\x00\x2f\x3c\ \x00\x00\x00\x94\x00\x00\x00\x00\x00\x01\x00\x00\x11\x02\ -\x00\x00\x01\x98\x00\x00\x00\x00\x00\x01\x00\x00\x38\xcc\ -\x00\x00\x01\x02\x00\x00\x00\x00\x00\x01\x00\x00\x23\x81\ +\x00\x00\x01\xae\x00\x00\x00\x00\x00\x01\x00\x00\x4b\x5f\ +\x00\x00\x01\x18\x00\x00\x00\x00\x00\x01\x00\x00\x36\x14\ \x00\x00\x00\x6c\x00\x00\x00\x00\x00\x01\x00\x00\x0a\x31\ \x00\x00\x00\x5a\x00\x00\x00\x00\x00\x01\x00\x00\x06\xc2\ -\x00\x00\x01\x62\x00\x00\x00\x00\x00\x01\x00\x00\x31\x7d\ -\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x01\x00\x00\x20\x27\ +\x00\x00\x01\x78\x00\x00\x00\x00\x00\x01\x00\x00\x44\x10\ +\x00\x00\x01\x06\x00\x00\x00\x00\x00\x01\x00\x00\x32\xba\ \x00\x00\x00\x80\x00\x00\x00\x00\x00\x01\x00\x00\x0d\x97\ +\x00\x00\x00\xd8\x00\x00\x00\x00\x00\x01\x00\x00\x2a\xa7\ +\x00\x00\x01\x44\x00\x00\x00\x00\x00\x01\x00\x00\x3c\xe4\ \x00\x00\x00\xc2\x00\x00\x00\x00\x00\x01\x00\x00\x18\x14\ -\x00\x00\x01\x2e\x00\x00\x00\x00\x00\x01\x00\x00\x2a\x51\ \x00\x00\x00\x24\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ -\x00\x00\x01\x18\x00\x00\x00\x00\x00\x01\x00\x00\x26\xf8\ +\x00\x00\x01\x2e\x00\x00\x00\x00\x00\x01\x00\x00\x39\x8b\ \x00\x00\x00\x3e\x00\x00\x00\x00\x00\x01\x00\x00\x03\x59\ -\x00\x00\x01\x7c\x00\x00\x00\x00\x00\x01\x00\x00\x35\x67\ -\x00\x00\x01\xae\x00\x00\x00\x00\x00\x01\x00\x00\x3c\x4c\ -\x00\x00\x01\x46\x00\x00\x00\x00\x00\x01\x00\x00\x2e\x23\ +\x00\x00\x01\x92\x00\x00\x00\x00\x00\x01\x00\x00\x47\xfa\ +\x00\x00\x01\xc4\x00\x00\x00\x00\x00\x01\x00\x00\x4e\xdf\ +\x00\x00\x01\x5c\x00\x00\x00\x00\x00\x01\x00\x00\x40\xb6\ " def qInitResources(): diff --git a/generate_dialog.py b/generate_dialog.py index eb49933..d1882d2 100644 --- a/generate_dialog.py +++ b/generate_dialog.py @@ -14,6 +14,31 @@ class GenerateDialog (PyQt4.QtGui.QDialog, ui_generate_dialog.Ui_SiteGenerateDia # set the database self.current_db = currentdb + # to return the list of items from a tree widget + def get_list_from_tree (self, treewidget): + lstfiles = [] + iter = PyQt4.QtGui.QTreeWidgetItemIterator (treewidget) + + # iterate through the list of files + item = iter.value () + # while there is still a valid item + while item: + # get the text in columns 0 and 1 + src = str (item.text (0)) + dst = str (item.text (1)) + # add it to the list + lstfiles.append ( (src, dst) ) + # increase iterator by 1 + iter += 1 + item = iter.value () + + return lstfiles + + # when site generate button is clicked + def onSiteGenerate (self): + files_list = self.get_list_from_tree (self.additional_files) + folder_list = self.get_list_from_tree (self.additional_folders) + # when folder add is clicked def onFolderAdd (self): folder_to_add = PyQt4.QtGui.QFileDialog.getExistingDirectory (self, diff --git a/generate_dialog.ui b/generate_dialog.ui index 2330f19..ce8a88e 100644 --- a/generate_dialog.ui +++ b/generate_dialog.ui @@ -277,11 +277,28 @@ p, li { white-space: pre-wrap; } + + generate_site + clicked() + SiteGenerateDialog + onSiteGenerate() + + + 367 + 514 + + + 129 + 497 + + + onFileAdd() onFileRemove() onFolderAdd() onFolderRemove() + onSiteGenerate() diff --git a/main_window.py b/main_window.py index bf22310..02eaa8b 100644 --- a/main_window.py +++ b/main_window.py @@ -373,6 +373,13 @@ class MainWindow (PyQt4.QtGui.QMainWindow, ui_main_window.Ui_MainWindow): gendlg = gend.GenerateDialog (self, self.current_db) gendlg.exec_ () + # about menu is triggered + def onAbout (self): + PyQt4.QtGui.QMessageBox.about (self, "BiaWeb Qt", + "A static website/weblog content management system

\ +Copyright (C) 2010 Harishankar
\ +Licensed under GNU/GPL v3") + # file quit is clicked def onFileQuit (self): sys.exit (0) diff --git a/main_window.ui b/main_window.ui index 36b25cd..2c64fee 100644 --- a/main_window.ui +++ b/main_window.ui @@ -13,6 +13,10 @@ BiaWeb - Static Website Content Manager + + + :/bia/resources/icon.png:/bia/resources/icon.png + @@ -290,7 +294,9 @@ categories articles - + + + actionNew_site @@ -548,6 +554,22 @@ + + action_About + triggered() + MainWindow + onAbout() + + + -1 + -1 + + + 398 + 258 + + + onFileNew() @@ -566,5 +588,6 @@ onArticleItemActivated() onTemplates() onGenerateSite() + onAbout() diff --git a/resources/icon.png b/resources/icon.png new file mode 100644 index 0000000..323b170 Binary files /dev/null and b/resources/icon.png differ diff --git a/resources/icon.svg b/resources/icon.svg new file mode 100644 index 0000000..aa19bed --- /dev/null +++ b/resources/icon.svg @@ -0,0 +1,125 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/ui_generate_dialog.py b/ui_generate_dialog.py index c28205d..c81bb6f 100644 --- a/ui_generate_dialog.py +++ b/ui_generate_dialog.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'generate_dialog.ui' # -# Created: Tue Nov 30 10:55:19 2010 +# Created: Tue Nov 30 12:38:46 2010 # by: PyQt4 UI code generator 4.7.4 # # WARNING! All changes made in this file will be lost! @@ -86,6 +86,7 @@ class Ui_SiteGenerateDialog(object): QtCore.QObject.connect(self.removefile, QtCore.SIGNAL("clicked()"), SiteGenerateDialog.onFileRemove) QtCore.QObject.connect(self.addfolder, QtCore.SIGNAL("clicked()"), SiteGenerateDialog.onFolderAdd) QtCore.QObject.connect(self.removefolder, QtCore.SIGNAL("clicked()"), SiteGenerateDialog.onFolderRemove) + QtCore.QObject.connect(self.generate_site, QtCore.SIGNAL("clicked()"), SiteGenerateDialog.onSiteGenerate) QtCore.QMetaObject.connectSlotsByName(SiteGenerateDialog) SiteGenerateDialog.setTabOrder(self.tabWidget, self.addfile) SiteGenerateDialog.setTabOrder(self.addfile, self.removefile) diff --git a/ui_main_window.py b/ui_main_window.py index d754224..e7b4bfb 100644 --- a/ui_main_window.py +++ b/ui_main_window.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'main_window.ui' # -# Created: Mon Nov 29 22:29:43 2010 +# Created: Tue Nov 30 13:15:20 2010 # by: PyQt4 UI code generator 4.7.4 # # WARNING! All changes made in this file will be lost! @@ -13,6 +13,9 @@ class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(798, 517) + icon = QtGui.QIcon() + icon.addPixmap(QtGui.QPixmap(":/bia/resources/icon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) + MainWindow.setWindowIcon(icon) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.gridLayout = QtGui.QGridLayout(self.centralwidget) @@ -138,6 +141,7 @@ class Ui_MainWindow(object): QtCore.QObject.connect(self.articles, QtCore.SIGNAL("itemActivated(QTreeWidgetItem*,int)"), MainWindow.onArticleItemActivated) QtCore.QObject.connect(self.actionTemplates, QtCore.SIGNAL("triggered()"), MainWindow.onTemplates) QtCore.QObject.connect(self.action_Generate_Site, QtCore.SIGNAL("triggered()"), MainWindow.onGenerateSite) + QtCore.QObject.connect(self.action_About, QtCore.SIGNAL("triggered()"), MainWindow.onAbout) QtCore.QMetaObject.connectSlotsByName(MainWindow) MainWindow.setTabOrder(self.categories, self.articles) @@ -190,3 +194,4 @@ class Ui_MainWindow(object): self.action_Refresh.setStatusTip(QtGui.QApplication.translate("MainWindow", "Reload categories and articles in the view", None, QtGui.QApplication.UnicodeUTF8)) self.action_Refresh.setShortcut(QtGui.QApplication.translate("MainWindow", "F5", None, QtGui.QApplication.UnicodeUTF8)) +import biaweb_rc_rc