On Wednesday, August 6, 2014 9:19:33 PM IST, Jan Kundrát wrote:
IMHO these three parts should be reused for the redirection dialog:
- sender/from handling,
- recipients list,
- the logic which takes care about the submission process and
its GUI visualization
This is going to bring one change in the UI, compared to other changes that
are just refactorings, so I thought I'd confirm:
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.
2. the tab order will need to be taken care of.
Is this what is intended?
In the initial UI mockup that started this thread, this wasn't so. Infact
in the redirection use-case, the subject field was serving the purpose of
identifying the message picked for redirection to be the correct, intended
one. The widget was disabled to convey the behaviour of a redirect action.
This also meant no UI changes to the existing composer dialog.
Let me know if there's some reason for keeping the subject field excluded
from what should be reused by both dialogs.
Regards,
Karan