[Qt-interest] QDialog inside a QWidget

Wolfgang Pausch Wolfgang.Pausch at uibk.ac.at
Sat Jan 9 13:57:52 CET 2010


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?

Thanks for any hints,

Wolfgang



More information about the Qt-interest-old mailing list