File: tst_button_lmb-press-out-up.txt

package info (click to toggle)
lomiri-ui-toolkit 1.3.5010%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 25,900 kB
  • sloc: cpp: 85,772; python: 5,528; sh: 1,364; javascript: 919; ansic: 573; makefile: 204
file content (21 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
QML Button Mouse Events - LMB press, out, release
----------------------------------------------------
Move mouse on top of the button, then press, move out, then release

Setup:
N/A

Actions:  
#. Move mouse in
#. Press MLB
#. Move mouse out
#. Release MLB

Expected Result:
#. mouseEnter() emitted
#. color is the pressedColor, no clicked() signal emitted
#. color is the color, mouseLeave emitted
#. no clicked() signal emitted

Glossary:
MLB = Mouse Left Button