Good morning,

How can I use WFileUpload & other functions to let a user upload a
file, then display a subset [apply a function onto] of what they've
uploaded?

Thanks for all suggestions,

Alec Taylor

FYI: Here is my current function, just confused on how to harness the
output... signal/slot???

WWidget *SidebarWidg::wFileUpload() {
        WContainerWidget *result = new WContainerWidget();

        topic("WFileUpload", result);
        addText(tr("formwidgets-WFileUpload"), result);
        WFileUpload *const fu = new WFileUpload(result);
        fu->setProgressBar(new WProgressBar());
        fu->changed().connect(fu, &WFileUpload::upload);
        ed_->showSignal(fu->changed(), "File upload changed");
        ed_->showSignal(fu->uploaded(), "File upload finished");
        ed_->showSignal(fu->fileTooLarge(), "File too large");
        addText(tr("formwidgets-WFileUpload-more"), result);

        return result;
}

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to