In this article we will see how we can make the spin box hidden with the help of sethidden method. We can hide the spin box using hide method as well but setHidden method takes bool as argument which determine whether it should hide the spin box or not when called. In order to do so we use setHidden method.
Syntax : spin_box.setHidden(bool) Argument : It takes bool as argument Return : It returns None
Implementation steps : 1. Create a spin box 2. Create a push button 3. Add action to the push button 4. Inside the push button make the spin box hidden with the help of setHidden method Below is the implementation
Please Login to comment...