Yes, something like that. Just not a QFrame but QWidget. There is no reason for using a frame here.