morty
7th October 2006, 13:57
Hi,
I am trying to use QTreeView or QTreeWidget as a property setting tool.
I would like to have two columns, one for the property name and one for the setting/value.
In the property name column I want a tree structure with categories (as parents to properties) and properties.
I only want to be able to edit the second column (the setting/value) not the column with the name of the property.
Until now I have not found a way to make only the second column editable.
Can anyone help me? Either with a solution to the above problem or a completely different solution using a different widget.
Morty
I am trying to use QTreeView or QTreeWidget as a property setting tool.
I would like to have two columns, one for the property name and one for the setting/value.
In the property name column I want a tree structure with categories (as parents to properties) and properties.
I only want to be able to edit the second column (the setting/value) not the column with the name of the property.
Until now I have not found a way to make only the second column editable.
Can anyone help me? Either with a solution to the above problem or a completely different solution using a different widget.
Morty