Re: [PyQt] pykde4 using KConfig XT - tutorial

2008-01-13 Thread Peter Liedler
Dear Simon,

your implementation of KConfigSkeleton works perfectly. It was all my
fault. Due to my newbie-eagerness I prepared a config item which I
didn't implement in the user interface. That crashed my app every time I
wanted to modify the config.

I also figured out the connect() problem.

Peter 


On Sam, 2008-01-12 at 11:09 +0100, Simon Edwards wrote:
 Hi,
 
 Peter Liedler wrote:
  I am trying to autogenerate a configuration dialog with a
  KConfigSkeleton. I just can't get it working.
 
 What went wrong?
 
  Can you post me a sample, tutorial or something else on how to call a
  config dialog in pykde4?
 
 Not that I'm aware of.
 
  I tried it with a .kcfg file as described in the tutorials on kde.org,
  but there was no success.
 
 If I remember rightly, the kconfig stuff in KDE uses a lot of C++ 
 templates which makes bindings difficult. There is a good chance that 
 the config stuff is incomplete.
 
 Jim appears to be off-line for a while now and I've had to try keeping 
 the kconfig stuff up to date and working. If it is screwed up, then it 
 is probably my fault. :)
 
 cheers,


___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] pykde4 using KConfig XT - tutorial

2008-01-12 Thread Simon Edwards

Hi,

Peter Liedler wrote:

I am trying to autogenerate a configuration dialog with a
KConfigSkeleton. I just can't get it working.


What went wrong?


Can you post me a sample, tutorial or something else on how to call a
config dialog in pykde4?


Not that I'm aware of.


I tried it with a .kcfg file as described in the tutorials on kde.org,
but there was no success.


If I remember rightly, the kconfig stuff in KDE uses a lot of C++ 
templates which makes bindings difficult. There is a good chance that 
the config stuff is incomplete.


Jim appears to be off-line for a while now and I've had to try keeping 
the kconfig stuff up to date and working. If it is screwed up, then it 
is probably my fault. :)


cheers,

--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
[EMAIL PROTECTED]   | http://www.simonzone.com/software/
Nijmegen, The Netherlands | ZooTV? You made the right choice.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] pykde4 using KConfig XT - tutorial

2008-01-12 Thread Jim Bublitz
On Saturday 12 January 2008 02:09, Simon Edwards wrote:
 Hi,

 Peter Liedler wrote:
  I am trying to autogenerate a configuration dialog with a
  KConfigSkeleton. I just can't get it working.

 What went wrong?

  Can you post me a sample, tutorial or something else on how to call a
  config dialog in pykde4?

 Not that I'm aware of.

  I tried it with a .kcfg file as described in the tutorials on kde.org,
  but there was no success.

 If I remember rightly, the kconfig stuff in KDE uses a lot of C++
 templates which makes bindings difficult. There is a good chance that
 the config stuff is incomplete.

 Jim appears to be off-line for a while now and I've had to try keeping
 the kconfig stuff up to date and working. If it is screwed up, then it
 is probably my fault. :)

The template stuff  (KConfigSkeleton.Item* classes) is all implemented in 
PyKDE4 and should work. It doesn't include the patches from PyKDE3 that sort 
of simulated pass by reference/reference variables for those classes - those 
have been dropped.

Someone had promised to write a tutorial in exchange for some patches, but it 
was never done. I've never used KConfigSkeleton and have no idea how to use 
it., and therefore no way to test it.

There is some config file generation stuff in KDE4, but I haven't looked much 
at that either - it seemed like it might be possible to get it to work for 
PyKDE4 (but I'm not sure about that). I would suspect that's what's not 
working.

Jim
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


[PyQt] pykde4 using KConfig XT - tutorial

2008-01-08 Thread Peter Liedler
I am trying to autogenerate a configuration dialog with a
KConfigSkeleton. I just can't get it working.
Can you post me a sample, tutorial or something else on how to call a
config dialog in pykde4?

I tried it with a .kcfg file as described in the tutorials on kde.org,
but there was no success.

Do you need additional information?

Thanks a lot
jackcy

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt