A1
This commit is contained in:
parent
99277b9ea5
commit
1c044d2ad8
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue