Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ClipPropertiesDialog Class Reference

The ClipPropertiesDialog class. More...

#include <clippropertiesdialog.h>

Inheritance diagram for ClipPropertiesDialog:

Public Member Functions

 ClipPropertiesDialog (QWidget *parent, QVector< Clip * > clips)
 ClipPropertiesDialog Constructor. More...
 

Protected Member Functions

virtual void accept () override
 Accept override. Saves the current properties to the array of Clips. More...
 

Private Attributes

QVector< Clip * > clips_
 Internal clip array (set in the constructor) More...
 
QLineEdit * clip_name_field_
 Widget for setting the Clip names. More...
 
LabelSliderduration_field_
 Widget for setting the Clip durations. More...
 

Detailed Description

The ClipPropertiesDialog class.

A dialog for setting Clip properties, accessible by right clicking a Clip and clicking "Properties". This can be run from anywhere provided it's given a valid array of Clip objects.

Constructor & Destructor Documentation

ClipPropertiesDialog::ClipPropertiesDialog ( QWidget *  parent,
QVector< Clip * >  clips 
)

ClipPropertiesDialog Constructor.

Parameters
parentParent widget.
clipsArray of Clip objects to set the properties of.

Member Function Documentation

void ClipPropertiesDialog::accept ( )
overrideprotectedvirtual

Accept override. Saves the current properties to the array of Clips.

Member Data Documentation

QLineEdit* ClipPropertiesDialog::clip_name_field_
private

Widget for setting the Clip names.

QVector<Clip*> ClipPropertiesDialog::clips_
private

Internal clip array (set in the constructor)

LabelSlider* ClipPropertiesDialog::duration_field_
private

Widget for setting the Clip durations.


The documentation for this class was generated from the following files: