We have made progress on this.
I have implemented the ability to use rules very similar to column coloring rules to put icons in cells on calibre's spreadsheet. The rule can choose whether or not to leave the text in the cell. For example, you can put a "star" image next to any title that has a tag "favorite".
You will be able to use this new feature to create columns that are only icons. For example, you will be tell calibre to use some image in your column if the text is "!", and another image if the text is something else.
You need to give calibre an image file to use. You can get image files by searching for icons. Another way to create the images is to find/display something you like, do a "screen capture", and save the result as an image.
Just to play, I used the new feature to add some icons to the author column of a test library full of fake books. One rule adds a down-pointing triangle if the énum column contains a 5, an up-pointing triangle if the author contains an "i", and a "bug" if the author contains an "e". The attached image shows the result. The second attachment shows the rules.
|