GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "Object.h"
Public Slots | |
void | objectDestroyed (QObject *obj=0) |
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=0) | |
virtual | ~Object (void) |
virtual Container * | innerContainer (void)=0 |
graphics_object | object (void) const |
base_properties & | properties (void) |
const base_properties & | properties (void) const |
template<class T > | |
T::properties & | properties (void) |
template<class T > | |
const T::properties & | properties (void) const |
virtual QObject * | qObject (void) |
template<class T > | |
T * | qWidget (void) |
Static Public Member Functions | |
static Object * | fromQObject (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 Object * | parentObject (const graphics_object &go) |
Protected Attributes | |
graphics_handle | m_handle |
QObject * | m_qobject |
QtHandles::Object::Object | ( | const graphics_object & | go, |
QObject * | obj = 0 |
||
) |
Definition at line 37 of file Object.cc.
References init(), m_handle, and octave_handle::value().
|
protectedvirtual |
Reimplemented in QtHandles::Figure, and QtHandles::ToolBar.
Definition at line 159 of file Object.cc.
Referenced by slotUpdate().
|
protectedvirtual |
Definition at line 181 of file Object.cc.
Referenced by QtHandles::Figure::redraw(), QtHandles::Container::resizeEvent(), QtHandles::ToolBar::ToolBar(), and QtHandles::Menu::updateSiblingPositions().
Definition at line 51 of file Object.cc.
References m_qobject, and objectDestroyed().
Referenced by QtHandles::BaseControl::init(), and Object().
|
pure virtual |
Implemented in QtHandles::Figure, QtHandles::ContextMenu, QtHandles::Menu, QtHandles::ToolBar, QtHandles::Panel, QtHandles::ToolBarButton< T >, QtHandles::ToolBarButton< uitoggletool >, QtHandles::ToolBarButton< uipushtool >, and QtHandles::BaseControl.
Referenced by QtHandles::CheckBoxControl::create(), QtHandles::ToggleButtonControl::create(), QtHandles::RadioButtonControl::create(), QtHandles::TextControl::create(), QtHandles::PushButtonControl::create(), QtHandles::SliderControl::create(), QtHandles::PopupMenuControl::create(), QtHandles::ListBoxControl::create(), QtHandles::EditControl::create(), QtHandles::Panel::create(), and QtHandles::Utils::figureCurrentPoint().
graphics_object QtHandles::Object::object | ( | void | ) | const |
Definition at line 73 of file Object.cc.
References gh_manager::get_object(), m_handle, and octave_handle::value().
Referenced by QtHandles::BaseControl::eventFilter(), QtHandles::Panel::eventFilter(), properties(), QtHandles::Figure::updateMenuBar(), QtHandles::Menu::updateSiblingPositions(), and QtHandles::SliderControl::valueChanged().
|
slot |
|
staticprotected |
Definition at line 170 of file Object.cc.
References gh_manager::get_object(), graphics_object::get_parent(), and QtHandles::Backend::toolkitObject().
Referenced by QtHandles::CheckBoxControl::create(), QtHandles::PushButtonControl::create(), QtHandles::TextControl::create(), QtHandles::PushTool::create(), QtHandles::RadioButtonControl::create(), QtHandles::ToggleButtonControl::create(), QtHandles::ToggleTool::create(), QtHandles::PopupMenuControl::create(), QtHandles::ListBoxControl::create(), QtHandles::SliderControl::create(), QtHandles::ToolBar::create(), QtHandles::ContextMenu::create(), QtHandles::Menu::create(), QtHandles::EditControl::create(), and QtHandles::Panel::create().
|
protectedvirtual |
Reimplemented in QtHandles::Figure.
Definition at line 154 of file Object.cc.
Referenced by slotPrint().
|
inline |
Definition at line 49 of file Object.h.
References graphics_object::get_properties(), and object().
Referenced by QtHandles::Panel::eventFilter(), QtHandles::Utils::figureCurrentPoint(), and QtHandles::Container::resizeEvent().
|
inline |
Definition at line 52 of file Object.h.
References graphics_object::get_properties(), and object().
|
inline |
Definition at line 56 of file Object.h.
References graphics_object::get_properties(), object(), and QtHandles::Utils::properties().
|
inline |
Definition at line 63 of file Object.h.
References graphics_object::get_properties(), object(), and QtHandles::Utils::properties().
|
inlinevirtual |
Definition at line 71 of file Object.h.
References m_qobject.
Referenced by QtHandles::Menu::create(), QtHandles::Panel::eventFilter(), QtHandles::ToolBar::eventFilter(), and qWidget().
|
inline |
Definition at line 74 of file Object.h.
References qObject().
Referenced by QtHandles::PushTool::create(), QtHandles::ToggleTool::create(), QtHandles::ContextMenu::create(), QtHandles::ToolBar::create(), QtHandles::ContextMenu::executeAt(), and QtHandles::Container::resizeEvent().
|
protectedvirtual |
Reimplemented in QtHandles::Figure, and QtHandles::Panel.
Definition at line 149 of file Object.cc.
Referenced by slotRedraw().
|
slot |
Definition at line 107 of file Object.cc.
References finalize().
|
slot |
|
slot |
Definition at line 115 of file Object.cc.
References redraw().
Referenced by QtHandles::Figure::redraw().
|
slot |
Definition at line 86 of file Object.cc.
References beingDeleted(), base_properties::ID_BEINGDELETED, and update().
Referenced by QtHandles::ObjectProxy::update().
|
protectedvirtual |
Reimplemented in QtHandles::Figure, QtHandles::ContextMenu, QtHandles::Menu, QtHandles::ToolBar, QtHandles::Panel, QtHandles::EditControl, QtHandles::BaseControl, QtHandles::ToolBarButton< T >, QtHandles::ToolBarButton< uitoggletool >, QtHandles::ToolBarButton< uipushtool >, QtHandles::ListBoxControl, QtHandles::PopupMenuControl, QtHandles::SliderControl, QtHandles::ButtonControl, QtHandles::PushButtonControl, QtHandles::PushTool, QtHandles::TextControl, and QtHandles::ToggleTool.
Definition at line 133 of file Object.cc.
Referenced by slotUpdate(), QtHandles::ToolBarButton< T >::update(), QtHandles::ToolBar::update(), QtHandles::Menu::update(), and QtHandles::ContextMenu::update().
|
protected |
Definition at line 100 of file Object.h.
Referenced by QtHandles::ContextMenu::aboutToHide(), QtHandles::ContextMenu::aboutToShow(), QtHandles::Menu::actionHovered(), QtHandles::Menu::actionTriggered(), QtHandles::Figure::autoAxes(), QtHandles::Figure::beingDeleted(), QtHandles::ButtonControl::clicked(), QtHandles::PushTool::clicked(), QtHandles::PopupMenuControl::currentIndexChanged(), QtHandles::EditControl::editingFinished(), QtHandles::BaseControl::eventFilter(), QtHandles::Figure::eventNotifyBefore(), QtHandles::Figure::Figure(), QtHandles::ListBoxControl::itemSelectionChanged(), Object(), object(), QtHandles::Panel::Panel(), QtHandles::Figure::print(), QtHandles::Panel::redraw(), QtHandles::Figure::redraw(), QtHandles::EditControl::returnPressed(), QtHandles::Figure::setMouseMode(), QtHandles::Figure::toggleAxes(), QtHandles::ButtonControl::toggled(), QtHandles::Figure::toggleGrid(), QtHandles::ToggleTool::triggered(), QtHandles::PopupMenuControl::update(), QtHandles::Figure::update(), QtHandles::Figure::updateBoundingBox(), and QtHandles::SliderControl::valueChanged().
|
protected |
Definition at line 101 of file Object.h.
Referenced by finalize(), init(), objectDestroyed(), and qObject().