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