[SailfishDevel] Button

jollailija at gmail.com jollailija at gmail.com
Fri Mar 11 15:09:45 UTC 2016


So you want to force users to donate before they can use the app? I wouldn't call that donating. That's paying for the software.

Anyway, an user can just click on the button, close browser and come back without donating, so you might want to rethink your UI logic and business model.

Rudi Timmermans kirjoitti pe maaliskuuta 11 15:34:48 2016 GMT+0200:
> Yes i know but this is not what i one have it can the button Facebook 
> can only be used when the have clicked on donation and not always 
> enabled. So when the dont have clicked on donation the facebook button 
> should not have been clickable when the have clicked on donation then 
> the facebook button should have to be enabled.
> 
> Vriendelijke groeten,
> 
> Rudi Timmermans.
> 
> Op 11-03-16 om 13:13 schreef r0kk3rz:
> > You have "enabled: false" on the facebook button. But no logic to 
> > active that button for any reason.
> >
> > On Fri, Mar 11, 2016 at 11:19 AM, Rudi Timmermans <rudi.timmer at gmx.us 
> > <mailto:rudi.timmer at gmx.us>> wrote:
> >
> >     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&currency_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.
> >
> >
> >
> >     _______________________________________________
> >     SailfishOS.org Devel mailing list
> >     To unsubscribe, please send a mail to
> >     devel-unsubscribe at lists.sailfishos.org
> >     <mailto:devel-unsubscribe at lists.sailfishos.org>
> >
> >
> >
> >
> > _______________________________________________
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
> 
>

-- 
Lähetetty Jollastani


More information about the Devel mailing list