|
9 éve | |
---|---|---|
.. | ||
data | 16 éve | |
icons | 16 éve | |
CMakeLists.txt | 14 éve | |
CsvUtil.C | 9 éve | |
CsvUtil.h | 11 éve | |
FolderView.C | 14 éve | |
FolderView.h | 16 éve | |
README.md | 13 éve | |
TreeViewDragDrop.C | 10 éve | |
about.xml | 15 éve | |
styles.css | 14 éve |
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.
See the README in the parent directory.
WPopupMenu