Skip to content

Commit 930a185

Browse files
committed
remove some leftover qr references
1 parent 8e0d8d5 commit 930a185

File tree

2 files changed

+3
-48
lines changed

2 files changed

+3
-48
lines changed

examples/todo-gui/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A Slint-based GUI application demonstrating DimpleDB's real-time synchronization
66

77
- Add, toggle, and delete todo items
88
- Real-time UI updates using DimpleDB's query subscriptions
9-
- Cross-device synchronization with QR code display
9+
- Cross-device synchronization
1010
- S3-based sync backend
1111

1212
## Running the Application

examples/todo-gui/ui/todo.slint

Lines changed: 2 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export component TodoApp inherits Window {
1313

1414
in-out property <string> new-todo-text;
1515
in-out property <[TodoItem]> todos: [];
16-
in-out property <image> qr-code;
1716

1817
callback add-todo(string);
1918
callback toggle-todo(string);
@@ -107,50 +106,6 @@ export component TodoApp inherits Window {
107106
text: todos.length + " items";
108107
vertical-alignment: center;
109108
}
110-
}
111-
112-
if qr-code.width > 0 : Rectangle {
113-
background: #f8f9fa;
114-
border-radius: 10px;
115-
border-width: 1px;
116-
border-color: #dee2e6;
117-
padding: 20px;
118-
119-
VerticalBox {
120-
spacing: 15px;
121-
alignment: center;
122-
123-
Text {
124-
text: "Sync Configuration";
125-
font-size: 18px;
126-
font-weight: 600;
127-
horizontal-alignment: center;
128-
}
129-
130-
Rectangle {
131-
background: white;
132-
border-radius: 8px;
133-
border-width: 1px;
134-
border-color: #ccc;
135-
padding: 10px;
136-
width: self.height;
137-
height: 200px;
138-
139-
Image {
140-
source: qr-code;
141-
width: 100%;
142-
height: 100%;
143-
image-fit: contain;
144-
}
145-
}
146-
147-
Text {
148-
text: "Scan QR code to sync with other devices";
149-
font-size: 14px;
150-
color: #666;
151-
horizontal-alignment: center;
152-
}
153-
}
154-
}
155-
}
109+
}
110+
}
156111
}

0 commit comments

Comments
 (0)