Using a system-default File Dialog in QML

Michał 'rysiek' Woźniak rysiek at fwioo.pl
Sun Apr 14 12:02:33 UTC 2013


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 incantation that 
got the job done was:

fd = new SaveFileDialog()
      
function fdAccepted(fdlg) {
  console.log('exportTaskConfig(): file dialog accepted')
  console.log('+- file selected: ' + fdlg.file)
}

fd.accepted.connect(fdAccepted)

-- 
Pozdrawiam
Michał "rysiek" Woźniak

Fundacja Wolnego i Otwartego Oprogramowania
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130414/ea10bec5/attachment.sig>


More information about the Plasma-devel mailing list