Wt examples  3.7.1
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 bv, Herent, 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 
19 class FolderView : public Wt::WTreeView
20 {
21 public:
26  static const char *FileSelectionMimeType;
27 
31 
32 protected:
35  virtual void dropEvent(const Wt::WDropEvent &event,
36  const Wt::WModelIndex &target);
37 };
38 
41 #endif // FOLDER_VIEW_H_
FolderView(Wt::WContainerWidget *parent=0)
Constructor.
Definition: FolderView.C:19
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
A specialized treeview that supports a custom drop event.
Definition: FolderView.h:19
WWidget * parent() const

Generated on Tue Dec 15 2020 for the C++ Web Toolkit (Wt) by doxygen 1.8.13