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

#include "BaseControl.h"

Inheritance diagram for QtHandles::BaseControl:
Collaboration diagram for QtHandles::BaseControl:

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

 BaseControl (const graphics_object &go, QWidget *w)
 ~BaseControl (void)
bool eventFilter (QObject *watched, QEvent *e)
ContainerinnerContainer (void)
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 (QWidget *w, bool callBase=false)
void init (QObject *obj, bool callBase=false)
virtual void print (const QString &file_cmd, const QString &term)
virtual void redraw (void)
void update (int pId)

Static Protected Member Functions

static ObjectparentObject (const graphics_object &go)

Protected Attributes

graphics_object m_go
graphics_handle m_handle

Private Attributes

bool m_keyPressHandlerDefined
bool m_normalizedFont

Detailed Description

Definition at line 34 of file BaseControl.h.

Constructor & Destructor Documentation

◆ BaseControl()

QtHandles::BaseControl::BaseControl ( const graphics_object go,
QWidget w 

Definition at line 91 of file

References init(), and Faddeeva::w().

◆ ~BaseControl()

QtHandles::BaseControl::~BaseControl ( void  )

Definition at line 120 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 QtHandles::Object::slotUpdate().

◆ eventFilter()

◆ finalize()

void QtHandles::Object::finalize ( void  )

Definition at line 136 of file

References QtHandles::Object::m_qobject.

Referenced by QtHandles::Object::slotFinalize().

◆ fromQObject()

◆ init() [1/2]

◆ init() [2/2]

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

Definition at line 51 of file

References QtHandles::Object::m_qobject, and QtHandles::Object::objectDestroyed().

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

◆ innerContainer()

Container* QtHandles::BaseControl::innerContainer ( void  )

Implements QtHandles::Object.

Definition at line 40 of file BaseControl.h.

◆ object()

◆ objectDestroyed

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

Definition at line 158 of file

References QtHandles::Object::m_qobject.

Referenced by QtHandles::Object::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 QtHandles::Object::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 QtHandles::Object::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 QtHandles::Object::slotRedraw().

◆ slotFinalize

void QtHandles::Object::slotFinalize ( void  )

Definition at line 106 of file

References QtHandles::Object::finalize().

◆ slotPrint

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

Definition at line 123 of file

References QtHandles::Object::print().

◆ slotRedraw

void QtHandles::Object::slotRedraw ( void  )

Definition at line 114 of file

References QtHandles::Object::redraw().

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

◆ slotUpdate

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

◆ update()

Member Data Documentation

◆ m_go

graphics_object QtHandles::Object::m_go

Definition at line 108 of file Object.h.

Referenced by QtHandles::Object::object().

◆ m_handle

◆ m_keyPressHandlerDefined

bool QtHandles::BaseControl::m_keyPressHandlerDefined

Definition at line 50 of file BaseControl.h.

Referenced by eventFilter(), init(), and update().

◆ m_normalizedFont

bool QtHandles::BaseControl::m_normalizedFont

Definition at line 49 of file BaseControl.h.

Referenced by eventFilter(), init(), and update().

◆ m_qobject

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