Wt examples
4.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
public-git
wt
examples
treeview-dragdrop
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.h>
11
12
using namespace
Wt
;
13
18
21
class
FolderView
:
public
WTreeView
22
{
23
public
:
28
static
const
char
*
FileSelectionMimeType
;
29
32
FolderView
();
33
34
protected
:
37
virtual
void
dropEvent(
const
WDropEvent
&event,
38
const
WModelIndex
&target);
39
};
40
43
#endif // FOLDER_VIEW_H_
Wt::WModelIndex
FolderView::FileSelectionMimeType
static const char * FileSelectionMimeType
Constant that indicates the mime type for a selection of files.
Definition:
FolderView.h:28
FolderView
A specialized treeview that supports a custom drop event.
Definition:
FolderView.h:21
Wt
Wt::WTreeView
Wt::WDropEvent
Generated on Mon Sep 4 2017 for
the C++ Web Toolkit (Wt)
by
1.8.11