Skip to content
Commit c319077b authored by Ismael Asensio's avatar Ismael Asensio
Browse files

kcms/gamecontroller: Improve the looks to match the older joystick KCM

A series of small changes to improve the looks of the gamepad KCM, 
and to match a bit better the older QWidgets `joystick` KCM.

* Improve the display of pressed buttons: Instead of a plain 0/1,
show a "PRESSED" string when a button is pressed, or a placeholder hyphen when is not.
* Fix table headers: Use `Qt::DisplayRole` ('display') instead of custom roles, 
so the ViewHeaders can access the header data.
* Make the 'Buttons' and 'Axis' tables have the same width
parent 799341e9
Pipeline #543649 passed with stage
in 3 minutes and 50 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment