If you want to represent objects as rows and member variables as columns, you need QAbstractTableModel subclass.