File indexing completed on 2025-03-09 03:58:53
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2012-12-19 0007 * Description : Workflow properties dialog. 0008 * 0009 * SPDX-FileCopyrightText: 2012-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_BQM_WORK_FLOW_DLG_H 0016 #define DIGIKAM_BQM_WORK_FLOW_DLG_H 0017 0018 // Qt includes 0019 0020 #include <QDateTime> 0021 #include <QString> 0022 #include <QStringList> 0023 #include <QDialog> 0024 0025 // Locale includes 0026 0027 #include "workflowmanager.h" 0028 0029 namespace Digikam 0030 { 0031 0032 class WorkflowDlg : public QDialog 0033 { 0034 Q_OBJECT 0035 0036 public: 0037 0038 explicit WorkflowDlg(const Workflow& wf, bool create = false); 0039 ~WorkflowDlg() override; 0040 0041 QString title() const; 0042 QString description() const; 0043 0044 public: 0045 0046 static bool editProps(Workflow& wf); 0047 static bool createNew(Workflow& wf); 0048 0049 private Q_SLOTS: 0050 0051 void slotTitleChanged(); 0052 void slotHelp(); 0053 0054 private: 0055 0056 // Disable 0057 explicit WorkflowDlg(QWidget*) = delete; 0058 0059 private: 0060 0061 class Private; 0062 Private* const d; 0063 }; 0064 0065 } // namespace Digikam 0066 0067 #endif // DIGIKAM_BQM_WORK_FLOW_DLG_H