Identicons (now natively) and Avatars; plus chan labels

This time the identicons are generated using QPixmap, no additional libraries required. The original identicon code is licensed under the FreeBSD license, which is very liberal and should therefore be compatibel with PyBitmessage.

You can set everything in the GUI settings. You can choose between a single-color version and a version with an additional color (both optionally with transparent background) and no identicons at all.

Avatars can be loaded via the context menu in the respective tab (Identities, Address book, Subscriptions). The script just copies the selected file to the appdata subfolder "avatars" and renames it to the hash of the address (You will be asked whether you want to overwrite existing files). You can use any image type supported by Qt (PNG, JPG, SVG, BMP, etc.). To remove an avatar just cancel the "Set avatar..." dialog (you will be asked whether you really want to remove it).

This also treats the issue that labels for chan addresses were not loaded for FROM addresses. (The workaround was to add them to the address book too.)