GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "ToolBar.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 | |
ToolBar (const graphics_object &go, QToolBar *bar) | |
~ToolBar (void) | |
bool | eventFilter (QObject *watched, QEvent *event) |
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 ToolBar * | create (const graphics_object &go) |
static Object * | fromQObject (QObject *obj) |
Protected Member Functions | |
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 | hideEmpty (void) |
Private Attributes | |
QAction * | m_empty |
Figure * | m_figure |
QtHandles::ToolBar::ToolBar | ( | const graphics_object & | go, |
QToolBar * | bar | ||
) |
Definition at line 82 of file ToolBar.cc.
References QtHandles::Figure::addCustomToolBar(), QtHandles::addEmptyAction(), QtHandles::Object::fromQObject(), base_properties::is_visible(), m_empty, and m_figure.
Referenced by create().
QtHandles::ToolBar::~ToolBar | ( | void | ) |
Definition at line 102 of file ToolBar.cc.
|
protectedvirtual |
Reimplemented from QtHandles::Object.
Definition at line 169 of file ToolBar.cc.
References m_figure, and QtHandles::Figure::showCustomToolBar().
|
static |
Definition at line 67 of file ToolBar.cc.
References QtHandles::Object::parentObject(), QtHandles::Object::qWidget(), and ToolBar().
Referenced by QtHandles::ObjectFactory::createObject().
Definition at line 126 of file ToolBar.cc.
References hideEmpty(), m_empty, and QtHandles::Object::qObject().
|
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(), ToolBar(), and QtHandles::Menu::updateSiblingPositions().
|
privateslot |
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().
|
inlinevirtual |
Implements QtHandles::Object.
|
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::PushTool::create(), QtHandles::RadioButtonControl::create(), QtHandles::TextControl::create(), QtHandles::ToggleButtonControl::create(), QtHandles::ToggleTool::create(), QtHandles::PopupMenuControl::create(), QtHandles::ListBoxControl::create(), QtHandles::SliderControl::create(), create(), QtHandles::ContextMenu::create(), QtHandles::Menu::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(), eventFilter(), and QtHandles::Object::qWidget().
|
inlineinherited |
Definition at line 74 of file Object.h.
References QtHandles::Object::qObject().
Referenced by QtHandles::PushTool::create(), QtHandles::ToggleTool::create(), QtHandles::ContextMenu::create(), 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().
|
protectedvirtual |
Reimplemented from QtHandles::Object.
Definition at line 107 of file ToolBar.cc.
References base_properties::ID_VISIBLE, base_properties::is_visible(), m_figure, QtHandles::Figure::showCustomToolBar(), and QtHandles::Object::update().
|
private |
Definition at line 58 of file ToolBar.h.
Referenced by eventFilter(), hideEmpty(), and ToolBar().
|
private |
Definition at line 59 of file ToolBar.h.
Referenced by beingDeleted(), ToolBar(), and 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::ButtonControl::clicked(), QtHandles::PushTool::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(), QtHandles::ToggleTool::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().