create: egui 与 Slint 打卡窗口并存,尚未选型
MemRelay-Operation: memory-save:punchlog-egui-trial-2026-11-19 MemRelay-Resource: a534a3a1-b442-453c-99e6-f68528fa13cf
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
title: egui 与 Slint 打卡窗口并存,尚未选型
|
||||||
|
type: fact
|
||||||
|
permalink: main/projects/a84c6646-289e-46f8-b0f9-41317c651955/egui-与-slint-打卡窗口并存尚未选型
|
||||||
|
stable_id: a534a3a1-b442-453c-99e6-f68528fa13cf
|
||||||
|
scope: project
|
||||||
|
memory_type: fact
|
||||||
|
project_id: a84c6646-289e-46f8-b0f9-41317c651955
|
||||||
|
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
|
||||||
|
status: active
|
||||||
|
revision: 1
|
||||||
|
request_id: punchlog-egui-trial-2026-11-19
|
||||||
|
created_at: '2026-11-19T08:19:28.240199+00:00'
|
||||||
|
updated_at: '2026-11-19T08:19:28.240199+00:00'
|
||||||
|
tags:
|
||||||
|
- ui
|
||||||
|
- egui
|
||||||
|
- slint
|
||||||
|
---
|
||||||
|
|
||||||
|
两套桌面并存,用户还没有选定留哪一套。
|
||||||
|
|
||||||
|
Slint:`cargo run --bin punchlog-ui`,界面在 ui/app.slint,ScrollView + 固定行高。
|
||||||
|
egui:`cargo run --bin punchlog-egui --features egui`,代码在 src/bin/punchlog-egui.rs。eframe 0.37,只开 glow,不开 wgpu。中文字体读本机 C:\Windows\Fonts\msyh.ttc(微软雅黑,约 19MB)。滚动条用 floating,平时不占位。
|
||||||
|
|
||||||
|
2026-11-19 release 窗口打开并已显示最近一周后测得:egui 工作集约 127MB、私有内存约 64MB、exe 10.6MB;Slint 工作集约 33MB、私有内存约 15MB、exe 15.5MB。
|
||||||
|
|
||||||
|
两边都显示 11-13 到 11-19,左对齐,状态在右,站点和完整 memo 在下面。没有关于页。不要合并进 main。凭证只在 .env。
|
||||||
Reference in New Issue
Block a user