[kcms/users] (UX) Add a cancel button when creating a new user
Add a cancel button when creating a new user in kcms/users
- Disable and hide "Add User" button when displaying CreateUser interface
- Only display "Cancel" button in desktop mode, mobile can use back button on toolbar
Also added icons as there are now 2 buttons.
Reason for the change
Improve user experience in systemsettings>users
Test plan
Tested with back and forth between the user list and the create user interface using kcmshell6 with and without QT_QUICK_CONTROLS_MOBILE=1 flag (mobile).
Screenshots or screen recordings
Desktop Mode (new cancel button)
| Before | After |
|---|---|
![]() |
![]() |
Mobile mode (no changes)
| Before | After |
|---|---|
![]() |
![]() |
Bugs fixed
BUG: 450420



