wip: tsc-ui settings tabs and About via TSC_OPEN

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
Claude committed 2026-09-26 15:04:05 +00:00
1 parent 222edcf775
commit 5805ebbb8a
2 files changed
+14 -4

No files matched your search

+5 -1
View File
@@ -1010,6 +1010,7 @@ component LevelMeter inherits Rectangle {
}
component SettingsDialog inherits Dialog {
in-out property <int> tab;
callback done();
card-width: 640px;
card-height: 660px;
@@ -1022,6 +1023,7 @@ component SettingsDialog inherits Dialog {
}
TabWidget {
vertical-stretch: 1;
current-index <=> tab;
Tab {
title: @tr("Audio");
ScrollView {
@@ -1454,7 +1456,8 @@ export component MainWindow inherits Window {
default-font-size: 13px;
property <bool> editing: false;
property <bool> show-about: false;
in-out property <bool> show-about: false;
in-out property <int> settings-tab: 0;
in-out property <bool> sharing-dialog: false;
in-out property <bool> settings-open: false;
property <bool> client-open: false;
@@ -1668,6 +1671,7 @@ export component MainWindow inherits Window {
}
if settings-open: SettingsDialog {
tab <=> settings-tab;
done => {
settings-open = false;
Bridge.close-settings();