Example of using QAbstractItemModel in CuteReport