[Qt-interest] QDialog behavior

Denis Dzyubenko denis.dzyubenko at trolltech.com
Thu May 7 11:16:36 CEST 2009


Tony Thompson wrote:
> If I do setFixedSize( size() ), that totally screws up the window on
> Linux.  This is how I get frameless dialog.  If I remove that, I get a
> dialog with a title bar and system menu.  I am not asking for the system
> menu so I am not sure why that is there either.

please try with the latest Qt 4.5.1 and if it still doesn't work for you 
file a bug report through the bug tracker.

However on Linux your might not get exactly what you what depending on 
the window manager you use.

> I would like the dialog set so it can't be resized.  Should I be doing
> it differently?  setFixedSize() seems to do exactly that but it screws
> up everything.
> 
> My other issue is still on the Mac with specifying those flags I get
> grayed out buttons (close, min, max).

please file a bug report about it - though I am not sure what should be 
the correct behavior - why is it better to hide buttons than just gray 
them out ?

-- 
Denis Dzyubenko
Software Engineer
Nokia, Qt Software



More information about the Qt-interest-old mailing list