Public Member Functions | Public Attributes | List of all members
pqLinkedObjectPythonTextArea Struct Reference

pqLinkedObjectPythonTextArea implements the pqLinkedObjectInterface for a QTextEdit using the existing pqLinkedObjectQTextEdit as a parent. More...

#include <pqLinkedObjectPythonTextArea.h>

Inheritance diagram for pqLinkedObjectPythonTextArea:
Inheritance graph
[legend]
Collaboration diagram for pqLinkedObjectPythonTextArea:
Collaboration graph
[legend]

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< pqLinkedObjectInterfaceclone () 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

pqPythonTextAreaTextArea
 
- 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
pqLinkedObjectInterfaceConnectedTo = nullptr
 
QMetaObject::Connection Connection
 
bool SettingText = false
 

Detailed Description

pqLinkedObjectPythonTextArea implements the pqLinkedObjectInterface for a QTextEdit using the existing pqLinkedObjectQTextEdit as a parent.

Definition at line 18 of file pqLinkedObjectPythonTextArea.h.

Constructor & Destructor Documentation

◆ pqLinkedObjectPythonTextArea() [1/3]

pqLinkedObjectPythonTextArea::pqLinkedObjectPythonTextArea ( )
delete

◆ pqLinkedObjectPythonTextArea() [2/3]

pqLinkedObjectPythonTextArea::pqLinkedObjectPythonTextArea ( pqPythonTextArea textArea)
explicitnoexcept

Constructor that takes a reference to the pqPythonTextArea as an argument and stores it in the structure.

◆ pqLinkedObjectPythonTextArea() [3/3]

pqLinkedObjectPythonTextArea::pqLinkedObjectPythonTextArea ( const pqLinkedObjectPythonTextArea other)
inlineexplicitnoexcept

Copy constructor.

Definition at line 31 of file pqLinkedObjectPythonTextArea.h.

◆ ~pqLinkedObjectPythonTextArea()

pqLinkedObjectPythonTextArea::~pqLinkedObjectPythonTextArea ( )
overridedefaultnoexcept

Default destructor.

Member Function Documentation

◆ clone()

std::unique_ptr<pqLinkedObjectInterface> pqLinkedObjectPythonTextArea::clone ( ) const
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.

◆ link()

void pqLinkedObjectPythonTextArea::link ( pqLinkedObjectInterface other)
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.

Member Data Documentation

◆ TextArea

pqPythonTextArea& pqLinkedObjectPythonTextArea::TextArea

Definition at line 61 of file pqLinkedObjectPythonTextArea.h.


The documentation for this struct was generated from the following file: