Modified edge toolbar creation mechanism to work with widgets created with
designer.
To "promote" top level widget it is necessary to go to .ui file and change
base class manually.