}
proxyModel = new MySortFilterProxyModel(this);
proxyModel.setSourceModel(model);
proxyModel.setDynamicSortFilter(true);
this.selectionModel = new QItemSelectionModel(proxyModel);
view.setModel(proxyModel);
view.setSelectionModel(selectionModel);
view.setSortingEnabled(true);