Qt 6.12 LTS is out! See what's new in the release
blog
How to detect a click/doubleclick on a QTreeWidget[solved]
General and Desktop
4
Posts
2
Posters
15.7k
Views
1
Watching
-
hi,i'm wondering about how to detect a click or a double click and datachanged on a QTreeWidget
the QTreeWidget has toplevelitems and childs,i check the docs and there was no signals
of any kind -
How about "double click":http://qt-project.org/doc/qt-5.0/qtwidgets/qtreewidget.html#itemDoubleClicked and "single click":http://qt-project.org/doc/qt-5.0/qtwidgets/qtreewidget.html#itemClicked signals and there is also "item changed":http://qt-project.org/doc/qt-5.0/qtwidgets/qtreewidget.html#itemChanged signal
-
yes, they are in the docs,
i checked a lots of times and i just have no idea how i missed them