File indexing completed on 2024-12-22 04:40:07
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 JOINSUBTITLESDIALOG_H 0009 #define JOINSUBTITLESDIALOG_H 0010 0011 #include "selectablesubtitledialog.h" 0012 #include "core/time.h" 0013 0014 QT_FORWARD_DECLARE_CLASS(QCheckBox) 0015 QT_FORWARD_DECLARE_CLASS(QPushButton) 0016 class TimeEdit; 0017 0018 namespace SubtitleComposer { 0019 class JoinSubtitlesDialog : public SelectableSubtitleDialog 0020 { 0021 Q_OBJECT 0022 0023 public: 0024 explicit JoinSubtitlesDialog(QWidget *parent = 0); 0025 0026 Time shiftTime() const; 0027 0028 void show() override; 0029 0030 private slots: 0031 void setShiftTimeFromVideo(); 0032 0033 private: 0034 TimeEdit *m_shiftTimeEdit; 0035 QPushButton *m_shiftTimeFromVideoButton; 0036 QCheckBox *m_shiftSubtitleCheckBox; 0037 }; 0038 } 0039 #endif