LibrePCB Developers Documentation
PlainTextEdit Class Referencefinal

The PlainTextEdit class is a customized QPlainTextEdit. More...

#include <plaintextedit.h>

Inherits QPlainTextEdit.

+ Collaboration diagram for PlainTextEdit:

Signals

void editingFinished ()
 

Public Member Functions

 PlainTextEdit (QWidget *parent=nullptr) noexcept
 
 PlainTextEdit (const PlainTextEdit &other)=delete
 
 ~PlainTextEdit () noexcept
 
PlainTextEditoperator= (const PlainTextEdit &rhs)=delete
 

Private Member Functions

void focusInEvent (QFocusEvent *e) noexcept override
 
void focusOutEvent (QFocusEvent *e) noexcept override
 

Private Attributes

QString mPlainTextBeforeGettingFocus
 

Detailed Description

The PlainTextEdit class is a customized QPlainTextEdit.

Differences compared to QPlainTextEdit:

Constructor & Destructor Documentation

◆ PlainTextEdit() [1/2]

PlainTextEdit ( QWidget *  parent = nullptr)
explicitnoexcept

◆ PlainTextEdit() [2/2]

PlainTextEdit ( const PlainTextEdit other)
delete

◆ ~PlainTextEdit()

~PlainTextEdit ( )
noexcept

Member Function Documentation

◆ operator=()

PlainTextEdit& operator= ( const PlainTextEdit rhs)
delete

◆ editingFinished

void editingFinished ( )
signal
+ Here is the caller graph for this function:

◆ focusInEvent()

void focusInEvent ( QFocusEvent *  e)
overrideprivatenoexcept

◆ focusOutEvent()

void focusOutEvent ( QFocusEvent *  e)
overrideprivatenoexcept

Member Data Documentation

◆ mPlainTextBeforeGettingFocus

QString mPlainTextBeforeGettingFocus
private

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