Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, April 2008
Re: how to remove minimize and maximize buttons from a widget


Message 1 in thread

On mandag den 31. Marts 2008, DDGG wrote:
> hi all,
>
> how to remove minimize and maximize buttons from a widget within
> qt-designer?
>
> I have tried fix the minimumSize and maximumSize. However, when i
> preview the widget in qt-designer, it shows me minimize and maximize
> button though it cannot be resize.

I actually don't think you can do it. You have to set these in code by a 
combination of the right window flags. IIRC, you need to just set the close 
button flag.

Bo.

-- 
 [ signature omitted ]