Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
clippropertiesdialog.h
Go to the documentation of this file.
1 #ifndef CLIPPROPERTIESDIALOG_H
2 #define CLIPPROPERTIESDIALOG_H
3 
4 #include <QDialog>
5 #include <QLineEdit>
6 
7 #include "timeline/clip.h"
8 #include "ui/labelslider.h"
9 
16 class ClipPropertiesDialog : public QDialog {
17  Q_OBJECT
18 public:
29  ClipPropertiesDialog(QWidget* parent, QVector<Clip*> clips);
30 protected:
34  virtual void accept() override;
35 private:
39  QVector<Clip*> clips_;
40 
44  QLineEdit* clip_name_field_;
45 
50 };
51 
52 #endif // CLIPPROPERTIESDIALOG_H
LabelSlider * duration_field_
Widget for setting the Clip durations.
Definition: clippropertiesdialog.h:49
The LabelSlider class.
Definition: labelslider.h:33
virtual void accept() override
Accept override. Saves the current properties to the array of Clips.
Definition: clippropertiesdialog.cpp:87
The ClipPropertiesDialog class.
Definition: clippropertiesdialog.h:16
QLineEdit * clip_name_field_
Widget for setting the Clip names.
Definition: clippropertiesdialog.h:44
ClipPropertiesDialog(QWidget *parent, QVector< Clip * > clips)
ClipPropertiesDialog Constructor.
Definition: clippropertiesdialog.cpp:10
QVector< Clip * > clips_
Internal clip array (set in the constructor)
Definition: clippropertiesdialog.h:39