File indexing completed on 2024-05-19 04:55:07
0001 /* 0002 SPDX-FileCopyrightText: 2008 Jean-Baptiste Mardelle <jb@kdenlive.org> 0003 0004 SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #pragma once 0008 0009 #include "definitions.h" 0010 #include "utils/timecode.h" 0011 #include "widgets/timecodedisplay.h" 0012 #include "ui_spacerdialog_ui.h" 0013 0014 /** @class SpacerDialog 0015 @brief A dialog to specify length and track of inserted space. 0016 @author Jean-Baptiste Mardelle 0017 */ 0018 class SpacerDialog : public QDialog, public Ui::SpacerDialog_UI 0019 { 0020 Q_OBJECT 0021 0022 public: 0023 SpacerDialog(const GenTime &duration, const Timecode &tc, QWidget *parent = nullptr); 0024 GenTime selectedDuration() const; 0025 int selectedTrack() const; 0026 bool affectAllTracks() const; 0027 0028 private: 0029 TimecodeDisplay m_in; 0030 };