[Solved] How to create reusable UI control using JavaScript [closed]

Look into javascript templating. See mustache.js for one example. e.g. <script type=”text/template” id=”template”> {{#elements}} <div id=”{{id}}”> {{content}} </div> {{/elements}} </script> And your JavaScript: var view = { “elements”: [ { id: “one”, content: “Lorem ipsum dolor” }, { id: “two”, content: “Sit amet consectetur” } ] } var template = document.getElementById(“template”).innerHTML; var output = Mustache.render(template, … Read more

[Solved] I have 4 days, should I learn QT or Java swing? [closed]

Qt is my vote, too. The examples and info in the links below should get you well on your way to your solution. http://www.youtube.com/watch?v=92biLZST6Vg http://qt-project.org/doc/qt-4.8/phonon-qmusicplayer.html http://qt-project.org/doc/qt-4.8/qfilesystemmodel.html PS, After installing Qt and Qt Creator, it has fantastic documentation and great examples and tutorials easily accessed from the IDE, on the Welcome tab. solved I have 4 … Read more

[Solved] Can I design a button like the one given in pic using Kivy? [closed]

Are the above things possible with Kivy? The answer is simply ‘yes’. Do you have a specific context that you’re having trouble with? You simply need to create your own widget rule that displays things the way you want. It might start as something like <[email protected]>: text: ‘something’ # define a property to hold the … Read more

[Solved] How to create geometric shapes in html

I’m sure there are more elegant ways to accomplish what you’re looking for, but it can be accomplished using SVG, z-Index, Opacity and Clipping. Run the code and I think you’ll see it matches. The colors might not be exact but they’re close enough to show you what goes where. You can also separate the … Read more