pqLinkedObjectPythonTextArea implements the pqLinkedObjectInterface for a QTextEdit using the existing pqLinkedObjectQTextEdit as a parent. More...
#include <pqLinkedObjectPythonTextArea.h>
Public Member Functions | |
pqLinkedObjectPythonTextArea ()=delete | |
pqLinkedObjectPythonTextArea (pqPythonTextArea &textArea) noexcept | |
Constructor that takes a reference to the pqPythonTextArea as an argument and stores it in the structure. More... | |
pqLinkedObjectPythonTextArea (const pqLinkedObjectPythonTextArea &other) noexcept | |
Copy constructor. More... | |
~pqLinkedObjectPythonTextArea () noexcept override=default | |
Default destructor. More... | |
std::unique_ptr< pqLinkedObjectInterface > | clone () const override |
Constructs a new instance of pqLinkedObjectPythonTextArea using the default copy constructor of this class. More... | |
void | link (pqLinkedObjectInterface *other) override |
Link this object to the other. More... | |
Public Member Functions inherited from pqLinkedObjectQTextEdit | |
pqLinkedObjectQTextEdit ()=delete | |
Default constructor is deleted. More... | |
pqLinkedObjectQTextEdit (QTextEdit &textEdit) noexcept | |
Constructor that takes the QTextEdit as parameter. More... | |
pqLinkedObjectQTextEdit (const pqLinkedObjectQTextEdit &other) noexcept | |
Copy constructor. More... | |
~pqLinkedObjectQTextEdit () noexcept override | |
Destructor that unlink this object on deletion. More... | |
void | unlink () override |
Unlink this object with the other. More... | |
void | setText (const QString &txt) override |
See pqLinkedObjectInterface::setText. More... | |
QString | getText () const override |
See pqLinkedObjectInterface::getText. More... | |
QObject * | getLinked () const noexcept override |
See pqLinkedObjectInterface::getLinked. More... | |
QString | getName () const override |
See pqLinkedObjectInterface::getName. More... | |
Public Member Functions inherited from pqLinkedObjectInterface | |
pqLinkedObjectInterface ()=default | |
Default constructor. More... | |
pqLinkedObjectInterface (const pqLinkedObjectInterface &)=default | |
Copy constructor needed for the clone method. More... | |
virtual | ~pqLinkedObjectInterface () noexcept=default |
Default virtual destructor. More... | |
bool | isLinked () const noexcept |
Returns true if this object is connected to another one. More... | |
Public Attributes | |
pqPythonTextArea & | TextArea |
Public Attributes inherited from pqLinkedObjectQTextEdit | |
QTextEdit & | TextEdit |
Additional Inherited Members | |
Public Types inherited from pqLinkedObjectInterface | |
enum | QtSignalState : bool { QtSignalState::On = true, QtSignalState::Off = false } |
Used to trigger on and off an object signal. More... | |
Protected Attributes inherited from pqLinkedObjectInterface | |
pqLinkedObjectInterface * | ConnectedTo = nullptr |
QMetaObject::Connection | Connection |
bool | SettingText = false |
pqLinkedObjectPythonTextArea implements the pqLinkedObjectInterface for a QTextEdit using the existing pqLinkedObjectQTextEdit as a parent.
Definition at line 18 of file pqLinkedObjectPythonTextArea.h.
|
delete |
|
explicitnoexcept |
Constructor that takes a reference to the pqPythonTextArea as an argument and stores it in the structure.
|
inlineexplicitnoexcept |
Copy constructor.
Definition at line 31 of file pqLinkedObjectPythonTextArea.h.
|
overridedefaultnoexcept |
Default destructor.
|
inlineoverridevirtual |
Constructs a new instance of pqLinkedObjectPythonTextArea using the default copy constructor of this class.
Reimplemented from pqLinkedObjectQTextEdit.
Definition at line 50 of file pqLinkedObjectPythonTextArea.h.
|
overridevirtual |
Link this object to the other.
Note that the link is established if and only if the given pqLinkedObjectInterface is no empty.
Reimplemented from pqLinkedObjectQTextEdit.
pqPythonTextArea& pqLinkedObjectPythonTextArea::TextArea |
Definition at line 61 of file pqLinkedObjectPythonTextArea.h.