[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] Re: Savefile dialog (QFileDialog.getSaveFileName).
From: Lukáš Lalinský <lalinsky () gmail ! com>
Date: 2006-08-23 8:53:06
Message-ID: ech50p$qpa$1 () sea ! gmane ! org
[Download RAW message or body]
kakada wrote:
> your solution is detecting the filename if it exist or not, but not the
> button (Save or Cancel).
> Because if your filename isEmpty, either do you click OK nor Cancel;as
> the result, you always get "No file selected"
I believe the function doesn't let you to click OK with an empty file name.
http://doc.trolltech.com/4.1/qfiledialog.html#getOpenFileName
"If the user presses Cancel, it returns a null string."
-Lukáš
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic