Extend features of titlebar area of WPanel
often it makes sense to put in the place of the title of a WPanel an anchor, line edit, etc., or combination of controls.At the moment WPanel is limited to setText (with WText). The
titleBarWidget is private, thus cannot touch it.
Simple use cases:
- you want to put a link (WAnchor) in a WPanels titleBarWidget, but
initially hide the description of a link.
- you want to define an input control. In this input control you can
either input the "simple way" and then you would put a text input
widget in place of the title. If the "simple way" is not possible you
open the panel and use the unhidden controls.