Qt example, added widget for buttons