10 #include <Wt/WCompositeWidget> 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();
199 #endif // COMPOSER_H_
AddresseeEdit * bccEdit_
Bcc: Addressees edit.
AddresseeEdit * toEdit_
To: Addressees edit.
WContainerWidget * layout_
Option * attachOtherFile_
Option for attaching another file.
Option * addbcc_
Option for editing Bcc:
An edit field for an email attachment.
An E-mail composer widget.
std::vector< AttachmentEdit * > attachments_
Array which holds all the attachments, including one extra invisible one.
WTextArea * message_
WTextArea for the main message.
Wt::Signal< void > send
The message is ready to be sent...
Wt::Signal< void > discard
The message must be discarded.
WPushButton * botSendButton_
A list of options, separated by '|'.
An edit field for an email addressee.
Option * attachFile_
Option for attaching a file.
WLineEdit * subject_
The subject line edit.
WPushButton * topSendButton_
Option * addcc_
Option for editing Cc:
ContactSuggestions * contactSuggestions_
The suggestions popup for the addressee edits.
AddresseeEdit * ccEdit_
Cc: Addressees edit.
int attachmentsPending_
number of attachments waiting to be uploaded during saving
OptionList * options_
OptionsList for editing Cc or Bcc.