In Qt's QDialog documentation (3.2.1) you can read: #v+ Note that QDialog uses the parent widget slightly differently from other classes in Qt. A dialog is always a top-level widget, but if it has a parent, its default location is centered on top of the parent's top-level widget (if it is not top-level itself). It will also share the parent's taskbar entry. #v-
What should be passed as "parent" in QDialog's constructor to achieve such behavior? If I pass top level window (QMainWindow instance, which is even logically a "main window"), the dialog shows centered on it, but there are still separate entries on taskbar. -- Jarek Zgoda Unregistered Linux User #-1 http://www.zgoda.biz/ JID:zgoda-a-chrome.pl http://zgoda.jogger.pl/ _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
