Olive
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
dialogs
mediapropertiesdialog.h
Go to the documentation of this file.
1
/***
2
3
Olive - Non-Linear Video Editor
4
Copyright (C) 2019 Olive Team
5
6
This program is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with this program. If not, see <http://www.gnu.org/licenses/>.
18
19
***/
20
21
#ifndef MEDIAPROPERTIESDIALOG_H
22
#define MEDIAPROPERTIESDIALOG_H
23
24
#include <QDialog>
25
#include <QComboBox>
26
#include <QLineEdit>
27
#include <QListWidget>
28
#include <QDoubleSpinBox>
29
#include <QCheckBox>
30
31
#include "
project/footage.h
"
32
#include "
project/media.h
"
33
40
class
MediaPropertiesDialog
:
public
QDialog {
41
Q_OBJECT
42
public
:
54
MediaPropertiesDialog
(QWidget *parent,
Media
* i);
55
private
:
59
QComboBox*
interlacing_box
;
60
64
QLineEdit*
name_box
;
65
69
Media
*
item
;
70
74
QListWidget*
track_list
;
75
79
QDoubleSpinBox*
conform_fr
;
80
84
QCheckBox*
premultiply_alpha_setting
;
85
private
slots:
89
void
accept
();
90
};
91
92
#endif // MEDIAPROPERTIESDIALOG_H
MediaPropertiesDialog::premultiply_alpha_setting
QCheckBox * premultiply_alpha_setting
Setting for associated/premultiplied alpha.
Definition:
mediapropertiesdialog.h:84
MediaPropertiesDialog::accept
void accept()
Overridden accept function for saving the properties back to the Media class.
Definition:
mediapropertiesdialog.cpp:146
MediaPropertiesDialog::name_box
QLineEdit * name_box
Media name text field.
Definition:
mediapropertiesdialog.h:64
media.h
footage.h
MediaPropertiesDialog::MediaPropertiesDialog
MediaPropertiesDialog(QWidget *parent, Media *i)
MediaPropertiesDialog Constructor.
Definition:
mediapropertiesdialog.cpp:40
MediaPropertiesDialog::track_list
QListWidget * track_list
A list widget for listing the tracks in Media.
Definition:
mediapropertiesdialog.h:74
MediaPropertiesDialog::interlacing_box
QComboBox * interlacing_box
ComboBox for interlacing setting.
Definition:
mediapropertiesdialog.h:59
Media
Definition:
media.h:45
MediaPropertiesDialog::conform_fr
QDoubleSpinBox * conform_fr
Frame rate to conform to.
Definition:
mediapropertiesdialog.h:79
MediaPropertiesDialog
The MediaPropertiesDialog class.
Definition:
mediapropertiesdialog.h:40
MediaPropertiesDialog::item
Media * item
Internal pointer to Media object (set in constructor)
Definition:
mediapropertiesdialog.h:69
Generated by
1.8.5