Qt 6.12 LTS is out! See what's new in the release
blog
Link QAction availability to user selection
-
Hi,
What kind of selection are you referring to ?
-
Then add a slot to the class that manages these actions and connect it to the selectionChanged signal of your selection model. In there check whether the selection is empty and update the action state accordingly.
-
Then add a slot to the class that manages these actions and connect it to the selectionChanged signal of your selection model. In there check whether the selection is empty and update the action state accordingly.
-
Because it's a signal of QTableView.