Added session selection id in ExportDialog

This commit is contained in:
Mathieu Labbe
2015-04-16 13:44:54 -04:00
parent 32f7a6665e
commit b48bd7cf70
5 changed files with 79 additions and 5 deletions

View File

@@ -41,6 +41,7 @@ ExportDialog::ExportDialog(QWidget * parent) :
connect(_ui->toolButton_path, SIGNAL(clicked()), this, SLOT(getPath()));
connect(_ui->spinBox_ignored, SIGNAL(valueChanged(int)), this, SIGNAL(configChanged()));
connect(_ui->spinBox_session, SIGNAL(valueChanged(int)), this, SIGNAL(configChanged()));
connect(_ui->checkBox_rgb, SIGNAL(stateChanged(int)), this, SIGNAL(configChanged()));
connect(_ui->checkBox_depth, SIGNAL(stateChanged(int)), this, SIGNAL(configChanged()));
connect(_ui->checkBox_depth2d, SIGNAL(stateChanged(int)), this, SIGNAL(configChanged()));
@@ -73,6 +74,11 @@ int ExportDialog::framesIgnored() const
return _ui->spinBox_ignored->value();
}
int ExportDialog::sessionExported() const
{
return _ui->spinBox_session->value();
}
bool ExportDialog::isRgbExported() const
{
return _ui->checkBox_rgb->isChecked();