Hello all,
I'm having a couple questions that I couldn't solve for some time,
maybe someone is so kind to point me in the right direction.
1.
Currently I'm using:
---
item.setFlags(new ItemFlags(item.flags().value() |
Qt.ItemFlag.ItemIsEditable.value()));
---
to make a QTreeWidgetItem editable. The problem is that this makes all column
editable but I
need only one specific column to be editable.
2.
Something else I couldn't figure out how to do is:
Showing the last part of a text, in a QPlainTextEdit, instead of the first one.
(The last line needs to be visible)
3.
I want to be able to drag and drop QTreeWidgetItems inside a QTreeView.
I set the item to be drag and drop-enabled
---
ui.treeWidget.dragDropMode();
---
When a add a child (QTreeWidgetItem) I add those flags:
---
child.setFlags(ItemFlag.ItemIsDragEnabled, ItemFlag.ItemIsDropEnabled);
---
Am I missing something?
Any commands a very much appreciated.
Best regards Flyingimmi
_________________________________________________________________
http://redirect.gimas.net/?n=M0907xBing2
Sparen Sie Zeit, Energie, Nerven. Bing™. Die Suche von Microsoft®_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest