Thread
:
Saving text input to a 'TextArea'
View Single Post
MartinK
2017-10-03 , 23:43
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#
2
Looks like
QtQuick LocalStorage
might work for you to persistently store user data.
Alternatively you can also use PyOtherSide to use Python to store your files to a file on the local filesystem:
PyOtherSide @ Sailfish OS docs
General PyOtherSide docs
The "notes" PyOtherSide example in particular seems to be pretty close to what you are trying to achieve - storing some string from an application persistently to a file and the loading them from the file again:
notes_example.qml
notes_example.py
__________________
modRana
: a flexible GPS navigation system
Mieru
: a flexible manga and comic book reader
Universal Components
- a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
Quote & Reply
|
The Following 3 Users Say Thank You to MartinK For This Useful Post:
imaginaryenemy
,
Markkyboy
,
Merienth
MartinK
View Public Profile
Send a private message to MartinK
Find all posts by MartinK