This forum has been archived. All content is frozen. Please use KDE Discuss instead.

TreeView refresh/repaint

Tags: c, plasmoid, development, programming, plasma, kde4, treeview, popupapplet, applet c, plasmoid, development, programming, plasma, kde4, treeview, popupapplet, applet c, plasmoid, development, programming, plasma, kde4, treeview, popupapplet, applet
(comma "," separated)
akooos
Registered Member
Posts
3
Karma
0
OS

TreeView refresh/repaint

Sat Jun 02, 2012 5:31 pm
I created a plasmoid, that shows my BZFlag friends (people I liked to play with).

When I place the plasmoid on the workspace, after I added some of my "friends", I'm trying scoll on treeview, the content is not changing, unless I resize the whole plasmoid. However if I iconify the plasmoid, and use it as a popup, treeview works well.

I tried with QTreeView, and Plasma::TreeView same behaviour.

One more thing:
I use an BZFriendsTreeModel (inherits QAbstractItemModel), and it has an newIndexWidget signal, and when a new row is inserted this signal emitted, catched on the main(PlayerList) widget, and QTreeView::setIndexWidget() called.

Here is the code:
https://sourceforge.net/projects/bzfriendsplasm/files/Linux-KDE4/Alpha/

Akoo...oos
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: TreeView refresh/repaint

Mon Jun 04, 2012 12:15 pm
You may want to raise your question to the plasma-devel@kde.org mailing list, as most of the developers read it.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft