PDA

View Full Version : How to work with "Tree View"?



8Observer8
15th August 2014, 04:00
Hello

I add the "Tree View" by Qt Designer. Can I find any example in "C:\Qt\Qt5.3.1\Examples\Qt-5.3" how to work with it? Or where can I find such example?

Thank you!

Henry Blue Heeler
15th August 2014, 04:04
Here's a model/view tutorial that describes Tree Views and Tree Widgets:
http://qt-project.org/doc/qt-4.8/modelview.html

8Observer8
15th August 2014, 04:48
Thank you :)

8Observer8
15th August 2014, 07:04
Why I cannot find these examples :(



This tutorial includes example code for you to edit and integrate into your project. The tutorial's source code is located in Qt's examples/tutorials/modelview directory.

Added after 7 minutes:

I found them :) here: C:\Qt\Qt5.3.1\Examples\Qt-5.3\widgets\tutorials\modelview

Henry Blue Heeler
16th August 2014, 21:51
Thanks back at you.
I'm using Visual Studio 2010 with 5.1.1. I found it here:
C:\Qt\Qt5.1.1\5.1.1\msvc2010_opengl\examples\widge ts\tutorials