Custom titlebar for dockwidgets