GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "Panel.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 | |
Panel (const graphics_object &go, QFrame *frame) | |
~Panel (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 Panel * | 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) |
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 Member Functions | |
void | updateLayout (void) |
Private Attributes | |
bool | m_blockUpdates |
Container * | m_container |
QLabel * | m_title |
QtHandles::Panel::Panel | ( | const graphics_object & | go, |
QFrame * | frame | ||
) |
Definition at line 103 of file Panel.cc.
References QtHandles::Container::canvas(), QtHandles::Utils::computeFont< uipanel >(), QtHandles::frameStyleFromProperties(), QtHandles::Utils::fromStdString(), uipanel::properties::get_borderwidth(), uipanel::properties::get_boundingbox(), uipanel::properties::get_title(), base_properties::is_visible(), m_container, QtHandles::Object::m_handle, m_title, QtHandles::setupPalette(), Faddeeva::w(), and xround().
Referenced by create().
|
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 88 of file Panel.cc.
References QtHandles::Object::innerContainer(), Panel(), and QtHandles::Object::parentObject().
Referenced by QtHandles::ObjectFactory::createObject().
Definition at line 152 of file Panel.cc.
References QtHandles::Utils::computeFont< uipanel >(), QtHandles::ContextMenu::executeAt(), uipanel::properties::fontunits_is(), m_blockUpdates, m_container, m_title, QtHandles::Object::object(), QtHandles::Object::properties(), QtHandles::Object::qObject(), base_properties::update_boundingbox(), updateLayout(), and graphics_object::valid_object().
|
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().
|
inlinevirtual |
|
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(), 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(), QtHandles::ToolBar::create(), QtHandles::Menu::create(), QtHandles::ContextMenu::create(), QtHandles::EditControl::create(), and 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 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(), 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::ToolBar::create(), QtHandles::ContextMenu::create(), QtHandles::ContextMenu::executeAt(), and QtHandles::Container::resizeEvent().
|
protectedvirtual |
Reimplemented from QtHandles::Object.
Definition at line 331 of file Panel.cc.
References QtHandles::Container::canvas(), m_container, QtHandles::Object::m_handle, and QtHandles::Canvas::redraw().
|
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 226 of file Panel.cc.
References QtHandles::Utils::computeFont< uipanel >(), QtHandles::frameStyleFromProperties(), QtHandles::Utils::fromStdString(), uipanel::properties::get_borderwidth(), uipanel::properties::get_boundingbox(), uipanel::properties::get_title(), uipanel::properties::ID_BACKGROUNDCOLOR, uipanel::properties::ID_BORDERTYPE, uipanel::properties::ID_BORDERWIDTH, uipanel::properties::ID_FONTANGLE, uipanel::properties::ID_FONTNAME, uipanel::properties::ID_FONTSIZE, uipanel::properties::ID_FONTWEIGHT, uipanel::properties::ID_FOREGROUNDCOLOR, uipanel::properties::ID_HIGHLIGHTCOLOR, uipanel::properties::ID_POSITION, uipanel::properties::ID_SHADOWCOLOR, uipanel::properties::ID_TITLE, uipanel::properties::ID_TITLEPOSITION, base_properties::ID_VISIBLE, base_properties::is_visible(), m_blockUpdates, m_title, QtHandles::setupPalette(), updateLayout(), and xround().
|
private |
Definition at line 340 of file Panel.cc.
References QtHandles::borderWidthFromProperties(), uipanel::properties::get_boundingbox(), m_blockUpdates, m_container, m_title, uipanel::properties::titleposition_is(), base_properties::update_boundingbox(), and xround().
Referenced by eventFilter(), and update().
|
private |
Definition at line 58 of file Panel.h.
Referenced by eventFilter(), update(), and updateLayout().
|
private |
Definition at line 56 of file Panel.h.
Referenced by eventFilter(), innerContainer(), Panel(), redraw(), and updateLayout().
|
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(), Panel(), QtHandles::Figure::print(), 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().
|
private |
Definition at line 57 of file Panel.h.
Referenced by eventFilter(), Panel(), update(), and updateLayout().