Rename tutorial to quickstart (#4941)

This commit is contained in:
Chris Chinchilla 2024-04-04 13:26:24 +02:00 committed by GitHub
parent 02775f7783
commit 7afa34a7e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
79 changed files with 35 additions and 35 deletions

View file

@ -0,0 +1,26 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: MIT
#[allow(dead_code)]
fn main() {
MainWindow::new().unwrap().run().unwrap();
}
slint::slint! {
// ANCHOR: tile
component MemoryTile inherits Rectangle {
width: 64px;
height: 64px;
background: #3960D5;
Image {
source: @image-url("icons/bus.png");
width: parent.width;
height: parent.height;
}
}
export component MainWindow inherits Window {
MemoryTile {}
}
// ANCHOR_END: tile
}