Moved qres widget to api item model.Added ability to put images in qabstractitemmodel