On Wednesday, 13 August 2014 19:11:56 CEST, Karan Luthra wrote:
In the QWidget subclass (I call it EnvelopeFormWidget) that would be used in the normal compose dialog as well as the redirect dialog, only the form fields for senders and recipients will be included. I.e. the subject field will be left for the composer dialogs to implement on their own. This would require these changes that I see at the moment: 1. the recipient slider would only span the sender and recipient fields, as the recipient slider will be part of the QFormLayout inside the common EnvelopeFormWidget.
The current version is pretty nifty, IMHO, and worth preserving. Can you perhaps design the widget so that the QScrollBar is operated by the EnvelopeFormWidget, but it appears in the UI at some other place?
A requirement for some extra code for setting this up is perfectly acceptable.
Let me know if there's some reason for keeping the subject field excluded from what should be reused by both dialogs.
It seems that this approach would work as well, feel free to pursue it further.
Cheers, Jan -- Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
