/usr/lib/Wt/examples/treeview-dragdrop/README.md is in witty-examples 3.3.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | Treeview drag-drop example
--------------------------
The example shows a typical full-window application with a tree (a
`WTreeView`) that represents different 'folders', and a table (a
`WTableView`) which represents 'documents' that belong to this
office. The size of these documents is shown in a pie chart
(a `WPieChart`).
Two data models (`WStandardItemModel`) back these views: one for the
folders, and one for the files.
Drag & Drop is configured so that files can be selected and dragged
into a different folder. Changes to the model are automatically
reflected in the relevant views.
How to run
----------
See the README in the parent directory.
What it illustrates
-------------------
- Standard Item views and models
- Drag & Drop with standard item models
- Using a `WPopupMenu`
- Using a dialog to edit data
|