10 #include <Wt/WCompositeWidget.h> 13 #include "Attachment.h" 45 void setFrom(
const std::vector<Contact>& from);
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> from()
const;
69 std::vector<Contact> to()
const;
73 std::vector<Contact> cc()
const;
77 std::vector<Contact> bcc()
const;
81 const WString& subject()
const;
88 std::vector<Attachment> attachments()
const;
90 void addAttachment(
const Attachment & attachment );
94 const WString& message()
const;
106 WContainerWidget *layout_;
108 WPushButton *topSendButton_, *topSaveNowButton_, *topDiscardButton_;
109 WPushButton *botSendButton_, *botSaveNowButton_, *botDiscardButton_;
142 std::vector<AttachmentEdit *> attachments_;
148 bool saving_, sending_;
151 int attachmentsPending_;
187 void attachmentDone();
200 void setStatus(
const WString& text,
const WString& style);
207 #endif // COMPOSER_H_
An edit field for an email attachment.
An E-mail composer widget.
Wt::Signal send
The message is ready to be sent...
A list of options, separated by '|'.
An edit field for an email addressee.
Wt::Signal discard
The message must be discarded.