Logo
Explore Help
Sign In
feedc0de/qt-creator
1
0
Fork 0
You've already forked qt-creator
forked from qt-creator/qt-creator
Code Pull Requests Activity
Files
dfadc17cb59cf479fe48b5cb15bf3d6bebb023eb
qt-creator/tests/auto/qml/codemodel/check/inline-components.qml

14 lines
276 B
QML
Raw Normal View History

qmljs: support inline components * add inline components to bind. * inserts inline components in the component that contains them (makes Context:lookupType simpler) * unify Context:lookupType overloads without adding extra heap allocations using a template (avoid code duplication) * add tests for inline components * warn about nested components * use model manager to load dependencies in tst_check (old test did not load dependencies and simply skipped all checks on imports) Fixes: QTCREATORBUG-24766 Fixes: QTCREATORBUG-24705 Change-Id: Ibcade7752cdaa08e960f66db3a724ab7fb3268cf Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2021-01-19 20:34:51 +01:00
// LabeledImageBox.qml
import QtQuick 2.15
import "./InlineComponent.qml"
Rectangle {
property alias caption: image.caption
property alias source: image.source
border.width: 2
border.color: "black"
InlineComponent.LabeledImage {
id: image
}
}
Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 61ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API