GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
QtHandles::Object Class Referenceabstract

#include "Object.h"

Inheritance diagram for QtHandles::Object:
Collaboration diagram for QtHandles::Object:

Public Slots

void objectDestroyed (QObject *obj=nullptr)
void slotFinalize (void)
void slotPrint (const QString &file_cmd, const QString &term)
void slotRedraw (void)
void slotUpdate (int pId)

Public Member Functions

 Object (const graphics_object &go, QObject *obj=nullptr)
virtual ~Object (void)
virtual ContainerinnerContainer (void)=0
graphics_object object (void) const
base_propertiesproperties (void)
const base_propertiesproperties (void) const
template<typename T >
T::properties & properties (void)
template<typename T >
const T::properties & properties (void) const
virtual QObjectqObject (void)
template<typename T >
T * qWidget (void)

Static Public Member Functions

static ObjectfromQObject (QObject *obj)

Protected Member Functions

virtual void beingDeleted (void)
virtual void finalize (void)
void init (QObject *obj, bool callBase=false)
virtual void print (const QString &file_cmd, const QString &term)
virtual void redraw (void)
virtual void update (int pId)

Static Protected Member Functions

static ObjectparentObject (const graphics_object &go)

Protected Attributes

graphics_object m_go
graphics_handle m_handle

Detailed Description

Definition at line 40 of file Object.h.

Constructor & Destructor Documentation

◆ Object()

QtHandles::Object::Object ( const graphics_object go,
QObject obj = nullptr 

Definition at line 37 of file

References init(), m_handle, and octave_handle::value().

◆ ~Object()

QtHandles::Object::~Object ( void  )

Definition at line 68 of file

Member Function Documentation

◆ beingDeleted()

void QtHandles::Object::beingDeleted ( void  )

Reimplemented in QtHandles::Figure, and QtHandles::ToolBar.

Definition at line 155 of file

Referenced by slotUpdate().

◆ finalize()

void QtHandles::Object::finalize ( void  )

Definition at line 136 of file

References m_qobject.

Referenced by slotFinalize().

◆ fromQObject()

◆ init()

void QtHandles::Object::init ( QObject obj,
bool  callBase = false 

Definition at line 51 of file

References m_qobject, and objectDestroyed().

Referenced by QtHandles::BaseControl::init(), and Object().

◆ innerContainer()

◆ object()

◆ objectDestroyed

void QtHandles::Object::objectDestroyed ( QObject obj = nullptr)

Definition at line 158 of file

References m_qobject.

Referenced by init().

◆ parentObject()

◆ print()

void QtHandles::Object::print ( const QString &  file_cmd,
const QString &  term 

Reimplemented in QtHandles::Figure.

Definition at line 151 of file

Referenced by slotPrint().

◆ properties() [1/4]

◆ properties() [2/4]

const base_properties& QtHandles::Object::properties ( void  ) const

Definition at line 52 of file Object.h.

References graphics_object::get_properties(), and object().

◆ properties() [3/4]

template<typename T >
T::properties& QtHandles::Object::properties ( void  )

◆ properties() [4/4]

template<typename T >
const T::properties& QtHandles::Object::properties ( void  ) const

◆ qObject()

virtual QObject* QtHandles::Object::qObject ( void  )

◆ qWidget()

template<typename T >
T* QtHandles::Object::qWidget ( void  )

◆ redraw()

void QtHandles::Object::redraw ( void  )

Reimplemented in QtHandles::Figure, QtHandles::ButtonGroup, and QtHandles::Panel.

Definition at line 147 of file

Referenced by slotRedraw().

◆ slotFinalize

void QtHandles::Object::slotFinalize ( void  )

Definition at line 106 of file

References finalize().

◆ slotPrint

void QtHandles::Object::slotPrint ( const QString &  file_cmd,
const QString &  term 

Definition at line 123 of file

References print().

◆ slotRedraw

void QtHandles::Object::slotRedraw ( void  )

Definition at line 114 of file

References redraw().

Referenced by QtHandles::Figure::redraw().

◆ slotUpdate

void QtHandles::Object::slotUpdate ( int  pId)

Definition at line 85 of file

References beingDeleted(), and update().

Referenced by QtHandles::ObjectProxy::update().

◆ update()

Member Data Documentation

◆ m_go

graphics_object QtHandles::Object::m_go

Definition at line 108 of file Object.h.

Referenced by object().

◆ m_handle

◆ m_qobject

QObject* QtHandles::Object::m_qobject

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