Wt examples: Drag and drop in WTreeView example

Wt examples 3.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

Classes | Functions | Variables
Drag and drop in WTreeView example

## Classes
class | FolderView
| A specialized treeview that supports a custom drop event. More...
class | FileModel
| A specialized standard item model which report a specific drag and drop mime type. More...
class | FileEditDialog
| A dialog for editing a 'file'. More...
class | TreeViewDragDrop
| Main application class. More...
## Functions
WApplication * | createApplication (const WEnvironment &env)
int | main (int argc, char **argv)
## Variables
static WString | FileModel::dateDisplayFormat
| Date display format.
static WString | FileModel::dateEditFormat
| Date edit format.

## Function Documentation

WApplication* createApplication | ( | const WEnvironment & | env | ) |

Definition at line 643 of file TreeViewDragDrop.C.

    {
      WApplication *app = new TreeViewDragDrop(env);
      app->setTwoPhaseRenderingThreshold(0);
      app->setTitle("WTreeView Drag & Drop");
      app->useStyleSheet("styles.css");
      app->messageResourceBundle().use(WApplication::appRoot() + "about");
      app->refresh();

      return app;
    }

int main | ( | int | argc,
|  | char ** | argv
| ) |  |

Definition at line 655 of file TreeViewDragDrop.C.

    {
      return WRun(argc, argv, &createApplication);
    }

## Variable Documentation

WString FileModel::dateDisplayFormat`[static]`

Date display format.

Definition at line 66 of file TreeViewDragDrop.C.

WString FileModel::dateEditFormat`[static]`

Date edit format.

Definition at line 69 of file TreeViewDragDrop.C.