How to detect a click/doubleclick on a QTreeWidget[solved]
-
wrote on 17 Sept 2013, 19:21 last edited by
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 -
wrote on 17 Sept 2013, 19:34 last edited by
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
-
wrote on 18 Sept 2013, 08:29 last edited by
yes, they are in the docs,
i checked a lots of times and i just have no idea how i missed them -
wrote on 18 Sept 2013, 09:25 last edited by
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
1/4