Creation of TIM Tool #15

Merged
jaby merged 32 commits from topic/jb/tim_tool/slint-test into main 2025-02-16 21:26:32 +00:00
1 changed files with 6 additions and 0 deletions
Showing only changes of commit 3009b11675 - Show all commits

View File

@ -65,6 +65,7 @@ export component MainTab inherits Rectangle {
if event.kind == PointerEventKind.down {
cur_sel_x.display_value = parent.img_x;
cur_sel_y.display_value = parent.img_y;
cur_sel_img.source = parent.img;
}
}
@ -123,6 +124,11 @@ export component MainTab inherits Rectangle {
width: 128px;
height: 128px;
background: #A0A0A0;
cur_sel_img := Image {
width: 128px;
height: 128px;
image-fit: contain;
}
}
cur_sel_x := Text {
in-out property <int> display_value;