On the available library that can be used in QML

I found the following reference in QML

text: Qt.formatDate(ListItemData, "ddd, MMM d, yyyy")

Can someone be able to summarize the other libraries like Qt, which can be used directly beside QML?

Thank you

You can use most of the global JavaScript stuff (Math, number, String) which is not dependent on a browser environment.

You can use the global object of Qt this formatDate() routine where, although many of these functions are not useful (for example color ones) cascading: http://doc.qt.digia.com/stable/qml-qt.html#qmlglobalqtobject

I don't know if there is an exhaustive list. I took notes once after exploring:

* eval() parseInt(), parseFloat(), isNaN(), isFinite()
* escape(), unescape(), decodeURI(), decodeURIComponent(), encodeURI(), encodeURIComponent()
* print(), gc()?
* Object, function, array, Boolean, String, number, Date, RegExp
Error, EvalError, RangeError, ReferenceError, SyntaxError,
TypeError, URIError
* console.log () and console.debug () (difference?)
* qsTranslate(), qsTr() and friends

Some people are standard JavaScript. Some come from Qt. It is also an object Application, probably from stunts himself but maybe Qt.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • Why FF spends CPU both on google search results?

    I have the problem that Firefox spends more than 10% of CPU on the display of a static page like google search results. I use Firefox on a late 2012, MacBook Pro and the constant use of the CPU so drains the battery and produces a lot of heat after s

  • HP Pavilion m4-1001TX: startup problems

    Hello! My laptop is a HP Pavilion m4-1001TX. Recently, I updated my Windows laptop, 10 OS. Subsequently, I met problems white screen, which was resolved by resets hard (as suggested by various forums).A week ago, I met the same problem. However, I tr

  • Satellite A300-231 Ram Extention

    I have a Toshiba Satellite A300-231 and I want to install 2 x 4 GB DDR3 - 1333 so-Dimm Ram... I want to know if it will work with the 1333 Mhz ram... Thanks in advance for your help.Haris.

  • My iPhone 4S is stuck in restore mode

    I went to restore my iPhone 4s, because I forgot my restriction password. I used the my MacPro laptop with the latest version of iTunes and the Mac OS software. I can't find the serial number because I can't get on the iPhone. I can't open the chip b

  • T430s - BSOD (of driver power state failure). Please help identify the driver

    I meet regularly with BSOD on my T430s / Win7 when switching mode standby (Fn + F4). The error message is driver_power_state_failure. This happens almost every day. Driving me crazy! I know it's a common problem (I also had with a former T500, but no