MatrixFunctionDialog ported from KDialog to QDialog.

Authored by fkristof on Oct 25 2017, 9:26 PM.