Model - View

Albert Cervera i Areny Dec 28, 2008

Today I'm going to explain the KooModel class in Koo. This class allows developers to simply create new views that need to display or edit information stored in an OpenERP server. KooModel implements QAbstractItemModel and thus allows to easily use any view that uses Qt's model/view (Including QTreeView, QListView, QTableView and QColumnView). Where easy means changing one (or very few) lines of code to switch from one view to the other.