![]() Registered Member ![]()
|
Hello,
i wrote a configuration dialog with the help of KConfig. But now, i want to add a QTreeWidget to this config dialog. Everything is fine. But how doi get this QTreeWidget connected to the KConfig concept. If i prefix it with kcfg_MyTree, kconfig moans a runtime that it can't handle my widget. I mean, how can i tell KConfig that the data changed on my QTreeWidget and the Apply button should become enabled? Can anybody help? Thanks in advance. Greetings, -chris- |
![]() Administrator ![]()
|
Tree views unfortunately need to be handled manually, as the automatic KXConfig framework can't handle it. You need to subclass several functions, which can be found in the documentation:
http://api.kde.org/4.x-api/kdelibs-apid ... ialog.html
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient