Skip to content
Snippets Groups Projects
Commit 1740bc4a authored by Langella Olivier's avatar Langella Olivier
Browse files

Zivy parameters are working

parent 9a08bc72
No related branches found
Tags xtpcpp_0.2.31-2
No related merge requests found
......@@ -267,7 +267,7 @@
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<widget class="ZivyWidget" name="widget_2" native="true"/>
<widget class="ZivyWidget" name="zivyParamWidget" native="true"/>
</item>
</layout>
</widget>
......
......@@ -46,7 +46,7 @@ ExportMasschroqDialog::ExportMasschroqDialog(QWidget *parent)
ui->directorySelectWidget->setHidden(true);
ui->msrunFilepathOkLabel->setHidden(true);
ui->warningDirectoryLabel->setStyleSheet("QLabel { color : red; }");
#if QT_VERSION >= 0x050000
......@@ -74,6 +74,11 @@ void
ExportMasschroqDialog::setMasschroqFileParameters(
const MasschroqFileParameters &params)
{
ZivyParams zivy_params;
zivy_params.loadSettings();
ui->zivyParamWidget->setZivyParams(zivy_params);
ui->outputFileEdit->setText(params.result_file_name);
ui->outputFileFormatComboBox->setCurrentText("ODS");
if(params.result_file_format == TableFileFormat::tsv)
......@@ -159,6 +164,8 @@ ExportMasschroqDialog::accept()
if(error_message.isEmpty())
{
ZivyParams zivy_params = ui->zivyParamWidget->getZivyParams();
zivy_params.saveSettings();
QDialog::accept();
}
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment