The Qt Examples that comes with Qt + QtCreator are a good place to start.
From my understanding start looking at the "Calculator Example", it sounds like that should get you a widget with number buttons that when you press them they show on the display.