|
пре 9 година | |
---|---|---|
.. | ||
data | пре 16 година | |
icons | пре 16 година | |
CMakeLists.txt | пре 14 година | |
CsvUtil.C | пре 9 година | |
CsvUtil.h | пре 11 година | |
FolderView.C | пре 14 година | |
FolderView.h | пре 16 година | |
README.md | пре 13 година | |
TreeViewDragDrop.C | пре 10 година | |
about.xml | пре 15 година | |
styles.css | пре 14 година |
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