Investigate replacing KSelectAction with QActionGroup
Open, Needs TriagePublic

Description

KSelectAction is used quite a lot in Frameworks code and probably has a significant impact on the dependency structure.

Judging by pure looks it appears that it can be replaced by QActionGroup, but I'll need to to a PoC to confirm

dfaure added a subscriber: dfaure.Nov 22 2019, 4:55 PM

QActionGroup is just about grouping actions, and implementing exclusive behaviour. It provides no GUI on its own.

KSelectAction builds on top of QActionGroup to create either a QToolButton with the actions in a popup menu, or a combobox.

Qt doesn't provide this AFAIK, so KSelectAction is very much needed.

nicolasfella moved this task from Needs Input to Backlog on the KF6 board.Apr 10 2021, 1:08 PM

I guess I need to take a look again and see if there is any issue to be solved. if not then we can close this

alex added a subscriber: alex.Sep 10 2021, 3:26 PM

@nicolasfella Did you have a look at it?

nicolasfella moved this task from Backlog to Done on the KF6 board.Feb 22 2023, 8:50 PM