File indexing completed on 2024-05-12 08:54:24

0001 /*
0002     SPDX-FileCopyrightText: 2007 Jean-Baptiste Mardelle <jb@kdenlive.org>
0003     SPDX-FileCopyrightText: 2013 Jean-Nicolas Artaud <jeannicolasartaud@gmail.com>
0004 
0005     SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0006 */
0007 
0008 #pragma once
0009 
0010 #include <QDialog>
0011 
0012 class QListWidget;
0013 
0014 class InvalidDialog : public QDialog
0015 {
0016     Q_OBJECT
0017 
0018 public:
0019     explicit InvalidDialog(const QString &caption, const QString &message, bool infoOnly, QWidget *parent = nullptr);
0020     ~InvalidDialog() override;
0021 
0022     void addClip(const QString &id, const QString &path);
0023     QStringList getIds() const;
0024 
0025 private:
0026     QListWidget *m_clipList;
0027 };