Hi all,

When trying to use ("self" being a subclass of QDialog) :

self.reparent(self.find(0), qt.QPoint(10, 10))

I get this error :
TypeError: Argument 2 of QWidget.reparent() has an invalid type

This is working (found in the Qt documentation) :

self.reparent(self.find(0), 
              self.getWFlags() & (~(qt.Qt.WType_Mask)), 
              qt.QPoint(10, 10))

So, is the first version (redefinition of the second one according to
the Qt documentation) missing in PyQt ?

Regards,

-- 
   .~.          __________________________  
   /V\   Linux /                          \        ___ 
  // \\  Power |        Yves BAILLY       |      /"   "\
 /(   )\       | [EMAIL PROTECTED] |     ( @ _ @ )
- ^^-^^ -------\__________________________/----oOO (_) OOo------
LUG Dijon : http://www.coagul.org

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to