File indexing completed on 2024-05-12 12:20:51
0001 /* SPDX-FileCopyrightText: 2003-2020 The KPhotoAlbum Development Team 0002 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 #ifndef FEATUREDIALOG_H 0006 #define FEATUREDIALOG_H 0007 0008 #include <QDialog> 0009 #include <QTextBrowser> 0010 0011 namespace MainWindow 0012 { 0013 0014 class FeatureDialog : public QDialog 0015 { 0016 Q_OBJECT 0017 0018 public: 0019 explicit FeatureDialog(QWidget *parent); 0020 0021 QSize sizeHint() const override; 0022 0023 static bool hasAllFeaturesAvailable(); 0024 static QString featureString(); 0025 static QStringList supportedVideoMimeTypes(); 0026 static QString ffmpegBinary(); 0027 static QString ffprobeBinary(); 0028 /** 0029 * @brief hasVideoThumbnailer 0030 * @return true, if a program capable of creating video thumbnails is found, false otherwise 0031 */ 0032 static bool hasVideoThumbnailer(); 0033 /** 0034 * @brief hasVideoProber 0035 * @return true, if a program capable of extracting video metadata is found, false otherwise 0036 */ 0037 static bool hasVideoProber(); 0038 0039 protected: 0040 static bool hasPurposeSupport(); 0041 static bool hasEXIV2Support(); 0042 static bool hasEXIV2DBSupport(); 0043 static bool hasGeoMapSupport(); 0044 }; 0045 } 0046 0047 #endif /* FEATUREDIALOG_H */ 0048 0049 // vi:expandtab:tabstop=4 shiftwidth=4: