digiKam
Loading...
Searching...
No Matches
showfotosetup.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 : 2005-04-02
7 * Description : showFoto setup dialog.
8 *
9 * SPDX-FileCopyrightText: 2005-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15#pragma once
16
17// Local includes
18
19#include "digikam_config.h"
20#include "dconfigdlg.h"
21
22using namespace Digikam;
23
24namespace ShowFoto
25{
26
28{
29 Q_OBJECT
30
31public:
32
33 enum Page
34 {
36
43
44#ifdef HAVE_GEOLOCATION
45
46 GeolocationPage,
47
48#endif
49
52
54 };
55
56public:
57
58 explicit ShowfotoSetup(QWidget* const parent = nullptr, Page page = LastPageUsed);
59 ~ShowfotoSetup() override;
60
61 static bool execMetadataFilters(QWidget* const parent, int tab);
62 static bool execExifTool(QWidget* const parent);
63
64 static bool execLocalize(QWidget* const parent);
65
69 static bool execSinglePage(Page page);
70 static bool execSinglePage(QWidget* const parent, Page page);
71
72#ifdef HAVE_GEOLOCATION
73
74 static bool execGeolocation(QWidget* const parent, int tab);
75
76#endif
77
78 static void onlineVersionCheck();
79
80private Q_SLOTS:
81
82 void slotOkClicked();
83 void slotCancelClicked();
84 void slotHelp();
85
86private:
87
88 ShowfotoSetup::Page activePageIndex();
89 void showPage(ShowfotoSetup::Page page);
90
91private:
92
93 class Private;
94 Private* const d = nullptr;
95};
96
97} // namespace ShowFoto
A dialog base class which can handle multiple pages.
Definition dconfigdlg.h:49
Definition showfotosetup.h:28
static void onlineVersionCheck()
Definition showfotosetup.cpp:590
Page
Definition showfotosetup.h:34
@ MetadataPage
Definition showfotosetup.h:38
@ EditorPage
Definition showfotosetup.h:37
@ IOFilesPage
Definition showfotosetup.h:41
@ ToolTipPage
Definition showfotosetup.h:39
@ RawPage
Definition showfotosetup.h:40
@ PluginsPage
Definition showfotosetup.h:50
@ MiscellaneousPage
Definition showfotosetup.h:51
@ LastPageUsed
Definition showfotosetup.h:35
@ SetupPageEnumLast
Definition showfotosetup.h:53
@ ICCPage
Definition showfotosetup.h:42
static bool execLocalize(QWidget *const parent)
Definition showfotosetup.cpp:562
static bool execMetadataFilters(QWidget *const parent, int tab)
Definition showfotosetup.cpp:506
static bool execExifTool(QWidget *const parent)
Definition showfotosetup.cpp:534
~ShowfotoSetup() override
Definition showfotosetup.cpp:213
static bool execSinglePage(Page page)
Definition showfotosetup.cpp:457
Definition datefolderview.cpp:34
Definition showfotofolderviewbar.cpp:43