import qml file and all contents or import some contents of the qml file?
what do you prefer?
import qml file and all contents or import some contents of the qml file?
what do you prefer?
Can you rephrase that?
What do you mean by that?
Cheers,
_
Qt Code:
Item { Text{} Image{} TextField{} }To copy to clipboard, switch view to plain text mode
1- import item ( all text, image, textfield )
2- import text (how?)
3- make qml file for all text and import from it (also make qml file for i,imge and qml file for textfield)
what do you prefer?
All these are standard QtQuick items, you import them with just a sinle
Cheers,
_
thanks anda_skoa, and sorry i will clear my question.
i have A.qml
what do you prefer?Qt Code:
Item { Text{} Image{} TextField{} }To copy to clipboard, switch view to plain text mode
1- import Item{} ( import all element of A.qml text, image, textfield )
2- import Text{} (import one element of the A.qml)(how?)
3- make qml file Texts.qml for Text{} and all Texts in my progect,
make Images.qml for Image{} and all Images of my progect and TextField so on
I am sorry but this does still not make any sense.
So you have a file called A.qml which contains a certain custom element made from standard elements.
Your (1) and (2) are just invalid syntax so I can't even guess what you mean.
Your (3) does not make much sense as in why do you want to instantiate all of your Text elements in one place?
Cheers,
_
Bookmarks