8#include <Wt/WAbstractItemModel>
9#include <Wt/WItemSelectionModel>
10#include <Wt/WMessageBox>
17 =
"application/x-computers-selection";
51 +
" files to folder '"
68 for (WModelIndexSet::reverse_iterator i = toChange.rbegin();
69 i != toChange.rend(); ++i) {
FolderView(Wt::WContainerWidget *parent=0)
Constructor.
virtual void dropEvent(const Wt::WDropEvent &event, const Wt::WModelIndex &target)
Drop event.
static const char * FileSelectionMimeType
Constant that indicates the mime type for a selection of files.
virtual bool setItemData(const WModelIndex &index, const DataMap &values)
virtual DataMap itemData(const WModelIndex &index) const
WAbstractItemModel * model() const
const std::string & mimeType() const
WModelIndexSet selectedIndexes() const
WAbstractItemModel * model() const
static StandardButton show(const WString &caption, const WString &text, WFlags< StandardButton > buttons, const WAnimation &animation=WAnimation())
boost::any data(int role=DisplayRole) const
std::set< WModelIndex > WModelIndexSet