Implement password input
Use Qt's size policy for extra constraint hints