Saving Draggable components
-
I have created a screen contains button ,Image widget and Label Widget and i am able to drag these widgets using Drag component, Now how can i save this edited screen .
Above image is an example screen.
-
I have created a screen contains button ,Image widget and Label Widget and i am able to drag these widgets using Drag component, Now how can i save this edited screen .
Above image is an example screen.
@Chaitanya-Ampolu said in Saving Draggable components:
Now how can i save this edited screen
Do you mean a screen-shot?
-
Actually what i've uploaded is Screen shot of an example qml file
my task is to save the position of an image widget after using drag component -
Actually what i've uploaded is Screen shot of an example qml file
my task is to save the position of an image widget after using drag component -
Hi
Do you mean save its type and location and image info so
you can load this custom file at some other point and recreate the window as it looks now ? -
Hi
Yeah similarly like that , Basically i should edit Output screen that it should automatically update changes in main.qml -
Hi
Yeah similarly like that , Basically i should edit Output screen that it should automatically update changes in main.qml@Chaitanya-Ampolu
Hi
I have not seen anything that lets you save a running QML app back to a QML file. -
@Chaitanya-Ampolu
Hi
I have not seen anything that lets you save a running QML app back to a QML file.@mrjj can i explain you again
i have to make running QML screen editable( change position of widgets ) and it should be saved, so is there any way to make editable QML screen -
@mrjj can i explain you again
i have to make running QML screen editable( change position of widgets ) and it should be saved, so is there any way to make editable QML screen@Chaitanya-Ampolu You can use https://doc.qt.io/qt-5/qml-qt-labs-settings-settings.html to store the size and position of your UI elements in a configuration file. You then can read this file when the app starts and adjust the UI as specified there.