On Wednesday, 13 August 2014 19:48:26 CEST, Thomas Lübking wrote:
Actually, I don't see a reason why the body should be hidden for the same reason.

Yes, but there's a pretty big impedance mismatch between what Trojita-the-viewer can display (any MIME structure) and what Trojita-the-composer can produce, and therefore represent in uts present GUI (a text/plain, or a multipart/mixed with a flat list of arbitrary attachments). The underlying API is also very different.

My suggestion is to reuse the message *viewer* in this case. Why not just rip out the AttachmentView and the QTextEdit from the existing widget and have it replaced by a Message822View?

I don't care much whether a standalone QLineEdit for the original message's subject is visible or not. My first idea would be to hide it, but we can always do this later.

Cheers,
Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to