package main import ( "silverpose/v2/internal/ui" . "github.com/lxn/walk/declarative" ) func main() { spec := ui.MonitorWindowSpec() MainWindow{ Title: spec.Title, MinSize: Size{Width: spec.Width, Height: spec.Height}, Layout: VBox{}, Children: []Widget{ TabWidget{ Pages: []TabPage{ { Title: "监控", Layout: HBox{}, Children: []Widget{ GroupBox{ Title: "实时画面", Layout: VBox{}, Children: []Widget{ TextLabel{Text: "视频帧将在此呈现"}, }, }, GroupBox{ Title: "当前状态", Layout: VBox{}, Children: []Widget{ TextLabel{Text: "检测状态:NORMAL"}, TextLabel{Text: "事件:暂无"}, TextLabel{Text: "运行时:Go + ONNX Runtime"}, }, }, }, }, { Title: "设置", Layout: VBox{}, Children: []Widget{ TextLabel{Text: "设置将在 T-304 接入本机配置;不保存摄像头凭证。"}, }, }, }, }, }, }.Run() }