Show multiple items in QToolBox at the same time?
General and Desktop
3
Posts
2
Posters
4.6k
Views
1
Watching
-
wrote on 21 Oct 2011, 07:08 last edited by
My question is exactly the same as this guy described:
(from here: http://lists.qt.nokia.com/pipermail/qt-interest/2009-January/001738.html )I'm trying to toggle the item, i.e. when the item is clicked once - the
item is activated, when the item is clicked for the second time - the
item is deactivated.But in the original post, I cannot find anything helpful to me.
-
wrote on 29 Oct 2011, 23:01 last edited by
You need exactly "setEnabled":http://doc.qt.nokia.com/stable/qwidget.html#enabled-prop or just "setCheckable":http://doc.qt.nokia.com/stable/qabstractbutton.html#checkable-prop ?
-
wrote on 29 Oct 2011, 23:22 last edited by
Nmmmm... Writing one myself? Not bad. Thanks!