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