![]() Registered Member ![]()
|
Could someone provide, or point me to an example of the use of the PyKDE Plasma.TreeView? I would like to use the TreeView in my python plasmoid but am having absolutely no luck. A very simple python plasmoid that renders a TreeView would be great! Really, just a simple init() method that creates a TreeView with a static model, adds it to its layout so it is visible would be perfect.
Thanks a million! Ben |
![]() KDE Developer ![]()
|
Try this: TreeView/contents/code/main.py
TreeView/metadata.desktop
|
![]() Registered Member ![]()
|
Thanks. I'll give this a try and let you know how it goes.
Ben
|
![]() Registered Member ![]()
|
Hi, i tried your script about treeview and i found it very usefull for me.
I have a question now: How can I make treeview sending signal itemclicked or signal itemdoubleclicked? I found that treeview doesn't send any signal about click event. How can i do that? it's possible or do i need to use another widget. Thank a lot
Last edited by umaga on Fri Apr 10, 2009 1:54 pm, edited 1 time in total.
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell