[Interest] Qt 5: how to disable single-click activation in QAbstractItemView's?
Andreas Pakulat
apaku at gmx.de
Thu Dec 27 22:17:32 CET 2012
Hi,
On Thu, Dec 27, 2012 at 9:28 PM, R. Reucher <rene.reucher at batcom-it.net> wrote:
> I successfully managed to "port" all of my major applications to Qt 5, but I'm
> facing some issues... the one that bothers me the most at the moment is the
> fact that now every style seems to activate items on a *single* mouse-click,
> in Qt 4 this only happens with certains styles (i. e. imported ones like
> Oxygen from KDE 4).
>
> Is there some easy way to revive the "old" (Qt 4) behavior? I actually find it
> very annoying...
You sure about that? Qt4 also had a platform plugin which should have
respected the KDE wide setting with KDE4. Anyway, your options are:
Change the default in KDE, adjust your app to not use the activated
signal but rather the doubleClicked signal or drop Qt5 usage.
Andreas
More information about the Interest
mailing list