Add a notebook widget, separate the qt from the notebook widget.