|
9 tahun lalu | |
---|---|---|
.. | ||
data | 16 tahun lalu | |
icons | 16 tahun lalu | |
CMakeLists.txt | 14 tahun lalu | |
CsvUtil.C | 9 tahun lalu | |
CsvUtil.h | 11 tahun lalu | |
FolderView.C | 14 tahun lalu | |
FolderView.h | 16 tahun lalu | |
README.md | 13 tahun lalu | |
TreeViewDragDrop.C | 10 tahun lalu | |
about.xml | 15 tahun lalu | |
styles.css | 14 tahun lalu |
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