Fixes for setModel() for qt 5 or greater and depricated setClickable function for qt greater then 5