![]() |
OpenMS
2.5.0
|
QTextEdit implementation with a "clear" button in the context menu. More...
#include <OpenMS/VISUAL/TOPPASLogWindow.h>
Public Member Functions | |
| TOPPASLogWindow (QWidget *parent=nullptr) | |
| Constructor. More... | |
| ~TOPPASLogWindow () override | |
| Destructor. More... | |
| int | maxLength () const |
| read max_length More... | |
| void | setMaxLength (int max_length) |
| set max_length More... | |
Properties | |
| int | max_length |
Reimplemented Qt events | |
| int | max_length_ |
| Members: More... | |
| void | contextMenuEvent (QContextMenuEvent *e) override |
| void | trimText_ () |
| -1 by default, which means there is no maximum length More... | |
QTextEdit implementation with a "clear" button in the context menu.
| TOPPASLogWindow | ( | QWidget * | parent = nullptr | ) |
Constructor.
|
override |
Destructor.
|
overrideprotected |
| int maxLength | ( | ) | const |
read max_length
| void setMaxLength | ( | int | max_length | ) |
set max_length
Referenced by TOPPASBase::TOPPASBase().
|
protectedslot |
-1 by default, which means there is no maximum length
if text length reached max_length_, then delete prefix until length of text is 1/2 of max_length_
|
protected |
Members:
|
readwrite |
1.8.16