Trying to implement QAbstractItemModel for parse trees, haven't got it working yet...