property int powerKeyLongPressCount: 31 // about 2s
is something that depends on QStyleHints::keyboardAutoRepeatRate() and other things, those will probably won't change, but maybe we can add a test that actually checks that pressing and holidng the button triggers the dialog and takes between 1.5 and 2.5 seconds? just in case this varies wildly in the future with some update and we don't realize?
property int powerKeyLongPre ssCount: 31 // about 2s :keyboardAutoRe peatRate( ) and other things, those will probably won't change, but maybe we can add a test that actually checks that pressing and holidng the button triggers the dialog and takes between 1.5 and 2.5 seconds? just in case this varies wildly in the future with some update and we don't realize?
is something that depends on QStyleHints:
What do you think?