In older versions of Qt Designer, the visible property was for it. But it seems that it has been removed in new versions, so you cannot use it directly.
But you can still add this field to the .ui file. Just open any text editor, find the part associated with the widgets you need to hide, and paste this block in this place:
<property name="visible"> <bool>false</bool> </property>
Ilya
source share