Wt examples
4.11.3
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 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.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_
FolderView
A specialized treeview that supports a custom drop event.
Definition:
FolderView.h:22
FolderView::FileSelectionMimeType
static const char * FileSelectionMimeType
Constant that indicates the mime type for a selection of files.
Definition:
FolderView.h:28
Wt::WDropEvent
Wt::WModelIndex
Wt::WTreeView
Wt
Generated on Wed Feb 19 2025 for
the C++ Web Toolkit (Wt)
by
1.9.1