mclark
24th May 2010, 22:20
Greetings,
Has anyone tried to use the QtPropertyBrowser code with a QStandardItemModel?
The Editable Tree Property Browser demo looks exactly like the GUI I'm required to use, but I would have to wedge a (proxy) model into the design to feed it data. I am fairly new to the Qt Model/View stuff and this looks like a daunting task (or am I totally wrong about this).
Background:
I'm using a QStandardItemModel (generated by another team member) to populate several QTableViews (through proxy models) and also must populate a QTreeView-like widget for the current 'selection'. Much of this is working except for the treeView-like widget. This is where the QtPropertyBrowser comes into play, its appearance and functionality is exactly what was specified and I would like to use it if possible.
Environment:
Qt 4.6.2 commercial
MS Visual Studio 2005
Has anyone tried to use the QtPropertyBrowser code with a QStandardItemModel?
The Editable Tree Property Browser demo looks exactly like the GUI I'm required to use, but I would have to wedge a (proxy) model into the design to feed it data. I am fairly new to the Qt Model/View stuff and this looks like a daunting task (or am I totally wrong about this).
Background:
I'm using a QStandardItemModel (generated by another team member) to populate several QTableViews (through proxy models) and also must populate a QTreeView-like widget for the current 'selection'. Much of this is working except for the treeView-like widget. This is where the QtPropertyBrowser comes into play, its appearance and functionality is exactly what was specified and I would like to use it if possible.
Environment:
Qt 4.6.2 commercial
MS Visual Studio 2005