/*************************************************************************** createslideshowclip.h - description ------------------- begin : Jul 2006 copyright : (C) 2006 by Jean-Baptiste Mardelle email : jb@ader.ch ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef SlideshowClip_H #define SlideshowClip_H #include <qwidget.h> #include <krestrictedline.h> #include <kdialogbase.h> #include <kurl.h> #include "gentime.h" #include "createslideshowclip_ui.h" namespace Gui { class KdenliveApp; /**Displays the a dialog to create a slideshow clip *@author Jean-Baptiste Mardelle */ 00038 class createSlideshowClip:public KDialogBase { Q_OBJECT public: createSlideshowClip(KdenliveApp * parent = 0, const char *name = 0); virtual ~createSlideshowClip(); QString selectedFolder() const; QString selectedExtension() const; QString ttl() const; QString description() const; bool isTransparent() const; bool hasCrossfade() const; bool loop() const; int imageCount() const; QString duration() const; void insertLuma(const QPixmap &pix, const QString &txt); bool useLuma() const; QString currentLuma() const; double softness() const; QString lumaDuration() const; private: createSlideshowClip_UI *clipChoice; int m_imageCount; KdenliveApp *m_app; private slots: void updateList(); void updateDuration(); void updateThumb(QListBoxItem *item); }; } // namespace Gui #endif