Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Slots | Protected Attributes | Properties | List of all members
TOPPASLogWindow Class Reference

QTextEdit implementation with a "clear" button in the context menu. More...

#include <OpenMS/VISUAL/TOPPASLogWindow.h>

Inheritance diagram for TOPPASLogWindow:
QTextEdit

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
 

Detailed Description

QTextEdit implementation with a "clear" button in the context menu.

Constructor & Destructor Documentation

◆ TOPPASLogWindow()

TOPPASLogWindow ( QWidget parent = 0)

Constructor.

◆ ~TOPPASLogWindow()

Destructor.

Member Function Documentation

◆ contextMenuEvent()

void contextMenuEvent ( QContextMenuEvent *  e)
protected

◆ maxLength()

int maxLength ( ) const

read max_length

◆ setMaxLength()

void setMaxLength ( int  max_length)

set max_length

Referenced by TOPPASBase::TOPPASBase().

◆ trimText_

void trimText_ ( )
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_

Member Data Documentation

◆ max_length_

int max_length_
protected

Members:

Property Documentation

◆ max_length

int max_length
readwrite

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:13 using doxygen 1.8.13