Dialog of saving options now re-tell what mesh are you going to save

This commit is contained in:
Paolo Cignoni cignoni 2010-11-30 08:49:05 +00:00
parent 073ebfef5a
commit d48790efea
2 changed files with 2 additions and 7 deletions

View File

@ -48,11 +48,12 @@ void SaveMaskExporterDialog::InitDialog()
ui->renametextureButton->setDisabled(true);
stdParFrame = new StdParFrame(this,glar);
stdParFrame->loadFrameContent(*parSet);
stdParFrame->loadFrameContent(*parSet);
QVBoxLayout *vbox = new QVBoxLayout(this);
vbox->addWidget(stdParFrame);
ui->saveParBox->setLayout(vbox);
this->setWindowTitle("Choose Saving Options for: '"+m->label()+"'");
// Show the additional parameters only for formats that have some.
if(parSet->isEmpty()) ui->saveParBox->hide();
else ui->saveParBox->show();
@ -261,11 +262,6 @@ void SaveMaskExporterDialog::SlotSelectionNoneButton()
ui->check_iom_camera->setChecked(false);
}
void SaveMaskExporterDialog::SetTitleDialog( const QString& filename )
{
this->setWindowTitle("Exporting Parameters Options for " + filename);
}
void SaveMaskExporterDialog::on_check_help_stateChanged(int)
{
stdParFrame->toggleHelp();

View File

@ -55,7 +55,6 @@ public:
void SetTextureName();
int GetNewMask();
void SetMaskCapability();
void SetTitleDialog(const QString& filename);
private slots:
void on_check_help_stateChanged(int);