Re: Using a system-default File Dialog in QML

2013-04-14 Thread Michał 'rysiek' Woźniak
Dnia sobota, 13 kwietnia 2013 o 19:56:25 Michał 'rysiek' Woźniak napisał(a): > Hi again, > > I managed to load and show the dialog, now am having problems > handling the signals. What is the correct way of handling them? I > tried: > (...) Okay, got it. Sorry for bothering you guys. The magic in

Re: Using a system-default File Dialog in QML

2013-04-13 Thread Michał 'rysiek' Woźniak
Hi again, I managed to load and show the dialog, now am having problems handling the signals. What is the correct way of handling them? I tried: fd = new SaveFileDialog() fd.onAccepted = function(fd) { console.log('exportTaskConfig(): file dialog accepted') console.log('+- file selected: ' +

Re: Using a system-default File Dialog in QML

2013-04-13 Thread Michał 'rysiek' Woźniak
Dnia sobota, 13 kwietnia 2013 o 19:07:59 Michał 'rysiek' Woźniak napisał(a): > Dnia sobota, 13 kwietnia 2013 o 18:52:09 Shaun Reich napisał(a): > > through javascript. be sure to have your .desktop extension > > enabled: > > > > http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/A >

Re: Using a system-default File Dialog in QML

2013-04-13 Thread Michał 'rysiek' Woźniak
Dnia sobota, 13 kwietnia 2013 o 18:52:09 Shaun Reich napisał(a): > through javascript. be sure to have your .desktop extension > enabled: > > http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API > -FileDialog Great, thanks! Dnia sobota, 13 kwietnia 2013 o 18:51:37 Djuro Drljaca na

Re: Using a system-default File Dialog in QML

2013-04-13 Thread Shaun Reich
through javascript. be sure to have your .desktop extension enabled: http://techbase.kde.org/Development/Tutorials/Plasma/JavaScript/API-FileDialog On Sat, Apr 13, 2013 at 12:45 PM, Michał 'rysiek' Woźniak wrote: > Hi there, > > I can't find a way to use a standard, system-default file dialog i

Re: Using a system-default File Dialog in QML

2013-04-13 Thread Djuro Drljaca
Hello, as far as I know this is not possible "directly" ... but you can probably create a c++ component that does this and then import it to QML. Regards, Djuro Drljaca On Sat, Apr 13, 2013 at 6:45 PM, Michał 'rysiek' Woźniak wrote: > Hi there, > > I can't find a way to use a standard, system-

Using a system-default File Dialog in QML

2013-04-13 Thread Michał 'rysiek' Woźniak
Hi there, I can't find a way to use a standard, system-default file dialog in QML. Is there a way? All I was able to find were ways to implement one in QML, which seems an overkill and a bad idea from the usability perspective (users are accustomed to their system-default file dialogs). -- P