gui: fixed undefined setMaxDepth and getDepth issue due to project file lost some header and source files

And *.pro.user file was created by QtCreator, it is better to remove it ;)