Skip to content

Some extra classes and utilities to make QML even more awesome

License

Notifications You must be signed in to change notification settings

koloboid/qml-extras

 
 

Repository files navigation

QML Extras

Join the chat at https://gitter.im/papyros/qml-material

License GitHub release Build Status GitHub issues Bountysource

Extra types and utilities to make QML even more awesome.

Brought to you by the Papyros development team.

Install

qmake
make check
make install

Example

Promise:

import QtQuick 2.3
import Material.Extras 0.1

Item {
    function makePromise() {
        var myvalue = "";

        var promise = new Promises.Promse();
        promise.info.myinfo = "cool info";
        promise.then(function( data, info ) {
                // send data to the next step
                return info.myinfo + " " + data;
        });

        promise.done(function( data, info ) {
                // do something with the data of resolve(...)
        });

        promise.error(function( error, info ) {
                // do something with the data of reject(...)
        });
    }
}

Licensing

QML Extras is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

About

Some extra classes and utilities to make QML even more awesome

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 50.3%
  • QML 46.9%
  • C++ 1.9%
  • Other 0.9%