[SailfishDevel] Accept only filled Dialog
sailfishmail
sailfishmail at denden.pw
Sat Oct 4 18:52:05 UTC 2014
I think the validator property will help you; search for "qml using validators" or similar. Or http://qt-project.org/doc/qt-4.8/texthandling.html and the "acceptableInput" property of TextInput.
Andrey Kozhevnikov kirjoitti Sat Oct 04 2014 21:40:48 GMT+0300 (EEST):
> something like this: http://pastebin.com/Vv0PcrJA
>
> 05.10.2014 00:14, Cernunnos Wynand пишет:
> > Hi,
> >
> > I have the following code for a dialog which will only be accepted if it
> > has been completely filled out: http://pastebin.com/WUpHhxJh
> >
> > I find this a bit cumbersome. Does anyone have suggestions or
> > improvements?
> >
> > Cernunnos
> >
> >
> > _______________________________________________
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>
>
--
More information about the Devel
mailing list