[SailfishDevel] Button
Rudi Timmermans
rudi.timmer at gmx.us
Fri Mar 11 11:19:16 UTC 2016
Hi,
I like to have a button that changed from text and link when the have
clicked on the button, i have manage to get the button clickable of
donate but when the have click on it the button Start Facebook Lite dont
come up what is wrong ?
So the Start Facebook Lite button dont have the come up before the have
click on the Donate button. To make things clear...
Button {
anchors.horizontalCenter: parent.horizontalCenter
text: qsTr("Donate")
onClicked: {
pageStack.push(Qt.openUrlExternally("https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=rudi%2etimmer%40gmx%2eus&lc=EN&item_name=Facebook%20Lite%20development¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted"));
pageStack.clear()
}
}
Button {
anchors.horizontalCenter: parent.horizontalCenter
y:130
text: qsTr("Start Facebook Lite")
enabled: false
onClicked: {
pageStack.push(Qt.resolvedUrl("FacebookPage.qml"))
}
}
}
--
Vriendelijke groeten,
Rudi Timmermans.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3705 bytes
Desc: S/MIME-cryptografische ondertekening
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20160311/e870a8c5/attachment-0001.bin>
More information about the Devel
mailing list