layout and widgets added, now need to do some actions