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