[Qt-interest] QTreeView to QTreeWidget at run-time?
Rob Simmermon
rob.simmermon at simmtechsolutions.com
Tue May 4 19:48:51 CEST 2010
I've been away from Qt for a few years, and just getting back into it.
Hopefully this is an easy question.
I have a class that inherits from QTreeView, and uses the model/view
architecture. However, I have a class of utilities written for a
QTreeWidget, disregarding the model and is only concerned with the View.
So my question, that I can't seem to find the answer to after many hours of
searching, is how do I copy all the items and their current states from the
QTreeView to a QTreeWidget, disregarding the model completely.
I was looking for some type of default copy constructor that would do this,
but can't find one.
Thank you to anyone who can help with this.
Rob Simmermon
SIMMTECH Solutions
411 N. Blanche Ave.
Madison, SD 57042
<http://www.simmtechsolutions.com> http://www.simmtechsolutions.com
E - <mailto:rob.simmermon at simmtechsolutions.com>
rob.simmermon at simmtechsolutions.com
T - (605) 868-9404
F - (866) 260-2036
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100504/ef04ff21/attachment.html
More information about the Qt-interest-old
mailing list