#include "timecodedisplay.h"
#include "definitions.h"
-class SpacerDialog : public QDialog
+/**
+ * @class SpacerDialog
+ * @brief A dialog to specify length and track of inserted space.
+ * @author Jean-Baptiste Mardelle
+ */
+
+class SpacerDialog : public QDialog, public Ui::SpacerDialog_UI
{
Q_OBJECT
public:
- SpacerDialog(const GenTime duration, Timecode tc, int track, QList <TrackInfo> tracks, QWidget * parent = 0);
- GenTime selectedDuration();
- int selectedTrack();
+ SpacerDialog(const GenTime &duration, const Timecode &tc, int track, const QList <TrackInfo>& tracks, QWidget * parent = 0);
+ GenTime selectedDuration() const;
+ int selectedTrack() const;
private:
- Ui::SpacerDialog_UI m_view;
TimecodeDisplay m_in;
};