Go to the documentation of this file.
10 #include <Wt/WCompositeWidget>
45 Composer(WContainerWidget *parent = 0);
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;
77 const WString& subject()
const;
84 std::vector<Attachment> attachments()
const;
88 const WString& message()
const;
179 void attachmentDone();
192 void setStatus(
const WString& text,
const WString& style);
199 #endif // COMPOSER_H_
WPushButton * botSendButton_
Option * attachFile_
Option for attaching a file.
Option * addcc_
Option for editing Cc:
Wt::Signal< void > send
The message is ready to be sent...
ContactSuggestions * contactSuggestions_
The suggestions popup for the addressee edits.
WTextArea * message_
WTextArea for the main message.
Option * addbcc_
Option for editing Bcc:
AddresseeEdit * ccEdit_
Cc: Addressees edit.
Option * attachOtherFile_
Option for attaching another file.
OptionList * options_
OptionsList for editing Cc or Bcc.
WLineEdit * subject_
The subject line edit.
int attachmentsPending_
number of attachments waiting to be uploaded during saving
An E-mail composer widget.
std::vector< AttachmentEdit * > attachments_
Array which holds all the attachments, including one extra invisible one.
An edit field for an email addressee.
Wt::Signal< void > discard
The message must be discarded.
AddresseeEdit * toEdit_
To: Addressees edit.
A list of options, separated by '|'.
An edit field for an email attachment.
AddresseeEdit * bccEdit_
Bcc: Addressees edit.
WContainerWidget * layout_
WPushButton * topSendButton_
Generated on Mon Sep 5 2022 for the
C++ Web Toolkit (Wt) by
1.8.17