feat: 更名「时序图设计」并发布 V1.0.5

- 软件名:时序图设计器 → 时序图设计(窗口标题 / 关于页 / 导出标题 / 文档 / Android 应用名)
- 左上角标志区只显示「时序图」
- 版本号 1.0.4+5 → 1.0.5+6
This commit is contained in:
2026-10-08 12:11:32 +08:00
parent 3909f86dd1
commit bd198cac02
14 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ String exportSubtitle(Project project, ViewMode mode) {
/// 导出图例(左下角固定)。
String exportLegend(Project project) =>
'时序图设计器 · ${project.name} · 循环 ${tfmt(project.cycle.durationMs, project.units)} = 360°';
'时序图设计 · ${project.name} · 循环 ${tfmt(project.cycle.durationMs, project.units)} = 360°';
/// 导出专用令牌:始终使用浅色、**纯白背景**(印刷 / 工艺卡导向),
/// 文字、语义色与屏幕浅色主题保持一致。
+3 -3
View File
@@ -78,7 +78,7 @@ class _SequenceDiagramAppState extends State<SequenceDiagramApp> {
/// 原生窗口标题通道(在 Windows runner 中实现 SetWindowText)。
static const MethodChannel _windowChannel = MethodChannel('seqstudio/window');
/// 更新原生窗口标题为「时序图设计器 - <文件名 | 未命名文件>」,
/// 更新原生窗口标题为「时序图设计 - <文件名 | 未命名文件>」,
/// 有未保存修改时追加 ` *`。
void _updateWindowTitle() {
final String name = _controller.filePath == null
@@ -86,7 +86,7 @@ class _SequenceDiagramAppState extends State<SequenceDiagramApp> {
: _controller.filePath!.split(RegExp(r'[\\/]')).last;
final String dirty = _controller.dirty ? ' *' : '';
_windowChannel
.invokeMethod<void>('setTitle', '时序图设计器 - $name$dirty')
.invokeMethod<void>('setTitle', '时序图设计 - $name$dirty')
.catchError((Object _) {});
}
@@ -161,7 +161,7 @@ class _SequenceDiagramAppState extends State<SequenceDiagramApp> {
builder: (BuildContext context, Widget? child) {
final Tokens tokens = Tokens.of(_controller.brightness);
return MaterialApp(
title: '时序图设计器 · Sequence Diagram Studio',
title: '时序图设计 · Sequence Diagram Studio',
debugShowCheckedModeBanner: false,
theme: buildTheme(tokens),
// 固定文本缩放;系统栏图标随主题亮度自动切换(透明系统栏,
+2 -2
View File
@@ -485,7 +485,7 @@ class _AppShellState extends State<AppShell> {
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text('时序图设计器',
Text('时序图',
style: TextStyle(
color: t.text,
fontSize: _toolFont(14),
@@ -529,7 +529,7 @@ class _AppShellState extends State<AppShell> {
left = <Widget>[
AppLogo(size: 28 * s),
SizedBox(width: 8 * s),
Text('时序图设计器',
Text('时序图',
style: TextStyle(
color: t.text,
fontSize: _toolFont(13),
+2 -2
View File
@@ -2121,10 +2121,10 @@ class HelpDialog extends StatelessWidget {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text('时序图设计器 · Sequence Diagram Studio',
Text('时序图设计 · Sequence Diagram Studio',
style: TextStyle(color: t.text, fontSize: 15, fontWeight: FontWeight.w700)),
const SizedBox(height: 4),
Text('V1.0.4(${android ? '安卓版' : 'Windows 版'})',
Text('V1.0.5(${android ? '安卓版' : 'Windows 版'})',
style: TextStyle(color: t.dim, fontSize: 12)),
],
),