Customizing KFileDialog Open/Save button text

Friedrich W. H. Kossebau kossebau at kde.org
Fri Oct 17 17:38:13 BST 2008


Am Freitag, 17. Oktober 2008, um 10:24 Uhr, schrieb Aurélien Gâteau:
> Hello,
>
> One of Gwenview features is the ability to easily organize images using
> the file system. To do so it uses a KFileDialog in save mode to let the
> user select the destination folder.
>
> I recently received a bug report [1] suggesting to change the label of
> the "accept" button in the dialog from "Save" to "Copy" or "Move",
> depending on the action.

Or "Export". Or "Create". Or...

> I think it makes sense, but this is not possible right now in
> KFileDialog. Would you agree to add a setAcceptButtonText(const
> QString&) method to KFileDialog?

I agree. And will use it for the Export filedialog in Okteta :)

Friedrich
-- 
Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta




More information about the kde-core-devel mailing list