From 2f9bf31a9e456aad5b5df6847b5fe24c4a37dcc7 Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Tue, 25 Nov 2014 19:08:09 +0100 Subject: [PATCH] Use different icons for video and data tracks in tree view --- picard/resources.py | 297 ++++++++++++------ picard/ui/itemviews.py | 11 +- .../images/{note.png => track-audio.png} | Bin resources/images/track-data.png | Bin 0 -> 588 bytes resources/images/track-video.png | Bin 0 -> 662 bytes resources/picard.qrc | 4 +- 6 files changed, 207 insertions(+), 105 deletions(-) rename resources/images/{note.png => track-audio.png} (100%) create mode 100644 resources/images/track-data.png create mode 100644 resources/images/track-video.png diff --git a/picard/resources.py b/picard/resources.py index 04036569e..37dd06707 100644 --- a/picard/resources.py +++ b/picard/resources.py @@ -2,8 +2,8 @@ # Resource object code # -# Created: ven. juil. 18 23:11:29 2014 -# by: The Resource Compiler for PyQt (Qt v4.8.2) +# Created: Di. Nov 25 16:31:48 2014 +# by: The Resource Compiler for PyQt (Qt v4.8.6) # # WARNING! All changes made in this file will be lost! @@ -36,6 +36,45 @@ qt_resource_data = "\ \x9b\x3c\x71\x95\x28\x7f\xf3\x9d\xed\x85\x7d\x96\xfa\xc9\xc9\x79\ \xf7\x20\x68\x4d\x1f\x7a\xed\x1f\x2d\x49\x58\xba\x4e\x19\x3c\x81\ \x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ +\x00\x00\x02\x4c\ +\x89\ +\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ +\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\ +\x00\x00\x00\x06\x62\x4b\x47\x44\x00\xff\x00\xff\x00\xff\xa0\xbd\ +\xa7\x93\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\ +\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00\x07\x74\x49\x4d\x45\x07\ +\xd6\x01\x05\x0d\x20\x02\x71\x5f\x5a\xcd\x00\x00\x00\x1d\x74\x45\ +\x58\x74\x43\x6f\x6d\x6d\x65\x6e\x74\x00\x43\x72\x65\x61\x74\x65\ +\x64\x20\x77\x69\x74\x68\x20\x54\x68\x65\x20\x47\x49\x4d\x50\xef\ +\x64\x25\x6e\x00\x00\x01\xb0\x49\x44\x41\x54\x38\xcb\xc5\x93\xc1\ +\x4a\x1b\x51\x14\x86\xbf\x58\xb1\x4e\x92\x96\x8e\xd1\x04\x6d\x25\ +\xa5\x30\x12\x90\x80\x82\x08\x03\xc5\xa2\xd0\x40\xe9\x32\x96\x3a\ +\x4f\xd0\x17\x28\xa4\xf4\x01\xa4\x79\x91\x8e\x21\xe4\x01\x3a\x82\ +\x81\xd9\x04\x5c\xb8\xc9\x26\x38\x82\x19\xb1\x8b\x99\x26\x8c\x2d\ +\x33\xde\x28\x2d\x76\xd1\xce\x74\x62\x4d\x37\x2e\x7a\x56\xe7\xde\ +\x73\xf9\x39\xe7\x3f\xdf\x85\x5b\x46\x62\x54\xe1\xf9\xfb\xbd\xab\ +\x30\xdf\xdd\xde\x18\xf9\x6e\x3c\x4c\xd4\x57\xef\xb6\xd2\x4a\x49\ +\x07\xf0\x2d\x43\x03\xa8\x94\x15\xaa\x0d\x6b\xa8\x76\x5d\x2c\x12\ +\x48\x2b\x25\xbd\x52\x56\xd8\x3f\xf4\x68\x52\xd2\xf3\x59\x09\xfb\ +\x8b\x20\x9f\x95\xb0\x29\xe9\xeb\xc5\x69\x56\x17\x64\x60\xef\x2a\ +\x2e\x32\x1e\x57\xdb\x3f\xf4\xc8\xc9\x93\x6c\xad\x3d\x8a\xee\xd4\ +\x42\x06\xb5\xf0\xa7\x7e\x3d\xc6\xc2\xc4\xb7\x0c\xad\xd9\xee\x01\ +\x70\xec\x04\xd4\xcc\x6e\xf0\xe9\xc0\xa1\x66\x76\x83\xcf\x7d\x01\ +\x40\xb3\xdd\x8b\xc6\x1b\x32\x31\x34\x2c\x9f\x95\x50\x0b\x19\x6a\ +\x66\x37\xf8\xfe\xf5\xc4\x10\xee\x51\x7d\xe2\x7e\x6e\x2d\x39\xbb\ +\xf8\x7a\xf3\xe9\x63\xb9\xd5\xe9\x63\xbb\x62\xc8\xd8\xa8\x83\x4a\ +\x59\x41\x2d\x64\x00\x78\x90\x96\x52\xc2\x3d\xaa\xb7\xea\x1f\xf4\ +\xcb\x6f\x8e\x79\x2f\x29\xc9\xe1\x38\x95\xb2\x72\xf3\x16\xaa\x0d\ +\x2b\xea\xe0\xfc\xe2\xf2\x62\xbe\xf8\xec\x2d\x40\x72\xae\xf8\xe6\ +\xcc\x17\x01\x90\x6a\x75\xfa\xec\x98\xe2\x6f\x0f\x76\xb7\x37\x12\ +\xbe\x65\x68\xb6\x2b\xc8\xcf\x48\x2c\x3d\x99\xba\x7b\xfe\x63\x62\ +\x71\x7e\xf9\xe5\xc7\x3b\xa9\x99\x95\x17\x2b\x0f\x53\x00\xb6\x2b\ +\xf0\x2d\x43\x8b\x6f\x21\x11\x07\x67\xbd\x38\x4d\x4e\x9e\x1c\x49\ +\x9d\xe3\x0d\x68\xb6\x7b\x43\x2c\x8c\xc5\x1f\xac\x2e\xc8\x38\xde\ +\x80\x1d\xf3\x94\x56\xa7\x0f\xc0\xaf\xb6\x4f\x71\xbc\xc1\x6f\x0e\ +\xfe\x81\x72\xb8\x0d\xdf\x32\xb4\x10\xac\x6a\xc3\x8a\xce\x37\x91\ +\x78\xeb\xbf\xf0\xff\xe3\x27\x7e\x4f\xb4\x84\x11\xee\x2e\x39\x00\ +\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ \x00\x00\x40\x8c\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ @@ -1201,6 +1240,35 @@ qt_resource_data = "\ \x01\x03\x83\x2f\x12\x7b\x33\x71\x56\x8c\x2a\xc0\x12\xd4\xb0\xd0\ \x43\x06\x8c\x14\xc7\x26\x00\xbe\x5b\x05\xd6\xa8\x8e\xff\x70\x00\ \x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\ +\x00\x00\x01\xa3\ +\x89\ +\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ +\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\ +\x00\x00\x00\x06\x62\x4b\x47\x44\x00\xff\x00\xff\x00\xff\xa0\xbd\ +\xa7\x93\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0d\xd7\x00\x00\ +\x0d\xd7\x01\x42\x28\x9b\x78\x00\x00\x00\x07\x74\x49\x4d\x45\x07\ +\xd5\x04\x1c\x0b\x36\x39\xbb\x24\x9f\x47\x00\x00\x01\x30\x49\x44\ +\x41\x54\x38\xcb\x63\x60\xa0\x10\x30\x62\x13\x2c\xad\x35\xed\x67\ +\x60\xfa\x5a\x40\x48\x33\x13\x13\xc7\x5e\x16\xec\x32\x5f\x0b\x82\ +\x83\x02\x09\xda\xbe\x76\xdd\x7a\x67\x26\x6c\x12\xff\xff\x33\x7e\ +\x23\xd6\x0b\x2c\x04\x6c\xc0\x2a\xfe\xff\x1f\xc3\xbf\x90\x90\x40\ +\x26\x82\x06\x30\x30\x30\x30\x74\x37\x5e\xc3\x08\xa7\x92\x3a\xed\ +\xef\x0c\x0c\x0c\x1c\x0c\x0c\x0c\x0c\x4c\x64\x06\xfe\x3f\x78\x70\ +\x61\x8d\x1a\xc6\xff\x5c\x78\xa3\x0e\x49\x9e\x89\xd2\x74\x40\x56\ +\x2c\x20\xcb\xb3\x30\x30\x30\x30\x64\x15\x5a\x48\x32\xb3\xfc\x89\ +\xfd\xf1\xfd\xbb\x93\x80\xf0\x7f\x77\x06\x86\xff\x0c\xbf\xfe\x7c\ +\x86\x6b\xc0\x27\xcf\xc2\xc0\xc0\xc0\xf0\xf9\xd3\xa7\x3a\x35\x2d\ +\xb6\x0c\x13\x33\x55\x06\x7e\x5e\x75\x06\x7e\x6e\x65\x86\x7b\x4f\ +\xd7\x32\x88\x89\x73\x32\x10\x92\x67\x61\x60\x60\x60\x90\x90\x61\ +\xc8\xb0\xb7\xb7\x66\xf8\xf7\xef\x0f\x03\x33\x33\x3b\xc3\xdd\x27\ +\x6b\x18\x2e\x9d\x7f\xfd\xff\xcd\xeb\xff\x5b\xf1\xc9\xbf\x7a\xc1\ +\xd4\x00\x4f\x07\xf7\x1e\x9e\x67\xe0\xe0\x60\x61\xe0\xe7\x7b\xcb\ +\x70\xf3\xfa\x5b\x86\x77\x6f\xff\x5e\x3c\x7d\xec\x43\x17\x3e\xf9\ +\xb3\x27\xdf\xee\x87\x27\x92\xc4\x4c\xb5\xdb\x22\x62\x2c\x2a\x0c\ +\x0c\x0c\x0c\xb7\xaf\xff\x5c\xb4\x61\xd5\xdd\x78\xe4\x80\x43\x97\ +\x97\x57\x94\xa8\x98\xd8\x79\xf4\x39\xa5\xb1\xc8\x00\x00\xbd\x75\ +\x89\xf9\x6f\x29\x4a\x9e\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\ +\x60\x82\ \x00\x00\x06\xf4\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ @@ -1373,35 +1441,6 @@ qt_resource_data = "\ \x52\x91\xd8\xb3\xa9\xe4\x06\xaa\xfb\x62\x36\x86\x02\x46\x8a\x63\ \x13\x00\x29\x51\x09\x03\x00\x20\x62\x2f\x00\x00\x00\x00\x49\x45\ \x4e\x44\xae\x42\x60\x82\ -\x00\x00\x01\xa3\ -\x89\ -\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ -\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\ -\x00\x00\x00\x06\x62\x4b\x47\x44\x00\xff\x00\xff\x00\xff\xa0\xbd\ -\xa7\x93\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0d\xd7\x00\x00\ -\x0d\xd7\x01\x42\x28\x9b\x78\x00\x00\x00\x07\x74\x49\x4d\x45\x07\ -\xd5\x04\x1c\x0b\x36\x39\xbb\x24\x9f\x47\x00\x00\x01\x30\x49\x44\ -\x41\x54\x38\xcb\x63\x60\xa0\x10\x30\x62\x13\x2c\xad\x35\xed\x67\ -\x60\xfa\x5a\x40\x48\x33\x13\x13\xc7\x5e\x16\xec\x32\x5f\x0b\x82\ -\x83\x02\x09\xda\xbe\x76\xdd\x7a\x67\x26\x6c\x12\xff\xff\x33\x7e\ -\x23\xd6\x0b\x2c\x04\x6c\xc0\x2a\xfe\xff\x1f\xc3\xbf\x90\x90\x40\ -\x26\x82\x06\x30\x30\x30\x30\x74\x37\x5e\xc3\x08\xa7\x92\x3a\xed\ -\xef\x0c\x0c\x0c\x1c\x0c\x0c\x0c\x0c\x4c\x64\x06\xfe\x3f\x78\x70\ -\x61\x8d\x1a\xc6\xff\x5c\x78\xa3\x0e\x49\x9e\x89\xd2\x74\x40\x56\ -\x2c\x20\xcb\xb3\x30\x30\x30\x30\x64\x15\x5a\x48\x32\xb3\xfc\x89\ -\xfd\xf1\xfd\xbb\x93\x80\xf0\x7f\x77\x06\x86\xff\x0c\xbf\xfe\x7c\ -\x86\x6b\xc0\x27\xcf\xc2\xc0\xc0\xc0\xf0\xf9\xd3\xa7\x3a\x35\x2d\ -\xb6\x0c\x13\x33\x55\x06\x7e\x5e\x75\x06\x7e\x6e\x65\x86\x7b\x4f\ -\xd7\x32\x88\x89\x73\x32\x10\x92\x67\x61\x60\x60\x60\x90\x90\x61\ -\xc8\xb0\xb7\xb7\x66\xf8\xf7\xef\x0f\x03\x33\x33\x3b\xc3\xdd\x27\ -\x6b\x18\x2e\x9d\x7f\xfd\xff\xcd\xeb\xff\x5b\xf1\xc9\xbf\x7a\xc1\ -\xd4\x00\x4f\x07\xf7\x1e\x9e\x67\xe0\xe0\x60\x61\xe0\xe7\x7b\xcb\ -\x70\xf3\xfa\x5b\x86\x77\x6f\xff\x5e\x3c\x7d\xec\x43\x17\x3e\xf9\ -\xb3\x27\xdf\xee\x87\x27\x92\xc4\x4c\xb5\xdb\x22\x62\x2c\x2a\x0c\ -\x0c\x0c\x0c\xb7\xaf\xff\x5c\xb4\x61\xd5\xdd\x78\xe4\x80\x43\x97\ -\x97\x57\x94\xa8\x98\xd8\x79\xf4\x39\xa5\xb1\xc8\x00\x00\xbd\x75\ -\x89\xf9\x6f\x29\x4a\x9e\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\ -\x60\x82\ \x00\x00\x00\xbc\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ @@ -1501,6 +1540,50 @@ qt_resource_data = "\ \x23\xb1\x27\x12\xe7\x8b\x21\xa1\x00\xcd\x9b\x13\x31\x14\x30\x52\ \x1c\x9b\x00\xca\x15\x09\x34\x69\x85\x73\x4d\x00\x00\x00\x00\x49\ \x45\x4e\x44\xae\x42\x60\x82\ +\x00\x00\x02\x96\ +\x89\ +\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ +\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xff\x61\ +\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\x0d\xd7\x00\x00\x0d\xd7\ +\x01\x42\x28\x9b\x78\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\x02\x13\x49\x44\ +\x41\x54\x38\x8d\xa5\x93\xcb\x6a\x14\x41\x14\x86\xbf\x53\x55\x73\ +\x6d\x48\x32\x20\x06\x62\x12\x23\x26\x0b\xb7\xde\x36\xba\x70\x63\ +\x06\x1d\xf0\x19\x7c\x04\x37\x82\xb8\x51\x50\x04\xf1\x31\x7c\x83\ +\x6c\x5c\x08\x09\x11\x22\xe2\xde\x60\xbc\x81\x26\x10\x83\x61\x48\ +\x9c\xe9\xea\xe9\x9e\xee\x3a\x2e\x3a\x11\x13\x03\x41\x3c\x9b\x2a\ +\xaa\xea\xff\xcf\x77\xce\xa1\xa4\xdd\x6e\xf3\x3f\xe1\x3a\x9d\xce\ +\x1d\x11\x79\xa8\xaa\xb5\x7f\x11\x8a\x88\x57\xd5\xbb\x4e\x55\x1f\ +\xb7\x6f\x5c\x8f\x9a\x8d\x26\x79\xae\xc7\x67\x74\x82\xb5\x86\x6e\ +\xb7\x5b\x5f\x5a\x7c\xf5\xc4\xa9\x6a\x6d\x74\x74\x84\xf9\x9b\xcf\ +\x49\xe9\x03\xa0\x7a\x84\xd1\xde\x51\x4d\x22\x5e\xbe\xb8\xcd\xc8\ +\xe8\x28\x40\xc3\xed\xdf\xa7\xa1\xcf\x85\xab\x63\x88\xc8\x1e\x22\ +\x80\x94\xab\x00\x5a\xee\xdf\x2c\x6f\xb3\xfa\xee\x3d\x53\x53\x93\ +\x25\x51\x9a\xa6\x80\xa0\xe2\x88\xd3\x50\x0a\x14\x44\xe4\x80\x49\ +\x36\xcc\xd9\xee\xfe\x04\x1c\x67\x67\x67\x31\x12\x4a\x03\xef\x3d\ +\x21\x14\x18\x63\x18\xe4\x52\x66\x2b\x9b\x04\x94\xc2\xcd\x1f\x3b\ +\xc4\x3e\x05\xa0\x61\x5a\x7c\x58\x5b\x63\x7a\x7a\x92\x24\x49\x70\ +\x49\x92\x50\x14\x01\x8c\x23\xc9\xcb\x6c\x8a\x20\x40\x9c\xa4\xec\ +\xf4\x12\x54\x1d\x95\xfa\x5e\xb5\x89\x65\x7a\xe6\x34\x15\x67\xf0\ +\xde\xe3\xe2\x38\x46\x83\x62\x4c\x85\x41\x70\xfb\x00\x24\xe9\x90\ +\x6c\x68\x70\xb5\xe8\xe0\xf8\xac\xe5\xf3\xc7\x4f\xcc\xcd\xcd\xd2\ +\xef\xf7\x4b\x02\x45\x11\x6b\x49\x83\x03\x05\x45\x51\x6b\xa9\xd8\ +\x23\x86\x61\x87\x4c\x9c\x9a\xc0\x18\xca\x12\xbc\xf7\x00\x18\xe3\ +\xb0\xd5\xe8\x6f\xc5\xa1\x18\x9a\x3e\x45\x51\xa0\x08\x71\x1c\xe3\ +\x42\x28\xbb\xd9\x6a\x38\xb2\xcd\xc1\xb1\x06\x51\xd5\x21\x46\x31\ +\x22\x25\x81\x73\xae\xb7\xfe\x6d\xa3\xf5\xec\xd1\xf9\x63\xc5\xbf\ +\x29\xd2\x9c\xf5\xf5\x0d\x80\x1d\xe9\x74\x3a\xb7\x6a\xb5\xda\x03\ +\x11\x8d\x40\x0c\x30\x53\xa9\x38\x57\xa9\x56\xc5\x1a\x03\x40\x11\ +\x02\x59\x96\x69\x3e\xcc\x87\xc0\x57\xd0\xa0\xca\xae\xf7\xc9\x7d\ +\x97\xe7\xf9\x42\x9e\xe7\x0b\x00\xaa\x1a\xb5\x4e\x8c\xbd\x9d\x6f\ +\xb7\xcf\x5d\xba\x78\x99\xf1\x93\xe3\xa8\x2a\x5b\x5b\xdf\x59\x79\ +\xbd\xa2\x4b\xcb\x4b\xab\x49\x6f\x70\x25\xcb\x32\xbf\x4f\x23\x87\ +\xbf\xb3\x31\x66\xa4\xde\xac\x3f\x6d\x46\xcd\x6b\xd6\x9a\x33\x80\ +\x16\xa1\xf8\x32\xf0\x83\xc5\xde\x6e\xff\x9e\x88\xc4\x7f\xbe\xff\ +\x05\x77\x8f\xf2\x46\xb9\x93\x0d\x1e\x00\x00\x00\x00\x49\x45\x4e\ +\x44\xae\x42\x60\x82\ \x00\x00\x00\xca\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ @@ -9643,6 +9726,10 @@ qt_resource_name = "\ \x00\xe0\x1d\x47\ \x00\x66\ \x00\x69\x00\x6c\x00\x65\x00\x2d\x00\x70\x00\x65\x00\x6e\x00\x64\x00\x69\x00\x6e\x00\x67\x00\x2e\x00\x70\x00\x6e\x00\x67\ +\x00\x0e\ +\x08\x53\x8e\xe7\ +\x00\x74\ +\x00\x72\x00\x61\x00\x63\x00\x6b\x00\x2d\x00\x64\x00\x61\x00\x74\x00\x61\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x12\ \x08\xc2\x5a\x27\ \x00\x43\ @@ -9669,6 +9756,10 @@ qt_resource_name = "\ \x00\x36\x9b\x62\ \x00\x33\ \x00\x32\x00\x78\x00\x33\x00\x32\ +\x00\x0f\ +\x05\xff\xc8\x27\ +\x00\x74\ +\x00\x72\x00\x61\x00\x63\x00\x6b\x00\x2d\x00\x61\x00\x75\x00\x64\x00\x69\x00\x6f\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x05\ \x00\x37\xfb\x78\ \x00\x34\ @@ -9695,10 +9786,6 @@ qt_resource_name = "\ \x00\x6d\ \x00\x61\x00\x74\x00\x63\x00\x68\x00\x2d\x00\x70\x00\x65\x00\x6e\x00\x64\x00\x69\x00\x6e\x00\x67\x00\x2d\x00\x36\x00\x30\x00\x2e\ \x00\x70\x00\x6e\x00\x67\ -\x00\x08\ -\x06\xa8\x59\xe7\ -\x00\x6e\ -\x00\x6f\x00\x74\x00\x65\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x05\ \x00\x35\x9b\x52\ \x00\x32\ @@ -9725,6 +9812,10 @@ qt_resource_name = "\ \x00\x6d\ \x00\x61\x00\x74\x00\x63\x00\x68\x00\x2d\x00\x70\x00\x65\x00\x6e\x00\x64\x00\x69\x00\x6e\x00\x67\x00\x2d\x00\x38\x00\x30\x00\x2e\ \x00\x70\x00\x6e\x00\x67\ +\x00\x0f\ +\x05\xbf\x20\xa7\ +\x00\x74\ +\x00\x72\x00\x61\x00\x63\x00\x6b\x00\x2d\x00\x76\x00\x69\x00\x64\x00\x65\x00\x6f\x00\x2e\x00\x70\x00\x6e\x00\x67\ \x00\x05\ \x00\x34\xdb\x46\ \x00\x31\ @@ -9871,75 +9962,77 @@ 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\x1a\x00\x00\x00\x02\ -\x00\x00\x02\x2a\x00\x00\x00\x00\x00\x01\x00\x00\x57\x19\ -\x00\x00\x02\x8c\x00\x02\x00\x00\x00\x12\x00\x00\x00\x34\ -\x00\x00\x01\xce\x00\x02\x00\x00\x00\x13\x00\x00\x00\x21\ -\x00\x00\x00\x12\x00\x02\x00\x00\x00\x01\x00\x00\x00\x20\ -\x00\x00\x00\xe0\x00\x02\x00\x00\x00\x01\x00\x00\x00\x1f\ -\x00\x00\x00\xf0\x00\x02\x00\x00\x00\x01\x00\x00\x00\x1e\ +\x00\x00\x00\x00\x00\x02\x00\x00\x00\x1c\x00\x00\x00\x02\ +\x00\x00\x02\x5a\x00\x00\x00\x00\x00\x01\x00\x00\x59\x69\ +\x00\x00\x02\xe0\x00\x02\x00\x00\x00\x12\x00\x00\x00\x36\ +\x00\x00\x01\xfe\x00\x02\x00\x00\x00\x13\x00\x00\x00\x23\ +\x00\x00\x00\x12\x00\x02\x00\x00\x00\x01\x00\x00\x00\x22\ +\x00\x00\x01\x02\x00\x02\x00\x00\x00\x01\x00\x00\x00\x21\ +\x00\x00\x01\x36\x00\x02\x00\x00\x00\x01\x00\x00\x00\x20\ \x00\x00\x00\x22\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ -\x00\x00\x02\xde\x00\x00\x00\x00\x00\x01\x00\x00\x5c\xbd\ -\x00\x00\x02\xba\x00\x00\x00\x00\x00\x01\x00\x00\x5b\xea\ -\x00\x00\x00\x72\x00\x02\x00\x00\x00\x01\x00\x00\x00\x1d\ -\x00\x00\x00\xcc\x00\x02\x00\x00\x00\x01\x00\x00\x00\x1c\ -\x00\x00\x01\xb8\x00\x00\x00\x00\x00\x01\x00\x00\x53\xf6\ -\x00\x00\x00\x9c\x00\x00\x00\x00\x00\x01\x00\x00\x49\x37\ +\x00\x00\x03\x32\x00\x00\x00\x00\x00\x01\x00\x00\x61\xa7\ +\x00\x00\x03\x0e\x00\x00\x00\x00\x00\x01\x00\x00\x60\xd4\ +\x00\x00\x00\x94\x00\x02\x00\x00\x00\x01\x00\x00\x00\x1f\ +\x00\x00\x00\xee\x00\x02\x00\x00\x00\x01\x00\x00\x00\x1e\ +\x00\x00\x02\xbc\x00\x00\x00\x00\x00\x01\x00\x00\x5d\x6c\ +\x00\x00\x01\x12\x00\x00\x00\x00\x00\x01\x00\x00\x4c\x37\ +\x00\x00\x00\xbe\x00\x00\x00\x00\x00\x01\x00\x00\x4b\x87\ \x00\x00\x00\x48\x00\x00\x00\x00\x00\x01\x00\x00\x01\x81\ -\x00\x00\x02\x5e\x00\x00\x00\x00\x00\x01\x00\x00\x5a\x50\ -\x00\x00\x00\x86\x00\x00\x00\x00\x00\x01\x00\x00\x42\x11\ -\x00\x00\x01\xfc\x00\x00\x00\x00\x00\x01\x00\x00\x56\x5d\ -\x00\x00\x01\x8a\x00\x00\x00\x00\x00\x01\x00\x00\x53\x2b\ -\x00\x00\x01\x3e\x00\x00\x00\x00\x00\x01\x00\x00\x51\x9f\ -\x00\x00\x02\xfe\x00\x00\x00\x00\x00\x01\x00\x00\x5d\x72\ -\x00\x00\x01\x00\x00\x00\x00\x00\x00\x01\x00\x00\x49\xe7\ -\x00\x00\x02\x9c\x00\x00\x00\x00\x00\x01\x00\x00\x5b\x1c\ -\x00\x00\x02\x40\x00\x00\x00\x00\x00\x01\x00\x00\x59\x7e\ -\x00\x00\x01\xde\x00\x00\x00\x00\x00\x01\x00\x00\x55\x9d\ -\x00\x00\x01\x6c\x00\x00\x00\x00\x00\x01\x00\x00\x52\x58\ -\x00\x00\x01\x20\x00\x00\x00\x00\x00\x01\x00\x00\x50\xdf\ -\x00\x00\x03\xde\x00\x00\x00\x00\x00\x01\x00\x01\x07\x26\ -\x00\x00\x03\xde\x00\x00\x00\x00\x00\x01\x00\x01\xf2\x73\ -\x00\x00\x03\xde\x00\x00\x00\x00\x00\x01\x00\x00\xe9\x46\ -\x00\x00\x03\xde\x00\x00\x00\x00\x00\x01\x00\x00\xfc\xd9\ -\x00\x00\x03\xde\x00\x00\x00\x00\x00\x01\x00\x02\x49\xb0\ -\x00\x00\x05\xde\x00\x00\x00\x00\x00\x01\x00\x00\xdb\xe2\ -\x00\x00\x04\x2c\x00\x00\x00\x00\x00\x01\x00\x00\xac\xba\ -\x00\x00\x06\x54\x00\x00\x00\x00\x00\x01\x00\x00\x9b\x25\ -\x00\x00\x06\xd8\x00\x00\x00\x00\x00\x01\x00\x00\xbf\xae\ -\x00\x00\x05\x5e\x00\x00\x00\x00\x00\x01\x00\x00\xcc\xd9\ -\x00\x00\x07\x02\x00\x00\x00\x00\x00\x01\x00\x00\xc2\x85\ -\x00\x00\x06\x28\x00\x00\x00\x00\x00\x01\x00\x00\x92\xa2\ -\x00\x00\x03\x60\x00\x00\x00\x00\x00\x01\x00\x00\x95\xfa\ -\x00\x00\x03\xf8\x00\x00\x00\x00\x00\x01\x00\x00\x9d\xfa\ -\x00\x00\x06\x78\x00\x00\x00\x00\x00\x01\x00\x00\xa3\x90\ -\x00\x00\x07\x52\x00\x00\x00\x00\x00\x01\x00\x00\xe1\x57\ -\x00\x00\x04\x54\x00\x00\x00\x00\x00\x01\x00\x00\xb0\xa7\ -\x00\x00\x03\x94\x00\x00\x00\x00\x00\x01\x00\x00\x97\xfe\ -\x00\x00\x04\xce\x00\x00\x00\x00\x00\x01\x00\x00\xc8\xd4\ -\x00\x00\x06\x06\x00\x00\x00\x00\x00\x01\x00\x00\xe4\x6d\ -\x00\x00\x04\x9a\x00\x00\x00\x00\x00\x01\x00\x00\xba\x49\ -\x00\x00\x06\xaa\x00\x00\x00\x00\x00\x01\x00\x00\xb6\x1b\ -\x00\x00\x07\x2a\x00\x00\x00\x00\x00\x01\x00\x00\xd6\xeb\ -\x00\x00\x05\xb6\x00\x00\x00\x00\x00\x01\x00\x00\xd2\x69\ -\x00\x00\x03\xae\x00\x00\x00\x00\x00\x01\x00\x00\x64\x3b\ -\x00\x00\x05\xde\x00\x00\x00\x00\x00\x01\x00\x00\x8c\xb0\ -\x00\x00\x04\x2c\x00\x00\x00\x00\x00\x01\x00\x00\x6e\x2b\ -\x00\x00\x05\x5e\x00\x00\x00\x00\x00\x01\x00\x00\x82\x3c\ -\x00\x00\x03\x60\x00\x00\x00\x00\x00\x01\x00\x00\x60\x89\ -\x00\x00\x05\x98\x00\x00\x00\x00\x00\x01\x00\x00\x85\xf2\ -\x00\x00\x04\xf0\x00\x00\x00\x00\x00\x01\x00\x00\x79\xe2\ -\x00\x00\x03\xf8\x00\x00\x00\x00\x00\x01\x00\x00\x6a\x63\ -\x00\x00\x03\xde\x00\x00\x00\x00\x00\x01\x00\x00\x66\xea\ -\x00\x00\x04\x54\x00\x00\x00\x00\x00\x01\x00\x00\x70\x48\ -\x00\x00\x03\x94\x00\x00\x00\x00\x00\x01\x00\x00\x62\x45\ -\x00\x00\x05\x3c\x00\x00\x00\x00\x00\x01\x00\x00\x80\x07\ -\x00\x00\x04\xce\x00\x00\x00\x00\x00\x01\x00\x00\x77\x58\ -\x00\x00\x03\x2c\x00\x00\x00\x00\x00\x01\x00\x00\x5e\x39\ -\x00\x00\x06\x06\x00\x00\x00\x00\x00\x01\x00\x00\x90\x57\ -\x00\x00\x04\x9a\x00\x00\x00\x00\x00\x01\x00\x00\x74\x04\ -\x00\x00\x05\x16\x00\x00\x00\x00\x00\x01\x00\x00\x7d\x76\ -\x00\x00\x05\xb6\x00\x00\x00\x00\x00\x01\x00\x00\x89\x1d\ +\x00\x00\x00\x6a\x00\x00\x00\x00\x00\x01\x00\x00\x03\xd1\ +\x00\x00\x02\x8e\x00\x00\x00\x00\x00\x01\x00\x00\x5c\xa0\ +\x00\x00\x00\xa8\x00\x00\x00\x00\x00\x01\x00\x00\x44\x61\ +\x00\x00\x02\x2c\x00\x00\x00\x00\x00\x01\x00\x00\x58\xad\ +\x00\x00\x01\xd0\x00\x00\x00\x00\x00\x01\x00\x00\x57\x22\ +\x00\x00\x01\x84\x00\x00\x00\x00\x00\x01\x00\x00\x55\x96\ +\x00\x00\x03\x52\x00\x00\x00\x00\x00\x01\x00\x00\x62\x5c\ +\x00\x00\x01\x46\x00\x00\x00\x00\x00\x01\x00\x00\x4d\xde\ +\x00\x00\x02\xf0\x00\x00\x00\x00\x00\x01\x00\x00\x60\x06\ +\x00\x00\x02\x70\x00\x00\x00\x00\x00\x01\x00\x00\x5b\xce\ +\x00\x00\x02\x0e\x00\x00\x00\x00\x00\x01\x00\x00\x57\xed\ +\x00\x00\x01\xb2\x00\x00\x00\x00\x00\x01\x00\x00\x56\x4f\ +\x00\x00\x01\x66\x00\x00\x00\x00\x00\x01\x00\x00\x54\xd6\ +\x00\x00\x04\x32\x00\x00\x00\x00\x00\x01\x00\x01\x0c\x10\ +\x00\x00\x04\x32\x00\x00\x00\x00\x00\x01\x00\x01\xf7\x5d\ +\x00\x00\x04\x32\x00\x00\x00\x00\x00\x01\x00\x00\xee\x30\ +\x00\x00\x04\x32\x00\x00\x00\x00\x00\x01\x00\x01\x01\xc3\ +\x00\x00\x04\x32\x00\x00\x00\x00\x00\x01\x00\x02\x4e\x9a\ +\x00\x00\x06\x32\x00\x00\x00\x00\x00\x01\x00\x00\xe0\xcc\ +\x00\x00\x04\x80\x00\x00\x00\x00\x00\x01\x00\x00\xb1\xa4\ +\x00\x00\x06\xa8\x00\x00\x00\x00\x00\x01\x00\x00\xa0\x0f\ +\x00\x00\x07\x2c\x00\x00\x00\x00\x00\x01\x00\x00\xc4\x98\ +\x00\x00\x05\xb2\x00\x00\x00\x00\x00\x01\x00\x00\xd1\xc3\ +\x00\x00\x07\x56\x00\x00\x00\x00\x00\x01\x00\x00\xc7\x6f\ +\x00\x00\x06\x7c\x00\x00\x00\x00\x00\x01\x00\x00\x97\x8c\ +\x00\x00\x03\xb4\x00\x00\x00\x00\x00\x01\x00\x00\x9a\xe4\ +\x00\x00\x04\x4c\x00\x00\x00\x00\x00\x01\x00\x00\xa2\xe4\ +\x00\x00\x06\xcc\x00\x00\x00\x00\x00\x01\x00\x00\xa8\x7a\ +\x00\x00\x07\xa6\x00\x00\x00\x00\x00\x01\x00\x00\xe6\x41\ +\x00\x00\x04\xa8\x00\x00\x00\x00\x00\x01\x00\x00\xb5\x91\ +\x00\x00\x03\xe8\x00\x00\x00\x00\x00\x01\x00\x00\x9c\xe8\ +\x00\x00\x05\x22\x00\x00\x00\x00\x00\x01\x00\x00\xcd\xbe\ +\x00\x00\x06\x5a\x00\x00\x00\x00\x00\x01\x00\x00\xe9\x57\ +\x00\x00\x04\xee\x00\x00\x00\x00\x00\x01\x00\x00\xbf\x33\ +\x00\x00\x06\xfe\x00\x00\x00\x00\x00\x01\x00\x00\xbb\x05\ +\x00\x00\x07\x7e\x00\x00\x00\x00\x00\x01\x00\x00\xdb\xd5\ +\x00\x00\x06\x0a\x00\x00\x00\x00\x00\x01\x00\x00\xd7\x53\ +\x00\x00\x04\x02\x00\x00\x00\x00\x00\x01\x00\x00\x69\x25\ +\x00\x00\x06\x32\x00\x00\x00\x00\x00\x01\x00\x00\x91\x9a\ +\x00\x00\x04\x80\x00\x00\x00\x00\x00\x01\x00\x00\x73\x15\ +\x00\x00\x05\xb2\x00\x00\x00\x00\x00\x01\x00\x00\x87\x26\ +\x00\x00\x03\xb4\x00\x00\x00\x00\x00\x01\x00\x00\x65\x73\ +\x00\x00\x05\xec\x00\x00\x00\x00\x00\x01\x00\x00\x8a\xdc\ +\x00\x00\x05\x44\x00\x00\x00\x00\x00\x01\x00\x00\x7e\xcc\ +\x00\x00\x04\x4c\x00\x00\x00\x00\x00\x01\x00\x00\x6f\x4d\ +\x00\x00\x04\x32\x00\x00\x00\x00\x00\x01\x00\x00\x6b\xd4\ +\x00\x00\x04\xa8\x00\x00\x00\x00\x00\x01\x00\x00\x75\x32\ +\x00\x00\x03\xe8\x00\x00\x00\x00\x00\x01\x00\x00\x67\x2f\ +\x00\x00\x05\x90\x00\x00\x00\x00\x00\x01\x00\x00\x84\xf1\ +\x00\x00\x05\x22\x00\x00\x00\x00\x00\x01\x00\x00\x7c\x42\ +\x00\x00\x03\x80\x00\x00\x00\x00\x00\x01\x00\x00\x63\x23\ +\x00\x00\x06\x5a\x00\x00\x00\x00\x00\x01\x00\x00\x95\x41\ +\x00\x00\x04\xee\x00\x00\x00\x00\x00\x01\x00\x00\x78\xee\ +\x00\x00\x05\x6a\x00\x00\x00\x00\x00\x01\x00\x00\x82\x60\ +\x00\x00\x06\x0a\x00\x00\x00\x00\x00\x01\x00\x00\x8e\x07\ " def qInitResources(): diff --git a/picard/ui/itemviews.py b/picard/ui/itemviews.py index dd765f958..8a574be93 100644 --- a/picard/ui/itemviews.py +++ b/picard/ui/itemviews.py @@ -143,7 +143,9 @@ class MainPanel(QtGui.QSplitter): AlbumItem.icon_cd_saved_modified = icontheme.lookup('media-optical-saved-modified', icontheme.ICON_SIZE_MENU) AlbumItem.icon_error = icontheme.lookup('media-optical-error', icontheme.ICON_SIZE_MENU) - TrackItem.icon_note = QtGui.QIcon(":/images/note.png") + TrackItem.icon_audio = QtGui.QIcon(":/images/track-audio.png") + TrackItem.icon_video = QtGui.QIcon(":/images/track-video.png") + TrackItem.icon_data = QtGui.QIcon(":/images/track-data.png") FileItem.icon_file = QtGui.QIcon(":/images/file.png") FileItem.icon_file_pending = QtGui.QIcon(":/images/file-pending.png") FileItem.icon_error = icontheme.lookup('dialog-error', icontheme.ICON_SIZE_MENU) @@ -710,7 +712,12 @@ class TrackItem(TreeItem): else: color = TreeItem.text_color bgcolor = get_match_color(1, TreeItem.base_color) - icon = TrackItem.icon_note + if track.is_video(): + icon = TrackItem.icon_video + elif track.is_data(): + icon = TrackItem.icon_data + else: + icon = TrackItem.icon_audio oldnum = self.childCount() newnum = track.num_linked_files if oldnum > newnum: # remove old items diff --git a/resources/images/note.png b/resources/images/track-audio.png similarity index 100% rename from resources/images/note.png rename to resources/images/track-audio.png diff --git a/resources/images/track-data.png b/resources/images/track-data.png new file mode 100644 index 0000000000000000000000000000000000000000..d90ab661cbb29366ea77d3e8fb95841f1ee876c8 GIT binary patch literal 588 zcmV-S0<-;zP)WFU8GbZ8({Xk{QrNlj4iWF>9@00FQ`L_t(I%f*wyN*hrW zhQC;`PLh_6(FAQJr7#kZfPx4E#iGza=`xl&PtX@Ar1Sx#d6AAGt=aAYaO?!s%x>`Mz@cV#gU@{dK(pP8 z#v3v*G%TN$PzxDqW;gi$^~4bFQGMcmZY?>x_IuR2CK|Gr(s_OsGcg~@t z-EQ+g;X0kp9T9n`s?$0gNNb%WR4uK%AuP^b%AZmHJ+_iDi1`G!>2x}`YPH$}5sg3$FjJ{GSE*LT8UsKP0$G-6KFo)}SJ0r!uJ_4(m*@FH zp63eysv5OUjJ=(2x6fU=c$x8&9smFU07*qoM6N<$f*XM(!~g&Q literal 0 HcmV?d00001 diff --git a/resources/picard.qrc b/resources/picard.qrc index 27ca46029..30f822597 100644 --- a/resources/picard.qrc +++ b/resources/picard.qrc @@ -57,9 +57,11 @@ images/match-pending-80.png images/match-pending-90.png images/match-pending-100.png - images/note.png images/star-gray.png images/star.png + images/track-audio.png + images/track-data.png images/track-saved.png + images/track-video.png