 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
int maxLength() const
read max_length
A log window (QTextEdit) with convenience functions.
Definition: LogWindow.h:53
void appendNewHeader(const LogState state, const String &heading, const String &body)
appends a new block with heading and a body
LogWindow(QWidget *parent)
Default constructor.
Notice.
Definition: LogWindow.h:63
A more convenient string class.
Definition: String.h:58
Fatal error.
Definition: LogWindow.h:65
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
int max_length
Definition: LogWindow.h:57
void trimText_()
if text length reached max_length_, then delete prefix until length of text is 1/2 of max_length_
LogState
Log message states.
Definition: LogWindow.h:61
void contextMenuEvent(QContextMenuEvent *event) override
Warning.
Definition: LogWindow.h:64
void addNewline()
appends a line break (same as append(""))
int max_length_
-1 by default, which means there is no maximum length
Definition: LogWindow.h:93
void setMaxLength(int max_length)
set max_length
void appendText(const QString &text)
appends text without adding line breaks and shows the log-window