// realize the multi-doc function and one can new a "self draw" widget or load
// a image to edit