how to change QTreeWidgetItem's order by dragging...



  • how to change QTreeWidgetItem's order by dragging...
    thank you !



  • The documentation of the QTreeWidgetItem class says:

    By default, items are enabled, selectable, checkable, and can be the source of a drag and drop operation. Each item's flags can be changed by calling setFlags() with the appropriate value (see Qt::ItemFlags). Checkable items can be checked and unchecked with the setCheckState() function. The corresponding checkState() function indicates whether the item is currently checked.

    Have a look at that.
    And perhaps the Settings Editor Example might be useful.



  • thank you!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.