mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Add focus and keyboard control to native/qt spinbox
This commit is contained in:
parent
103b069dde
commit
c15b0e1486
4 changed files with 54 additions and 9 deletions
|
@ -459,9 +459,12 @@ export NativeSpinBox := _ {
|
|||
property <length> width;
|
||||
property <length> height;
|
||||
property <bool> enabled: true;
|
||||
property <bool> has-focus: native_output;
|
||||
property <int> value: native_output;
|
||||
property <int> minimum;
|
||||
property <int> maximum: 100;
|
||||
callback key_pressed(KeyEvent) -> EventResult;
|
||||
callback key_released(KeyEvent) -> EventResult;
|
||||
//-is_internal
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue