Re: [SailfishDevel] Translate

2015-06-29 Thread coderusinbox
Hi, Do anyone know how i can translate a JS string ? I hope there is a easy way ;) This is the code function budgetTypeToString(type) { var str; switch (type) { case BUDGET_TYPE_DAILY: str = "daily"; break; case BUDGET_TYPE_WEEKLY: str = "weekly"

Re: [SailfishDevel] Translation

2015-06-27 Thread coderusinbox
Hi, I like to translate a the word debug from a section how can i do that ? When i use QsTR this dont work Code: } ListElement { page: "ToolsPage.qml" title: QT_TR_NOOP("Tools") subtitle: "Misc. tools for testing the application"

Re: [SailfishDevel] Provide onLinkActiviated in DetailItem.value?

2015-06-27 Thread coderusinbox
On Sat 27, June 07:20:52 Giuliettasw wrote: > Onclick? There is no such slot neither :-( -- Andrea ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org __

Re: [SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-12 Thread coderusinbox
check mce dbus. There is should be a method bot unblanking screen. Sent from Windows Mail From: Thomas Tanghus Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎5‎:‎32‎ ‎PM To: devel@lists.sailfishos.org Firstly: *Sorry for the noise* On Friday 12 June 2015 10:46:56 coderusin...@gmail.com wrote

Re: [SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-12 Thread coderusinbox
What example you want? For me just appWindow.activate() works. And I have no idea what wrong with my mail. Using builtin Win8.1 mail client. Sent from Windows Mail From: Thomas Tanghus Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎3‎:‎17‎ ‎PM To: devel@lists.sailfishos.org On Friday 12 June

Re: [SailfishDevel] Problem with playing sounds in first application

2015-06-12 Thread coderusinbox
You check it first. Implementation may vary in different OSes Sent from Windows Mail From: Thomas Tanghus Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎3‎:‎10‎ ‎PM To: devel@lists.sailfishos.org On Friday 12 June 2015 02:21:10 coderusin...@gmail.com wrote: > Please use SoundEffect class for t

Re: [SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-12 Thread coderusinbox
Works for me flawlessly. If you’re using Emulator just ignore bugs you founding. Sent from Windows Mail From: Thomas Tanghus Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎3‎:‎00‎ ‎PM To: devel@lists.sailfishos.org It still does nothing. And anyways when being in ApplicationWindow context it

Re: [SailfishDevel] Problem with playing sounds in first application

2015-06-11 Thread coderusinbox
Please use SoundEffect class for that: http://doc.qt.io/qt-5/qml-qtmultimedia-soundeffect.html Sent from Windows Mail From: Thomas Tanghus Sent: ‎Thursday‎, ‎June‎ ‎11‎, ‎2015 ‎11‎:‎06‎ ‎PM To: devel@lists.sailfishos.org On Tuesday 03 February 2015 23:13:44 Luis Manuel Ramos Da Cos

Re: [SailfishDevel] ApplicationWindow.activate() does nothing

2015-06-11 Thread coderusinbox
you should call app.activate() Sent from Windows Mail From: Thomas Tanghus Sent: ‎Friday‎, ‎June‎ ‎12‎, ‎2015 ‎4‎:‎51‎ ‎AM To: devel@lists.sailfishos.org Hi The documentation says: activate() Brings the application in full-screen mode to the foreground. But absolutely nothi