2024-04-09 19:47:10 +00:00
|
|
|
import { Theme } from "theme.slint";
|
|
|
|
import { Button } from "std-widgets.slint";
|
2024-04-09 19:52:34 +00:00
|
|
|
import { HorizontalSeparator } from "widgets/separator.slint";
|
2024-04-09 19:47:10 +00:00
|
|
|
|
|
|
|
component ToolBarItem inherits Rectangle {
|
|
|
|
width: Theme.size-lg;
|
|
|
|
height: Theme.size-lg;
|
|
|
|
border-color: black;
|
|
|
|
border-width: 1px;
|
|
|
|
border-radius: Theme.radius-md;
|
|
|
|
}
|
|
|
|
|
|
|
|
export component ToolBar inherits Rectangle {
|
|
|
|
width: Theme.size-xl;
|
|
|
|
border-color: black;
|
|
|
|
border-width: 1px;
|
|
|
|
|
|
|
|
VerticalLayout {
|
|
|
|
alignment: start;
|
|
|
|
padding: Theme.padding-md;
|
|
|
|
spacing: Theme.padding-md;
|
|
|
|
|
|
|
|
Button {
|
|
|
|
checkable: true;
|
|
|
|
}
|
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
|
2024-04-09 19:52:34 +00:00
|
|
|
HorizontalSeparator { }
|
2024-04-09 19:47:10 +00:00
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
|
2024-04-09 19:52:34 +00:00
|
|
|
HorizontalSeparator { }
|
2024-04-09 19:47:10 +00:00
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
|
|
|
|
ToolBarItem { }
|
|
|
|
}
|
|
|
|
}
|