PlanBookModel
Qt table model for displaying Plan entries from a PlanBook.
| Declared in | src/libs/libplan/plan/book/PlanBookModel.hpp |
| Inherits | QAbstractTableModel |
| Group | plan |
Detailed description
PlanBookModel provides a QAbstractTableModel interface to a PlanBook, allowing plans to be displayed in Qt views (list, table, tree).
Columns displayed:
- Plan identifier with preview icon
- Creation date
- Last updated date
- Content size in bytes
The model automatically updates when the underlying PlanBook emits plansChanged(). It also provides methods for deleting and duplicating selected plans.
See also PlanBook, Plan, PlanBookWidget.