GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "ToggleTool.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 | |
ToggleTool (const graphics_object &go, QAction *action) | |
~ToggleTool (void) | |
Container * | innerContainer (void) |
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 ToggleTool * | create (const graphics_object &go) |
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) |
void | update (int pId) |
Static Protected Member Functions | |
static Object * | parentObject (const graphics_object &go) |
Protected Attributes | |
graphics_handle | m_handle |
QObject * | m_qobject |
Private Slots | |
void | triggered (bool checked) |
Definition at line 31 of file ToggleTool.h.
QtHandles::ToggleTool::ToggleTool | ( | const graphics_object & | go, |
QAction * | action | ||
) |
Definition at line 50 of file ToggleTool.cc.
References uitoggletool::properties::is_state(), and triggered().
Referenced by create().
QtHandles::ToggleTool::~ToggleTool | ( | void | ) |
Definition at line 62 of file ToggleTool.cc.
|
protectedvirtualinherited |
Reimplemented in QtHandles::Figure, and QtHandles::ToolBar.
Definition at line 159 of file Object.cc.
Referenced by QtHandles::Object::slotUpdate().
|
static |
Definition at line 35 of file ToggleTool.cc.
References QtHandles::Object::parentObject(), QtHandles::Object::qWidget(), and ToggleTool().
Referenced by QtHandles::ObjectFactory::createObject().
|
protectedvirtualinherited |
Definition at line 138 of file Object.cc.
References QtHandles::Object::m_qobject.
Referenced by QtHandles::Object::slotFinalize().
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 QtHandles::Object::m_qobject, and QtHandles::Object::objectDestroyed().
Referenced by QtHandles::BaseControl::init(), and QtHandles::Object::Object().
|
inlinevirtualinherited |
Implements QtHandles::Object.
Definition at line 42 of file ToolBarButton.h.
|
inherited |
Definition at line 73 of file Object.cc.
References gh_manager::get_object(), QtHandles::Object::m_handle, and octave_handle::value().
Referenced by QtHandles::BaseControl::eventFilter(), QtHandles::Panel::eventFilter(), QtHandles::Object::properties(), QtHandles::Figure::updateMenuBar(), QtHandles::Menu::updateSiblingPositions(), and QtHandles::SliderControl::valueChanged().
|
slotinherited |
Definition at line 163 of file Object.cc.
References QtHandles::Object::m_qobject.
Referenced by QtHandles::Object::init().
|
staticprotectedinherited |
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(), create(), QtHandles::PopupMenuControl::create(), QtHandles::ListBoxControl::create(), QtHandles::SliderControl::create(), QtHandles::ToolBar::create(), QtHandles::Menu::create(), QtHandles::ContextMenu::create(), QtHandles::EditControl::create(), and QtHandles::Panel::create().
|
protectedvirtualinherited |
Reimplemented in QtHandles::Figure.
Definition at line 154 of file Object.cc.
Referenced by QtHandles::Object::slotPrint().
|
inlineinherited |
Definition at line 49 of file Object.h.
References graphics_object::get_properties(), and QtHandles::Object::object().
Referenced by QtHandles::Panel::eventFilter(), QtHandles::Utils::figureCurrentPoint(), and QtHandles::Container::resizeEvent().
|
inlineinherited |
Definition at line 52 of file Object.h.
References graphics_object::get_properties(), and QtHandles::Object::object().
|
inlineinherited |
Definition at line 56 of file Object.h.
References graphics_object::get_properties(), QtHandles::Object::object(), and QtHandles::Utils::properties().
|
inlineinherited |
Definition at line 63 of file Object.h.
References graphics_object::get_properties(), QtHandles::Object::object(), and QtHandles::Utils::properties().
|
inlinevirtualinherited |
Definition at line 71 of file Object.h.
References QtHandles::Object::m_qobject.
Referenced by QtHandles::Menu::create(), QtHandles::Panel::eventFilter(), QtHandles::ToolBar::eventFilter(), and QtHandles::Object::qWidget().
|
inlineinherited |
Definition at line 74 of file Object.h.
References QtHandles::Object::qObject().
Referenced by QtHandles::PushTool::create(), create(), QtHandles::ToolBar::create(), QtHandles::ContextMenu::create(), QtHandles::ContextMenu::executeAt(), and QtHandles::Container::resizeEvent().
|
protectedvirtualinherited |
Reimplemented in QtHandles::Figure, and QtHandles::Panel.
Definition at line 149 of file Object.cc.
Referenced by QtHandles::Object::slotRedraw().
|
slotinherited |
Definition at line 107 of file Object.cc.
References QtHandles::Object::finalize().
|
slotinherited |
Definition at line 124 of file Object.cc.
References QtHandles::Object::print().
|
slotinherited |
Definition at line 115 of file Object.cc.
References QtHandles::Object::redraw().
Referenced by QtHandles::Figure::redraw().
|
slotinherited |
Definition at line 86 of file Object.cc.
References QtHandles::Object::beingDeleted(), base_properties::ID_BEINGDELETED, and QtHandles::Object::update().
Referenced by QtHandles::ObjectProxy::update().
|
privateslot |
Definition at line 85 of file ToggleTool.cc.
References QtHandles::Object::m_handle, gh_manager::post_callback(), and gh_manager::post_set().
Referenced by ToggleTool().
|
protectedvirtual |
Reimplemented from QtHandles::Object.
Definition at line 67 of file ToggleTool.cc.
References uitoggletool::properties::ID_STATE, uitoggletool::properties::is_state(), and QtHandles::ToolBarButton< T >::update().
|
protectedinherited |
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::PushTool::clicked(), QtHandles::ButtonControl::clicked(), QtHandles::PopupMenuControl::currentIndexChanged(), QtHandles::EditControl::editingFinished(), QtHandles::BaseControl::eventFilter(), QtHandles::Figure::eventNotifyBefore(), QtHandles::Figure::Figure(), QtHandles::ListBoxControl::itemSelectionChanged(), QtHandles::Object::Object(), QtHandles::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(), triggered(), QtHandles::PopupMenuControl::update(), QtHandles::Figure::update(), QtHandles::Figure::updateBoundingBox(), and QtHandles::SliderControl::valueChanged().
|
protectedinherited |
Definition at line 101 of file Object.h.
Referenced by QtHandles::Object::finalize(), QtHandles::Object::init(), QtHandles::Object::objectDestroyed(), and QtHandles::Object::qObject().