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
ab5fdd94f334a2517510c6b51e89dbac49d561d4
qt-creator/share/qtcreator/qml/qmlpuppet/mockfiles/GenericBackend.qml

9 lines
118 B
QML
Raw Normal View History

QmlDesigner: Allow qml2puppet to mockup C++ types This allows Qt Quick Designer to register a component that can serve as a mockup for known C++ components registered in e.g. main.cpp. In many cases those components are the interface to the C++ backend. While the C++ components itself are not relevant for the gui designer, the user has to be able to instantiate gui components that use such C++ components. We use the CreateSceneCommand to forward a list of C++ types to qml2puppet. Those types are then registered so that the imports and object institation works. Change-Id: I1543912f233f9a783998f3c6a1b48981b342ee80 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2016-09-29 15:30:29 +02:00
import QtQuick 2.6
QtObject {
property int x
property int y
property int width
property int height
}
Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 99ms Template: 1ms
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