change widget.cpp