GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "ListBoxControl.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 | |
ListBoxControl (const graphics_object &go, QListWidget *list) | |
~ListBoxControl (void) | |
bool | eventFilter (QObject *watched, QEvent *e) |
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 ListBoxControl * | create (const graphics_object &go) |
static Object * | fromQObject (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 Object * | parentObject (const graphics_object &go) |
Protected Attributes | |
graphics_handle | m_handle |
QObject * | m_qobject |
Private Slots | |
void | itemSelectionChanged (void) |
Private Attributes | |
bool | m_blockCallback |
Definition at line 33 of file ListBoxControl.h.
QtHandles::ListBoxControl::ListBoxControl | ( | const graphics_object & | go, |
QListWidget * | list | ||
) |
Definition at line 80 of file ListBoxControl.cc.
References QtHandles::Utils::fromStringVector(), uicontrol::properties::get_max(), uicontrol::properties::get_min(), uicontrol::properties::get_string_vector(), uicontrol::properties::get_value(), itemSelectionChanged(), octave_value::matrix_value(), Array< T >::numel(), and xround().
Referenced by create().
QtHandles::ListBoxControl::~ListBoxControl | ( | void | ) |
Definition at line 117 of file ListBoxControl.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 65 of file ListBoxControl.cc.
References QtHandles::Object::innerContainer(), ListBoxControl(), and QtHandles::Object::parentObject().
Referenced by QtHandles::ObjectFactory::createObject().
Definition at line 162 of file BaseControl.cc.
References QtHandles::Utils::computeFont< uicontrol >(), uicontrol::properties::enable_is(), QtHandles::ContextMenu::executeAt(), QtHandles::Utils::figureCurrentPoint(), QtHandles::Utils::figureSelectionType(), graphics_object::get_ancestor(), graphics_object::get_handle(), octave_scalar_map::getfield(), QtHandles::Object::m_handle, QtHandles::BaseControl::m_keyPressHandlerDefined, QtHandles::BaseControl::m_normalizedFont, QtHandles::Utils::makeKeyEventStruct(), QtHandles::Object::object(), octave_value(), gh_manager::post_callback(), gh_manager::post_set(), and uicontrol::properties::style_is().
|
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 79 of file BaseControl.cc.
References QtHandles::Utils::computeFont< uicontrol >(), uicontrol::properties::enable_is(), uicontrol::properties::fontunits_is(), QtHandles::Utils::fromStdString(), uicontrol::properties::get_boundingbox(), uicontrol::properties::get_keypressfcn(), uicontrol::properties::get_tooltipstring(), QtHandles::Object::init(), octave_value::is_empty(), base_properties::is_visible(), QtHandles::BaseControl::m_keyPressHandlerDefined, QtHandles::BaseControl::m_normalizedFont, QtHandles::updatePalette(), and xround().
Referenced by QtHandles::BaseControl::BaseControl(), and QtHandles::EditControl::init().
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 40 of file BaseControl.h.
|
privateslot |
Definition at line 159 of file ListBoxControl.cc.
References m_blockCallback, QtHandles::Object::m_handle, gh_manager::post_callback(), and gh_manager::post_set().
Referenced by ListBoxControl().
|
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(), create(), QtHandles::SliderControl::create(), QtHandles::ToolBar::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(), 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(), QtHandles::ToggleTool::create(), QtHandles::ContextMenu::create(), QtHandles::ToolBar::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::BaseControl.
Definition at line 122 of file ListBoxControl.cc.
References QtHandles::Utils::fromStringVector(), uicontrol::properties::get_max(), uicontrol::properties::get_min(), uicontrol::properties::get_string_vector(), uicontrol::properties::get_value(), uicontrol::properties::ID_MAX, uicontrol::properties::ID_MIN, uicontrol::properties::ID_STRING, uicontrol::properties::ID_VALUE, m_blockCallback, octave_value::matrix_value(), QtHandles::BaseControl::update(), and QtHandles::updateSelection().
|
private |
Definition at line 50 of file ListBoxControl.h.
Referenced by itemSelectionChanged(), 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(), 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().