[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Python: reading plasmoid configuration with KConfig XT
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2012-01-11 12:42:01
Message-ID: 4160151.6DGgvQe4fW () freedom
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday, January 2, 2012 00:49:53 Peter Hartmann wrote:
> Hello
> 
> As I'm writing my first plasmoid, I learned that configuration interface
> can be created in a "declarative" way with KConfig XT and Qt Designer.
> But how do I actually _read_ user input with this approach? Of course I
> can write custom slots and hook them up to my QWidget (loaded from .ui
> file) but there seems to be other way which I just can't grasp from
> existing documentation for C++. Thanks for any help.

when configuration is updated, the configChanged method in your widget is 
called. reimplement that...

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic