1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : Time line sidebar tab contents.
9
* Copyright (C) 2007-2008 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
* ============================================================ */
24
#ifndef TIMELINEVIEW_H
25
#define TIMELINEVIEW_H
29
#include <qdatetime.h>
38
class TimeLineFolderView;
39
class TimeLineViewPriv;
41
class TimeLineView : public QWidget
47
TimeLineView(QWidget *parent=0);
50
TimeLineFolderView *folderView() const;
51
SearchTextBar* searchBar() const;
53
void setActive(bool val);
59
void createNewDateSearchAlbum(const QString& name);
60
bool checkName(QString& name);
61
bool checkAlbum(const QString& name) const;
66
void slotScrollBarValueChanged(int);
67
void slotRefDateTimeChanged();
68
void slotScaleChanged(int);
69
void slotTimeUnitChanged(int);
70
void slotCursorPositionChanged();
71
void slotSelectionChanged();
72
void slotResetSelection();
73
void slotSaveSelection();
74
void slotUpdateCurrentDateSearchAlbum();
75
void slotAlbumSelected(SAlbum*);
76
void slotCheckAboutSelection();
77
void slotRenameAlbum(SAlbum*);
84
} // NameSpace Digikam
86
#endif /* TIMELINEVIEW_H */