qskinny icon indicating copy to clipboard operation
qskinny copied to clipboard

M3: focus indication

Open uwerat opened this issue 1 year ago • 3 comments

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.

uwerat avatar Mar 05 '23 11:03 uwerat

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...

peter-ha avatar Mar 05 '23 12:03 peter-ha

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.

uwerat avatar Mar 05 '23 13:03 uwerat

Somehow related: #45

uwerat avatar Mar 10 '23 13:03 uwerat