2024-04-10 12:28:43 +00:00
|
|
|
import { Metrics, DarkPalette } from "theme.slint";
|
2024-04-09 19:52:34 +00:00
|
|
|
import { HorizontalSeparator } from "widgets/separator.slint";
|
2024-04-10 12:43:50 +00:00
|
|
|
import { Box, VerticalBox } from "widgets/layout.slint";
|
2024-04-10 15:44:23 +00:00
|
|
|
import { Button } from "widgets/button.slint";
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
component ToolBarItem inherits Button {
|
2024-04-10 10:34:47 +00:00
|
|
|
width: Metrics.size-lg;
|
|
|
|
height: Metrics.size-lg;
|
2024-04-10 15:44:23 +00:00
|
|
|
p-elevation: 0;
|
2024-04-09 19:47:10 +00:00
|
|
|
}
|
|
|
|
|
2024-04-10 12:28:43 +00:00
|
|
|
export component ToolBar inherits VerticalBox {
|
2024-04-10 10:34:47 +00:00
|
|
|
width: Metrics.size-xl;
|
2024-04-10 15:50:54 +00:00
|
|
|
p-alignment: start;
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "s";
|
2024-04-10 12:28:43 +00:00
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "m";
|
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "r";
|
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "s";
|
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 12:28:43 +00:00
|
|
|
HorizontalSeparator { }
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "b";
|
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "o";
|
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "f";
|
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "r";
|
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "l";
|
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "a";
|
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 12:28:43 +00:00
|
|
|
HorizontalSeparator { }
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "t";
|
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "t";
|
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
|
2024-04-10 15:44:23 +00:00
|
|
|
ToolBarItem {
|
|
|
|
p-text: "m";
|
|
|
|
}
|
2024-04-09 19:47:10 +00:00
|
|
|
}
|