File indexing completed on 2024-06-09 04:52:59

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 SYNCSUBTITLESDIALOG_H
0009 #define SYNCSUBTITLESDIALOG_H
0010 
0011 #include "selectablesubtitledialog.h"
0012 
0013 QT_FORWARD_DECLARE_CLASS(QRadioButton)
0014 
0015 namespace SubtitleComposer {
0016 class SyncSubtitlesDialog : public SelectableSubtitleDialog
0017 {
0018     Q_OBJECT
0019 
0020 public:
0021     explicit SyncSubtitlesDialog(QWidget *parent = 0);
0022 
0023     bool adjustToReferenceSubtitle() const;
0024     bool synchronizeToReferenceTimes() const;
0025 
0026 private:
0027     QRadioButton *m_adjustRadioButton;
0028     QRadioButton *m_synchronizeRadioButton;
0029 };
0030 }
0031 #endif