digiKam
Loading...
Searching...
No Matches
timeadjustsettings.h
Go to the documentation of this file.
1/* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2004-05-16
7 * Description : time adjust settings widget.
8 *
9 * SPDX-FileCopyrightText: 2012 by Smit Mehta <smit dot meh at gmail dot com>
10 * SPDX-FileCopyrightText: 2006-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
11 *
12 * SPDX-License-Identifier: GPL-2.0-or-later
13 *
14 * ============================================================ */
15
16#pragma once
17
18// Qt includes
19
20#include <QScrollArea>
21
22// Local includes
23
24#include "digikam_export.h"
25#include "timeadjustcontainer.h"
26
27namespace Digikam
28{
29
30class TimeAdjustContainer;
31
32class DIGIKAM_EXPORT TimeAdjustSettings : public QScrollArea
33{
34 Q_OBJECT
35
36public:
37
38 explicit TimeAdjustSettings(QWidget* const parent, bool timeAdjustTool = false);
39 ~TimeAdjustSettings() override;
40
41public:
42
43 void setSettings(const TimeAdjustContainer& settings);
44 TimeAdjustContainer settings() const;
45 void detAdjustmentByClockPhotoUrl(const QUrl& url);
46 void setCurrentItemUrl(const QUrl& url);
47
48Q_SIGNALS:
49
53
54private Q_SLOTS:
55
56 void slotUseExifToolChanged();
57 void slotSrcTimestampChanged();
58 void slotResetDateToCurrent();
59 void slotAdjustmentTypeChanged();
60 void slotDetAdjustmentByClockPhotoDialog();
61 void slotDetAdjustmentByClockPhotoUrl(const QUrl& url);
62
63private:
64
65 class Private;
66 Private* const d = nullptr;
67};
68
69} // namespace Digikam
Definition timeadjustcontainer.h:34
Definition timeadjustsettings.h:33
Definition datefolderview.cpp:34