How to detect a click/doubleclick on a QTreeWidget[solved]
-
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 -
With an overwhelming list of different methods, signals and other stuff, this happens sometimes :)
If this solves your problem, please mark the thread with [solved] in the title