File indexing completed on 2024-06-16 04:38:17

0001 /*
0002     SPDX-FileCopyrightText: 2007-2009 Sergio Pistone <sergio_pistone@yahoo.com.ar>
0003     SPDX-FileCopyrightText: 2010-2022 Mladen Milinkovic <max@smoothware.net>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef FIXOVERLAPPINGTIMESDIALOG_H
0009 #define FIXOVERLAPPINGTIMESDIALOG_H
0010 
0011 #include "actionwithtargetdialog.h"
0012 #include "core/time.h"
0013 
0014 QT_FORWARD_DECLARE_CLASS(QSpinBox)
0015 
0016 namespace SubtitleComposer {
0017 class FixOverlappingTimesDialog : public ActionWithTargetDialog
0018 {
0019 public:
0020     FixOverlappingTimesDialog(QWidget *parent = 0);
0021 
0022     Time minimumInterval() const;
0023     void setMinimumInterval(const Time &time);
0024 
0025 private:
0026     QSpinBox *m_minIntervalSpinBox;
0027 };
0028 }
0029 #endif