#include "PlainTextEdit.h"
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. | |
void | setAutoScrollToBottomEnabled (bool _enabled) |
bool | isAutoScrollToBottomEnabled (void) const |
void | scrollToBottom (void) |
![]() | |
QWidgetInterface () | |
virtual | ~QWidgetInterface () |
void | setOTWidgetFlags (const WidgetFlags &_flags) |
const WidgetFlags & | otWidgetFlags (void) const |
virtual void | otWidgetFlagsChanged (const WidgetFlags &_flags) |
void | centerOnParent (const QWidget *const _parentWidget) |
Centers this widget on the parent. If no parent is provided the widget will center on the screen. | |
QPoint | calculateCenterOnParentPos (const QWidget *const _parentWidget) |
Calculates the top left corner of this widget centered on the parent widget. If no parent is provided the widget will center on the screen. | |
Additional Inherited Members | |
![]() | |
WidgetFlags | m_widgetFlags |
ot::PlainTextEdit::PlainTextEdit | ( | QWidget * | _parent = (QWidget*)nullptr | ) |
|
virtual |
|
inlineoverridevirtual |
Returns a pointer to the root widget of this object.
Implements ot::QWidgetInterface.
|
inline |
void ot::PlainTextEdit::scrollToBottom | ( | void | ) |
void ot::PlainTextEdit::setAutoScrollToBottomEnabled | ( | bool | _enabled | ) |
|
slot |