Patch for KMainWindow: managing fixed central widget

Simon Hausmann hausmann at kde.org
Wed May 21 17:26:23 BST 2003


On Tue, May 20, 2003 at 03:37:13AM -0600, Nicolas Hadacek wrote:
> Hi,
> 
> I propose the attached patch to allow KMainWindow to correctly manage 
> fixed-size central widget. This can be used by at least several games.
> There is probably a better solution for this problem but this is a bit tricky 
> to fix, at least for me...

IMHO we should not add hacks to the public API to work around
QMainWindow problems. If the central widget has the size policy
'Fixed' then I think QMainWindow should obey it. If not I guess it's
worth a bug report to the Trolls.

Simon




More information about the kde-core-devel mailing list