OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::PlainTextEdit Class Reference

#include "PlainTextEdit.h"

Inheritance diagram for ot::PlainTextEdit:
ot::QWidgetInterface ot::TextEditor

Public Slots

void slotTextChanged (void)
 

Public Member Functions

 PlainTextEdit (QWidget *_parent=(QWidget *) nullptr)
 
virtual ~PlainTextEdit ()
 
virtual QWidget * getQWidget (void) override
 Returns a pointer to the root widget of this object.
 
virtual const QWidget * getQWidget (void) const override
 
void setAutoScrollToBottomEnabled (bool _enabled)
 
bool isAutoScrollToBottomEnabled (void) const
 
void scrollToBottom (void)
 
- Public Member Functions inherited from ot::QWidgetInterface
 QWidgetInterface ()
 
virtual ~QWidgetInterface ()
 
void setOTWidgetFlags (const WidgetFlags &_flags)
 
const WidgetFlagsotWidgetFlags (void) const
 

Additional Inherited Members

- Protected Member Functions inherited from ot::QWidgetInterface
virtual void otWidgetFlagsChanged (const WidgetFlags &_flags)
 

Constructor & Destructor Documentation

◆ PlainTextEdit()

ot::PlainTextEdit::PlainTextEdit ( QWidget * _parent = (QWidget*)nullptr)

◆ ~PlainTextEdit()

ot::PlainTextEdit::~PlainTextEdit ( )
virtual

Member Function Documentation

◆ getQWidget() [1/2]

virtual const QWidget * ot::PlainTextEdit::getQWidget ( void ) const
inlineoverridevirtual

Implements ot::QWidgetInterface.

◆ getQWidget() [2/2]

virtual QWidget * ot::PlainTextEdit::getQWidget ( void )
inlineoverridevirtual

Returns a pointer to the root widget of this object.

Implements ot::QWidgetInterface.

◆ isAutoScrollToBottomEnabled()

bool ot::PlainTextEdit::isAutoScrollToBottomEnabled ( void ) const
inline

◆ scrollToBottom()

void ot::PlainTextEdit::scrollToBottom ( void )

◆ setAutoScrollToBottomEnabled()

void ot::PlainTextEdit::setAutoScrollToBottomEnabled ( bool _enabled)

◆ slotTextChanged

void ot::PlainTextEdit::slotTextChanged ( void )
slot

The documentation for this class was generated from the following files: