On 10/03/12 17:56, Thomas Lübking wrote:
Attached is a screenshot to get a feedback on the layout. Since trojitá doesn't use QDockWidgets in this context, i used a splitter and attached toolbuttons (could as well be QLabels or some custom widget, i just wanted a hover effect) to collapse them.
Congratulations -- this looks great. Could you please push the sources somewhere so that I can have a look?
I *think* that in the end, having all mailboxes from all accounts available in a single QTreeView would be best -- if only because one could then better organize data in a limited horizontal space. Doing that would require a new proxy model combining data from multiple sources.
If that direction is ok for you, i'll next force myself into extending the config dialog (like adding a listview?)
I'm probably risking putting you off here, but in the end, I'd love to see proper "identity management" as well, ie. being able to add multiple pairs of (real name, email), and some smartness for stuff like "if replying from identity X, save e-mails to a mailbox in the associated account" etc.
This is actually a little bit more involved; the perfect way would be to have choices like "when replying, use Sent" or "when replying, put to the same mailbox as where the message is" etc etc. I don't expect that you'll implement all of that, just adding my ideas for completeness here.
The accounts (imap.host and friends) are stored with a unique id (EPOCH time ;-) as settings group and a readable name (ie. one can change the visual id, aka "name" anytime, w/o impacting the actual account.
Why not stick with trivial 0, 1, 2,...? I'd use these simple numbers myself, but maybe your approach is better for some reason I don't know.
PS: quite a bunch of my commits are on top of master, should i rebase this down to vanilla master or should we sort out those commits first?
Ah, I completely forgot about them. I'd absolutely prefer to merge them before focusing on multiple accounts -- please point me towards the code so that I can have a look again.
Thanks for your work, I really appreciate that and am glad that you found an area to hack on in Trojita.
Cheers, Jan -- Trojita, a fast e-mail client -- http://trojita.flaska.net/
