1
0
Fork 0
mirror of synced 2024-05-17 19:03:08 +12:00
This commit is contained in:
Rafał Mikrut 2023-10-17 16:30:43 +02:00
parent 99277b9ea5
commit 1c044d2ad8

View file

@ -1,3 +1,44 @@
fn main() {}
slint::slint! {}
slint::slint! {
import { Button, VerticalBox , HorizontalBox, TabWidget, ListView, StandardListView, StandardTableView} from "std-widgets.slint";
export component MainWindow {
VerticalBox {
TabWidget {
width: 400px;
preferred-height: 300px;
Tab {
title: "Empty Folders";
ListView {
}
StandardTableView {
visible: true;
columns: [{title: "Selection", Sort: false}, {title: "Name"}, {title: "Path"}];
rows: [
[{ text: "FG"}, {text: "gasg"}, {text:"asg" }],
[{ text: "GS"}, {text: "WW"}, {text:"AGAS" }]
];
}
}
Tab {
title: "Empty Files";
Text {
text: "Empty files";
}
}
}
HorizontalBox {
Button {
text: "Scan";
}
Button {
text: "Delete";
}
}
}
}
}