Just create a slot which you connect to one of the signals that signal itme selection, and in that slot change the contents of the first element in such that it will include the text of the current selected item.