File indexing completed on 2025-01-05 03:58:23
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2009-28-04 0007 * Description : first run assistant dialog 0008 * 0009 * SPDX-FileCopyrightText: 2009-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0010 * 0011 * SPDX-License-Identifier: GPL-2.0-or-later 0012 * 0013 * ============================================================ */ 0014 0015 #ifndef DIGIKAM_FIRST_RUN_DLG_H 0016 #define DIGIKAM_FIRST_RUN_DLG_H 0017 0018 // Qt includes 0019 0020 #include <QString> 0021 #include <QWidget> 0022 #include <QWizard> 0023 0024 // Local includes 0025 0026 #include "digikam_export.h" 0027 #include "dbengineparameters.h" 0028 0029 namespace Digikam 0030 { 0031 0032 class DIGIKAM_GUI_EXPORT FirstRunDlg : public QWizard 0033 { 0034 Q_OBJECT 0035 0036 public: 0037 0038 explicit FirstRunDlg(QWidget* const parent = nullptr); 0039 ~FirstRunDlg() override; 0040 0041 QString firstAlbumPath() const; 0042 DbEngineParameters getDbEngineParameters() const; 0043 0044 private: 0045 0046 bool validateCurrentPage() override; 0047 0048 private Q_SLOTS: 0049 0050 void slotFinishPressed(); 0051 void slotHelp(); 0052 0053 private: 0054 0055 class Private; 0056 Private* const d; 0057 }; 0058 0059 } // namespace Digikam 0060 0061 #endif // DIGIKAM_FIRST_RUN_DLG_H