View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1312
Originally Posted by Wikiwide View Post
Quick question...
Has anybody recently started modrana-qml on N900 from X-Terminal? Because it seems to give a lot of errors about failing to load an icon - because rWin.mTheme is equal to "" instead of "default", and the path becomes "image://icons//name.png". I would say that rWin is somehow not loaded in time. But I cannot be sure.
Thanks for the pointer - looks like I'm getting it too. The weird thing is that the icons actually show in the GUI. Anyway, I'll investigate.

BTW, rWin is the variable than contains the root window, which is currently instantiated from qml_harmattan/main.qml

Originally Posted by Wikiwide View Post
I have also been trying to get the "menu" icon to show the mode - train, bicycle, bus, whatever - similarly to GTK UI, and rWin.mode seems to be undefined...
Best wishes.
Good idea! The root window has no mode property yet, but as mode indeed is an important connect in modRana, I'll add a new property that exposes it to QML in an easy to use way.

BTW, I've also integrated + extended your multi-layer idea (the code is already on Github) and I'm getting it ready for release.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 3 Users Say Thank You to MartinK For This Useful Post: