#include <media.h>
Public Member Functions | |
Media () | |
Footage * | to_footage () |
SequencePtr | to_sequence () |
void | set_icon (const QString &str) |
void | set_icon (const QIcon &ico) |
void | set_footage (FootagePtr f) |
void | set_sequence (SequencePtr s) |
void | set_folder () |
void | set_parent (Media *p) |
void | update_tooltip (const QString &error=nullptr) |
VoidPtr | to_object () |
int | get_type () |
const QString & | get_name () |
void | set_name (const QString &n) |
double | get_frame_rate (int stream=-1) |
int | get_sampling_rate (int stream=-1) |
void | appendChild (MediaPtr child) |
bool | setData (int col, const QVariant &value) |
Media * | child (int row) |
int | childCount () const |
int | columnCount () const |
QVariant | data (int column, int role) |
int | row () const |
Media * | parentItem () |
void | removeChild (int i) |
MediaPtr | get_shared_ptr (Media *m) |
QVector< Marker > & | get_markers () |
Public Attributes | |
bool | root |
int | temp_id |
int | temp_id2 |
Private Member Functions | |
QString | GetStringDuration () |
Private Attributes | |
int | type |
VoidPtr | object |
QList< MediaPtr > | children |
Media * | parent |
QString | folder_name |
QString | tooltip |
QIcon | icon |
Media::Media | ( | ) |
void Media::appendChild | ( | MediaPtr | child | ) |
Media * Media::child | ( | int | row | ) |
int Media::childCount | ( | ) | const |
int Media::columnCount | ( | ) | const |
QVariant Media::data | ( | int | column, |
int | role | ||
) |
double Media::get_frame_rate | ( | int | stream = -1 | ) |
QVector< Marker > & Media::get_markers | ( | ) |
const QString & Media::get_name | ( | ) |
int Media::get_sampling_rate | ( | int | stream = -1 | ) |
int Media::get_type | ( | ) |
|
private |
Media * Media::parentItem | ( | ) |
void Media::removeChild | ( | int | i | ) |
int Media::row | ( | ) | const |
void Media::set_folder | ( | ) |
void Media::set_footage | ( | FootagePtr | f | ) |
void Media::set_icon | ( | const QString & | str | ) |
void Media::set_icon | ( | const QIcon & | ico | ) |
void Media::set_name | ( | const QString & | n | ) |
void Media::set_parent | ( | Media * | p | ) |
void Media::set_sequence | ( | SequencePtr | s | ) |
bool Media::setData | ( | int | col, |
const QVariant & | value | ||
) |
Footage * Media::to_footage | ( | ) |
VoidPtr Media::to_object | ( | ) |
SequencePtr Media::to_sequence | ( | ) |
void Media::update_tooltip | ( | const QString & | error = nullptr | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
bool Media::root |
int Media::temp_id |
int Media::temp_id2 |
|
private |
|
private |