Friendiqa v0.2.1
This commit is contained in:
parent
c85f857afe
commit
ee50729e0d
45 changed files with 580 additions and 146 deletions
|
@ -171,7 +171,7 @@ StackView{
|
|||
onEditingFinished:{
|
||||
Helperjs.friendicaWebRequest(servername.text+'/api/users/show?screen_name='+username.text,configBackground,function(obj){
|
||||
var screennametest=JSON.parse(obj);
|
||||
if (screennametest.status.error){
|
||||
if (screennametest.hasOwnProperty('status')){
|
||||
Helperjs.showMessage(qsTr("Error"),qsTr("Nickname not registered at given server!"),configBackground);
|
||||
configBackground.registeredUser=false;
|
||||
}else{configBackground.registeredUser=true}
|
||||
|
@ -226,7 +226,7 @@ StackView{
|
|||
Text{
|
||||
id: newsTypeField
|
||||
anchors.fill: parent
|
||||
text:"Timeline"
|
||||
text:"Conversations"
|
||||
}
|
||||
MouseArea{
|
||||
anchors.fill:parent
|
||||
|
@ -289,7 +289,7 @@ StackView{
|
|||
var credentials=JSON.parse(obj);
|
||||
if (credentials.hasOwnProperty('status')){
|
||||
Helperjs.showMessage(qsTr("Error"),qsTr("Wrong password!"),root)
|
||||
}
|
||||
}
|
||||
else{
|
||||
filesystem.Directory=userconfig.imagestore;
|
||||
filesystem.makeDir("contacts");
|
||||
|
@ -332,7 +332,7 @@ StackView{
|
|||
password.text="";
|
||||
imagestore.text="";
|
||||
maxNews.value=0;
|
||||
newsTypeField.text="Timeline";
|
||||
newsTypeField.text="Conversations";
|
||||
messageIntervalSlider.value=0;
|
||||
userButton.text=qsTr("User");
|
||||
Helperjs.readData(db,"config","",function(storedUsers){
|
||||
|
@ -354,7 +354,7 @@ StackView{
|
|||
password.text=""
|
||||
imagestore.text=""
|
||||
maxNews.value=0
|
||||
newsTypeField.text="Timeline"
|
||||
newsTypeField.text="Conversations"
|
||||
messageIntervalSlider.value=0
|
||||
userButton.text=qsTr("User")
|
||||
}
|
||||
|
|
|
@ -37,4 +37,7 @@ QtObject{
|
|||
property int backKey: Qt.Key_Back
|
||||
//property string attachImageDir:filesystem.cameraPath+"/"
|
||||
property string imagePickQml: "ImagePicker"
|
||||
property string imagePicker:'import QtQuick 2.0; import "qrc:/qml/genericqml";'+
|
||||
imagePickQml+'{multiple : true;onReady: {attachImageURLs.push(imageUrl);'+
|
||||
'attachImage(imageUrl)}}'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue