switched from QTextEdit to QPlainTextEdit for efficiency reasons. Furthermore it allows to limit the block size.

This commit is contained in:
2018-07-10 16:22:46 +02:00
parent 0882d2c854
commit 98051779d5
2 changed files with 6 additions and 5 deletions

View File

@@ -34,7 +34,7 @@
#include <QProcess>
#include <QDialog>
#include <QVBoxLayout>
#include <QTextEdit>
#include <QPlainTextEdit>
#include <QPushButton>
#include <QMessageBox>
#include <QVector>
@@ -66,7 +66,7 @@ private:
QProcess *fProc; ///< pointer to the musrfit process
QVBoxLayout *fVbox; ///< pointer to the dialog layout manager
QTextEdit *fOutput; ///< the captured musrfit output is written (read only) into this text edit object.
QPlainTextEdit *fOutput; ///< the captured musrfit output is written (read only) into this text edit object.
QPushButton *fQuitButton; ///< quit button, either to interrupt the fit or to close the dialog at the end of the fit.
};