File indexing completed on 2024-04-28 15:40:11
0001 // SPDX-FileCopyrightText: 2010-2022 Miika Turkia <miika.turkia@gmail.com> 0002 // 0003 // SPDX-License-Identifier: GPL-2.0-or-later 0004 0005 #ifndef AUTOSTACKIMAGES_H 0006 #define AUTOSTACKIMAGES_H 0007 0008 #include <QDialog> 0009 0010 class QCheckBox; 0011 class QSpinBox; 0012 class QRadioButton; 0013 0014 namespace DB 0015 { 0016 class FileNameList; 0017 } 0018 0019 namespace MainWindow 0020 { 0021 0022 class AutoStackImages : public QDialog 0023 { 0024 Q_OBJECT 0025 0026 public: 0027 AutoStackImages(QWidget *parent, const DB::FileNameList &list); 0028 0029 protected Q_SLOTS: 0030 void accept() override; 0031 0032 private: 0033 QCheckBox *m_matchingMD5; 0034 QCheckBox *m_matchingFile; 0035 QCheckBox *m_origTop; 0036 QCheckBox *m_continuousShooting; 0037 QRadioButton *m_autostackUnstack; 0038 QRadioButton *m_autostackSkip; 0039 QRadioButton *m_autostackDefault; 0040 QSpinBox *m_continuousThreshold; 0041 const DB::FileNameList &m_list; 0042 virtual void matchingMD5(DB::FileNameList &toBeShown); 0043 virtual void matchingFile(DB::FileNameList &toBeShown); 0044 virtual void continuousShooting(DB::FileNameList &toBeShown); 0045 }; 0046 } 0047 0048 #endif /* AUTOSTACKIMAGES_H */ 0049 // vi:expandtab:tabstop=4 shiftwidth=4: