7 #ifndef ATTACHMENT_EDIT_H_ 8 #define ATTACHMENT_EDIT_H_ 10 #include <Wt/WContainerWidget> 58 std::vector<Attachment> attachments();
102 void fileTooLarge(::int64_t size);
110 #endif // ATTACHMENT_EDIT_H_ bool uploadFailed() const
Returns whether the upload failed.
Signal< void > uploadDone_
Signal< void > & uploadDone()
Signal emitted when new attachment(s) have been uploaded (or failed to upload.
WAnchor * downloadLink_
Anchor referencing the file.
An edit field for an email attachment.
An E-mail composer widget.
Option * remove_
The option to cancel the file upload.
WCheckBox * keep_
The check box to keep or discard the uploaded file.
WFileUpload * upload_
The WFileUpload control.
WText * error_
The text box to display an error (empty or too big file)
bool uploadFailed_
The state of the last upload process.
std::vector< UploadInfo * > uploadInfo_