hi:
i create a QListWidget .in this list i add some items and each item represent an action. can i set
a QAction as such QListWidgetItem's data and then i can get this data (using QListWidgetItem class's data method) late ? How to do that? Thanks
hi:
i create a QListWidget .in this list i add some items and each item represent an action. can i set
a QAction as such QListWidgetItem's data and then i can get this data (using QListWidgetItem class's data method) late ? How to do that? Thanks
Subclass QListWidgetItem and add a "QAction *" member to it.
Bookmarks