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, ...@@ -102,8 +102,10 @@ ConvertDialog::ConvertDialog( QWidget *parent, intf_thread_t *_p_intf,
mainLayout->addWidget( buttonBox, 5, 3 ); mainLayout->addWidget( buttonBox, 5, 3 );
BUTTONACT( okButton, close() ); BUTTONACT(okButton,close());
BUTTONACT( cancelButton, cancel() ); BUTTONACT(cancelButton,cancel());
CONNECT(dumpBox,toggled(bool),this,dumpChecked(bool));
} }
void ConvertDialog::fileBrowse() void ConvertDialog::fileBrowse()
...@@ -148,3 +150,9 @@ void ConvertDialog::close() ...@@ -148,3 +150,9 @@ void ConvertDialog::close()
accept(); accept();
} }
void ConvertDialog::dumpChecked( bool checked )
{
deinterBox->setEnabled( !checked );
displayBox->setEnabled( !checked );
profile->setEnabled( !checked );
}
...@@ -49,6 +49,7 @@ private slots: ...@@ -49,6 +49,7 @@ private slots:
virtual void close(); virtual void close();
virtual void cancel(); virtual void cancel();
void fileBrowse(); void fileBrowse();
void dumpChecked(bool);
}; };
#endif #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