1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : slide show tool using preview of pictures.
9
* Copyright (C) 2005-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
* This program is free software; you can redistribute it
12
* and/or modify it under the terms of the GNU General
13
* Public License as published by the Free Software Foundation;
14
* either version 2, or (at your option)
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
22
* ============================================================ */
33
#include "digikam_export.h"
34
#include "loadingdescription.h"
35
#include "slideshowsettings.h"
43
class DIGIKAM_EXPORT SlideShow : public QWidget
49
SlideShow(const SlideShowSettings& settings);
52
void setCurrent(const KURL& url);
56
void paintEvent(QPaintEvent *);
57
void mousePressEvent(QMouseEvent *);
58
void mouseMoveEvent(QMouseEvent *);
59
void keyPressEvent(QKeyEvent *);
60
void wheelEvent(QWheelEvent *);
65
void slotMouseMoveTimeOut();
66
void slotGotImagePreview(const LoadingDescription &, const DImg &);
78
void preloadNextImage();
80
void printInfoText(QPainter &p, int &offset, const QString& str);
81
void printComments(QPainter &p, int &offset, const QString& comments);
88
} // NameSpace Digikam
90
#endif /* SLIDE_SHOW_H */