10 #include <Wt/WCompositeWidget.h>
49 void setTo(
const std::vector<Contact>& to);
53 void setSubject(
const WString& subject);
57 void setMessage(
const WString& message);
61 void setAddressBook(
const std::vector<Contact>& addressBook);
65 std::vector<Contact> to()
const;
69 std::vector<Contact> cc()
const;
73 std::vector<Contact> bcc()
const;
84 std::vector<Attachment> attachments()
const;
179 void attachmentDone();
An edit field for an email addressee.
An edit field for an email attachment.
An E-mail composer widget.
Option * attachOtherFile_
Option for attaching another file.
WTextArea * message_
WTextArea for the main message.
Wt::Signal send
The message is ready to be sent...
Wt::Signal discard
The message must be discarded.
AddresseeEdit * toEdit_
To: Addressees edit.
bool saving_
state when waiting asyncrhonously for attachments to be uploaded
WLineEdit * subject_
The subject line edit.
WPushButton * topDiscardButton_
int attachmentsPending_
number of attachments waiting to be uploaded during saving
ContactSuggestions * contactSuggestions_
The suggestions popup for the addressee edits.
Option * attachFile_
Option for attaching a file.
WPushButton * botDiscardButton_
std::vector< AttachmentEdit * > attachments_
Array which holds all the attachments, including one extra invisible one.
Option * addbcc_
Option for editing Bcc:
AddresseeEdit * ccEdit_
Cc: Addressees edit.
WContainerWidget * layout_
Option * addcc_
Option for editing Cc:
AddresseeEdit * bccEdit_
Bcc: Addressees edit.
OptionList * options_
OptionsList for editing Cc or Bcc.
A list of options, separated by '|'.