[Kde-imaging] Implementation of the album dialog

Jesper K. Pedersen blackie at blackie.dk
Sun May 2 19:05:44 CEST 2004


On Sunday 02 May 2004 18:08, Aurelien Gateau wrote:
| Hi!
|
| I just implemented a simple version of the album dialog I was talking about
| a few days ago. It lacks some polishing like a proper size, a thumbnail
| preview and maybe an "External image" button, but it works. Here is a shot
| of it:
|
| http://bugkiller.free.fr/tmp/calendar_album_dialog.png
|
| The API is very simple:
|
| class AlbumDialog : public KDialogBase {
| Q_OBJECT
| public:
|     AlbumDialog(QWidget*, KIPI::Interface*);
|     KURL url() const { return url_; }
|     static KURL getImageURL(QWidget*, KIPI::Interface*);
| }
|
| So you can replace all your KFileDialog calls with:
|
| AlbumDialog::getImageURL(parent, interface)
|
| For now I wrote it in the calendar plugin dir, but it might be usefull to
| put it in KIPI. What do you think?
Yes indeed, this should be in KIPI


More information about the Kde-imaging mailing list