The SpeedDialog class.
More...
#include <speeddialog.h>
|
virtual int | exec () override |
| Override of exec() to set up current Clip speed data just before opening. More...
|
|
The SpeedDialog class.
A dialog for setting the speed of one or more Clips. This can be run from anywhere provided it's given a valid array of Clips.
It's preferable to
SpeedDialog::SpeedDialog |
( |
QWidget * |
parent, |
|
|
QVector< Clip * > |
clips |
|
) |
| |
SpeedDialog Constructor.
- Parameters
-
parent | QWidget parent. Usually MainWindow or Timeline panel. |
clips | A valid array of Clips to change the speed of. |
void SpeedDialog::accept |
( |
| ) |
|
|
overrideprivatevirtualslot |
Override of accept() to perform the selected changes on the Clips.
void SpeedDialog::duration_update |
( |
| ) |
|
|
privateslot |
Slot when the duration field is changed by the user.
The three fields (percent, duration, and frame rate) all work in tandem to create a speed multipler for the Clip. Each has a slot for when one of the fields changes to update the others appropriately so they all have the same speed multipler.
int SpeedDialog::exec |
( |
| ) |
|
|
overridevirtualslot |
Override of exec() to set up current Clip speed data just before opening.
- Returns
The result of QDialog::exec(), a DialogCode result.
void SpeedDialog::frame_rate_update |
( |
| ) |
|
|
privateslot |
Slot when the frame rate field is changed by the user.
The three fields (percent, duration, and frame rate) all work in tandem to create a speed multipler for the Clip. Each has a slot for when one of the fields changes to update the others appropriately so they all have the same speed multipler.
void SpeedDialog::percent_update |
( |
| ) |
|
|
privateslot |
Slot when the speed percentage field is changed by the user.
The three fields (percent, duration, and frame rate) all work in tandem to create a speed multipler for the Clip. Each has a slot for when one of the fields changes to update the others appropriately so they all have the same speed multipler.
QVector<Clip*> SpeedDialog::clips_ |
|
private |
Internal array of Clip objects.
QCheckBox* SpeedDialog::maintain_pitch |
|
private |
UI widget for setting the Clip's maintain pitch value.
QCheckBox* SpeedDialog::reverse |
|
private |
UI widget for setting the Clip's reverse value.
QCheckBox* SpeedDialog::ripple |
|
private |
UI widget for setting whether to ripple Clips around these changes or not.
The documentation for this class was generated from the following files: