[PyKDE] Another question, crash
ian.monroe at gmail.com
Wed Jun 30 05:45:00 BST 2004
Thanks. I was scared after seeing the first message, re-compiling KDE
ain't exactly a good time.
Now it sometimes works but sometimes it doesn't, I think you were on
to something with the QSqlProperty.I'll start looking for other
parentless classes and the like.
On Tue, 29 Jun 2004 16:49:43 -0700, Jim Bublitz <jbublitz at nwinternet.com> wrote:
> On Tuesday 29 June 2004 07:09, Ian Monroe wrote:
> > And for the SettingsDialog call:
> > class SettingsDialog(KConfigDialog):
> > def __init__ (self, parent, name, config, *args):
> > apply (KConfigDialog.__init__, (self,parent,name,config) + args)
> > print isinstance(config,KConfigSkeleton)
> > self.addPage(ConfigForm(config), "GMail", "gmail", "KNewGmail
> > Settings")
> Change the last line to:
> self.addPage(ConfigForm(config, self), "GMail", "gmail",
> "KNewGmail Settings")
> and it should work (works here).
> The failure to display the widgets when I could get the dialog to display
> should have been the tipoff. The page widget needs a parent.
More information about the PyQt