I add items to a treewidget but i cannot see them
i am usings qtjambi, here is the code, the libraryTree is the QTreeWidget
Code:
allItem.setText(1, "All"); libraryTree.addTopLevelItem(allItem);
Printable View
I add items to a treewidget but i cannot see them
i am usings qtjambi, here is the code, the libraryTree is the QTreeWidget
Code:
allItem.setText(1, "All"); libraryTree.addTopLevelItem(allItem);
using this i release that it never get past the second line until i close the window
Code:
System.out.println("Add item"); System.out.println("1"); allItem.setText(1, "All"); System.out.println("2"); libraryTree.addTopLevelItem(allItem); System.out.println("The item has been added");
output:
what thread and timer has to do with that?