QTextEdit implementation with a "clear" button in the context menu. More...
#include <OpenMS/VISUAL/TOPPASLogWindow.h>
Public Member Functions | |
| TOPPASLogWindow (QWidget *parent=0) | |
| Constructor. More... | |
| ~TOPPASLogWindow () | |
| Destructor. More... | |
| int | maxLength () const |
| read max_length More... | |
| void | setMaxLength (int max_length) |
| set max_length More... | |
Protected Slots | |
| void | trimText_ () |
| -1 by default, which means there is no maximum length More... | |
Protected Member Functions | |
Reimplemented Qt events | |
| void | contextMenuEvent (QContextMenuEvent *e) |
Protected Attributes | |
| int | max_length_ |
| Members: More... | |
Properties | |
| int | max_length |
QTextEdit implementation with a "clear" button in the context menu.
| TOPPASLogWindow | ( | QWidget * | parent = 0 | ) |
Constructor.
| ~TOPPASLogWindow | ( | ) |
Destructor.
|
protected |
| 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 |
| OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:13 using doxygen 1.8.13 |