I wrote a custom QTreeView and now i need to add it to my design.
The problem is I use VS .NET + Qt integration plugin.
So how to add custom items using VS .NET and Qt?
I wrote a custom QTreeView and now i need to add it to my design.
The problem is I use VS .NET + Qt integration plugin.
So how to add custom items using VS .NET and Qt?
Do you mean that you want to use your custom QTreeView in a designed form? If so, put an ordinary QTreeView on the form, open context menu over it and choose "Promote to Custom Widget".
J-P Nurmi
Or create a widget plugin out of your widget, but that's more compilcated than jpn's solution.
Thanks. "Promote to Custom Widget" is the right way.
They are both "the right ways". Promoting a widget is just a simpler one (but also doesn't allow you to manipulate distinct features of your custom widget from within Designer).
Bookmarks