I'm struggling with the size of a simple QLineEdit. I'm entering a fixed size entry (IP address). I want the field to be no bigger than the size of the entry. I've searched through all the sizing stuff, but I simply need to say, set the size to the size of the mask and then leave it alone.

I'm sure this is simple, but I can't seem to find a simple solution.
- BRC