How to create this widget with PySide or QtDesigner?