Wt examples 3.3.12
FolderView.h
Go to the documentation of this file.
1// This may look like C code, but it's really -*- C++ -*-
2/*
3 * Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
4 *
5 * See the LICENSE file for terms of use.
6 */
7#ifndef FOLDER_VIEW_H_
8#define FOLDER_VIEW_H_
9
10#include <Wt/WTreeView>
11
16
20{
21public:
26 static const char *FileSelectionMimeType;
27
31
32protected:
35 virtual void dropEvent(const Wt::WDropEvent &event,
36 const Wt::WModelIndex &target);
37};
38
41#endif // FOLDER_VIEW_H_
A specialized treeview that supports a custom drop event.
Definition FolderView.h:20
virtual void dropEvent(const Wt::WDropEvent &event, const Wt::WModelIndex &target)
Drop event.
Definition FolderView.C:28
static const char * FileSelectionMimeType
Constant that indicates the mime type for a selection of files.
Definition FolderView.h:26
WWidget * parent() const

Generated on Fri May 17 2024 for the C++ Web Toolkit (Wt) by doxygen 1.9.8