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