[Qt-interest] QDialog inside a QWidget

Martin Hofius Martin at hofius-online.com
Sat Jan 9 14:46:35 CET 2010


Am Samstag, 9. Januar 2010 schrieb Wolfgang Pausch:
> Hello,
>
> I want to implement some modal QDialogs local to a QWidget.  What I want is
> the following:
>
> - they should be application modal
> - they should not show up in the taskbar
> - it should not be possible to move them outside the parent QWidget
>
> Implementing the first two requirements was fairly easy, but how do I make
> a QDialog local to a QWidget?  So far, e.g. maximizing maximizes the
> QDialog to the whole screen, however I want it maximized to the parent
> QWidget.  How?
I'm not shure if it can solve all your requirements - but did you examine the 
embedded dialog example?

Greetings
Martin



More information about the Qt-interest-old mailing list