Change the data manner, add clear all action

Not delete data when closing mdichild, change the function of get data
index, fix bugs