| 1 |
QML Button Mouse Events - LMB press, out, release |
| 2 |
---------------------------------------------------- |
| 3 |
Move mouse on top of the button, then press, move out, then release |
| 4 |
|
| 5 |
Setup: |
| 6 |
N/A |
| 7 |
|
| 8 |
Actions: |
| 9 |
#. Move mouse in |
| 10 |
#. Press MLB |
| 11 |
#. Move mouse out |
| 12 |
#. Release MLB |
| 13 |
|
| 14 |
Expected Result: |
| 15 |
#. mouseEnter() emitted |
| 16 |
#. color is the pressedColor, no clicked() signal emitted |
| 17 |
#. color is the color, mouseLeave emitted |
| 18 |
#. no clicked() signal emitted |
| 19 |
|
| 20 |
Glossary: |
| 21 |
MLB = Mouse Left Button |