Slider control.
#include <AUI/View/ASlider.h>
> All members, including inherited
◆ applyGeometryToChildren()
void ASlider::applyGeometryToChildren |
( |
| ) |
|
|
overridevirtual |
◆ capturesFocus()
bool ASlider::capturesFocus |
( |
| ) |
|
|
overridevirtual |
- Returns
- Can this view capture focus.
For containers, capturing focus is redundant.
Reimplemented from AView.
◆ onPointerMove()
- Parameters
-
pos | event position |
event | event description |
- Note
- If the view is pressed, it would still received move events. Use AView::isMouseHover to check is the pointer actually over view or not. See AView::onPointerReleased for more info.
Reimplemented from AView.
◆ onPointerPressed()
- Parameters
-
Reimplemented from AView.
◆ onPointerReleased()
- Parameters
-
- Note
- To handle clicks, you should use AView::clicked signal instead. View still receives pointer move and released events even if cursor goes outside the view boundaries, or other exclusive event appeared (i.e. scrollarea scroll). AView::clicked emitted only if release event occurred inside view and no other event has prevented click gesture. See APointerReleasedEvent::triggerClick.
Reimplemented from AView.