Any way to hide ui and widgets for screenshot?

I think you might find the drone camera, aka showcase camera, to do what you want. There are lots of discussions on its use around the forum so use the forum search function (the big magnifying glass at the top on the menu bar). Initial starting point might be this thread. However searching the forums will also give other helpful posts.