2 #include "ui_cctwqtsetupoutputdialog.h"
15 setAttribute(Qt::WA_DeleteOnClose);
20 ui->m_OutputFileName->setText(
m_Data->get_DataFileName());
21 ui->m_OutputDatasetName->setText(
m_Data->get_DataSetName());
22 ui->m_OutputCompression->setValue(
m_Data->get_Compression());
26 ui->m_OutputDimensionsX->setValue(dims.
x());
27 ui->m_OutputDimensionsY->setValue(dims.
y());
28 ui->m_OutputDimensionsZ->setValue(dims.
z());
32 ui->m_OutputChunkX->setValue(cksz.
x());
33 ui->m_OutputChunkY->setValue(cksz.
y());
34 ui->m_OutputChunkZ->setValue(cksz.
z());
38 ui->m_HDFOutputChunkX->setValue(hcksz.
x());
39 ui->m_HDFOutputChunkY->setValue(hcksz.
y());
40 ui->m_HDFOutputChunkZ->setValue(hcksz.
z());
45 ui->m_OversampleX->setValue(xform->get_OversampleX());
46 ui->m_OversampleY->setValue(xform->get_OversampleY());
47 ui->m_OversampleZ->setValue(xform->get_OversampleZ());
61 ui->m_OutputDimensionsY->value(),
62 ui->m_OutputDimensionsZ->value());
65 ui->m_OutputChunkY->value(),
66 ui->m_OutputChunkZ->value());
69 ui->m_HDFOutputChunkY->value(),
70 ui->m_HDFOutputChunkZ->value());
74 m_Data->set_Compression(
ui->m_OutputCompression->value());
76 m_Data->set_DataFileName(
ui->m_OutputFileName->text());
77 m_Data->set_DataSetName(
ui->m_OutputDatasetName->text());
79 m_Data->set_HDFChunkSize(hcksz);
84 xform->set_OversampleX(
ui->m_OversampleX->value());
85 xform->set_OversampleY(
ui->m_OversampleY->value());
86 xform->set_OversampleZ(
ui->m_OversampleZ->value());
96 QString path = QFileDialog::getSaveFileName(
this,
"Output File",
97 ui->m_OutputFileName->text());
99 if (path.length() > 0) {
100 ui->m_OutputFileName->setText(path);
Ui::CctwqtSetupOutputDialog * ui
CctwqtMainWindow * m_Window
~CctwqtSetupOutputDialog()
void setDimensions(CctwIntVector3D dim)
CctwIntVector3D dimensions
CctwTransformer * m_Transformer
void setChunkSize(CctwIntVector3D cksz)
CctwApplication * cctwApplication()
CctwIntVector3D chunkSize
CctwqtSetupOutputDialog(CctwqtMainWindow *parent, CctwChunkedData *data)
void doBrowseOutputFile()