slint/internal/compiler
Tobias Hunger 416aa42d90 Component: Replace parent_item to parent_node
Remove the `parent_item` function. After the recent changes that did not
return an item anymore and since the item tree is exposed, this function
was only used to find the repeater a component was created by.

So replace the old function with a new one that only returns the parent
node in the parent component.

This saves a few lines of generated code that is not used anymore.

Co-authored-by: Simon Hausmann <hausmann@gmail.com>
2022-04-20 14:29:18 +02:00
..
generator Component: Replace parent_item to parent_node 2022-04-20 14:29:18 +02:00
LICENSES Fix LICENSES symlinks 2022-02-09 17:05:47 +01:00
llr Declare .slint enum in one place in i-slint-common 2022-04-14 19:17:48 +02:00
parser Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
parser-test-macro Bump version number to 0.2.2 2022-03-10 08:48:33 +00:00
passes Declare .slint enum in one place in i-slint-common 2022-04-14 19:17:48 +02:00
tests Error out when a PopupWindow is in a if or for 2022-03-21 12:50:49 +01:00
widgets NativeSpinBox: Handle the key press in native code 2022-04-19 11:27:19 +02:00
build.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
builtin_macros.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
builtins.slint NativeSpinBox: Handle the key press in native code 2022-04-19 11:27:19 +02:00
Cargo.toml Bump version number to 0.2.2 2022-03-10 08:48:33 +00:00
diagnostics.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
embedded_resources.rs mcu: scale images at compile time (#966) 2022-03-03 13:28:47 +01:00
expression_tree.rs Allow .darker and .brighter on Brush 2022-04-12 13:01:53 +02:00
fileaccess.rs Scan for style files in the include directories 2022-02-15 13:55:50 +01:00
generator.rs Mark constant properties of parent native type as such 2022-02-18 17:40:17 +01:00
langtype.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
layout.rs C++: implement Window::on_close_requested 2022-03-17 14:49:12 +01:00
lexer.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lib.rs Compiler: make the image processing an enum in the config 2022-03-24 13:16:21 +01:00
literals.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
llr.rs Count the uses of property, and do not generate properties that are not used 2022-02-17 16:25:48 +01:00
load_builtins.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
lookup.rs Allow .darker and .brighter on Brush 2022-04-12 13:01:53 +02:00
namedreference.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
object_tree.rs Fix a bunch more issue with PopupWindow 2022-04-01 14:06:38 +02:00
parser.rs Update copyright information to reflect name change 2022-02-09 10:27:47 +01:00
passes.rs mcu: provide a default font size 2022-04-08 15:11:26 +02:00
README.md Change the Url from sixtyfps.io to slint-ui.com 2022-02-08 08:52:46 +01:00
typeloader.rs Let's not hard-code the list of styles 2022-02-15 13:55:50 +01:00
typeregister.rs Declare .slint enum in one place in i-slint-common 2022-04-14 19:17:48 +02:00

The Slint Compiler Library

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.