uwerat / qskinny

A lightweight framework on top of the Qt scene graph and only few classes from Qt/Quick. It is usable from C++ and/or QML.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

M3: focus indication

uwerat opened this issue · comments

commented

The M3 skin does not support the focus indicator and therefore we need to have specific settings for the Focused state.
F.e. selecting a value of a QskSegmentedBar in the gallery is more or less impossible today.

Work has already been started here: https://github.com/edelhirsch/qskinny/tree/m3-segmented-bar-hovered , I will hopefully be able to continue from there in the next days...

commented

In earlier versions of QskSkin it was possible to set a stateMask to disable all states, that are not supported by a skin.

But such a mask is probably more useful as runtime setting depending on the hardware setup. F.e. when having touch only there is not much sense in handling/displaying Hover/Focused states.

On the implementation side it might be possible to apply the state mask inside of effectiveSkinHint.

commented

Somehow related: #45