Subclass QFrame or QWidget and make your own custom widget.