Commit 87166815 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: convert, close #4523

parent 0d3c7767
......@@ -102,8 +102,10 @@ ConvertDialog::ConvertDialog( QWidget *parent, intf_thread_t *_p_intf,
mainLayout->addWidget( buttonBox, 5, 3 );
BUTTONACT( okButton, close() );
BUTTONACT( cancelButton, cancel() );
BUTTONACT(okButton,close());
BUTTONACT(cancelButton,cancel());
CONNECT(dumpBox,toggled(bool),this,dumpChecked(bool));
}
void ConvertDialog::fileBrowse()
......@@ -148,3 +150,9 @@ void ConvertDialog::close()
accept();
}
void ConvertDialog::dumpChecked( bool checked )
{
deinterBox->setEnabled( !checked );
displayBox->setEnabled( !checked );
profile->setEnabled( !checked );
}
......@@ -49,6 +49,7 @@ private slots:
virtual void close();
virtual void cancel();
void fileBrowse();
void dumpChecked(bool);
};
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment