GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
QtHandles::Menu Class Reference

#include "Menu.h"

Inheritance diagram for QtHandles::Menu:
Inheritance graph
[legend]
Collaboration diagram for QtHandles::Menu:
Collaboration graph
[legend]

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

 Menu (const graphics_object &go, QAction *action, Object *parent)
 
 ~Menu (void)
 
ContainerinnerContainer (void)
 
QWidgetmenu (void)
 
graphics_object object (void) const
 
base_propertiesproperties (void)
 
const base_propertiesproperties (void) const
 
template<class T >
T::properties & properties (void)
 
template<class T >
const T::properties & properties (void) const
 
virtual QObjectqObject (void)
 
template<class T >
T * qWidget (void)
 

Static Public Member Functions

static Menucreate (const graphics_object &go)
 
static ObjectfromQObject (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 ObjectparentObject (const graphics_object &go)
 

Protected Attributes

graphics_handle m_handle
 
QObjectm_qobject
 

Private Slots

void actionHovered (void)
 
void actionTriggered (void)
 

Private Member Functions

void updateSiblingPositions (void)
 

Private Attributes

QWidgetm_parent
 
QAction * m_separator
 

Detailed Description

Definition at line 36 of file Menu.h.

Constructor & Destructor Documentation

QtHandles::Menu::Menu ( const graphics_object go,
QAction *  action,
Object parent 
)
QtHandles::Menu::~Menu ( void  )

Definition at line 155 of file Menu.cc.

Member Function Documentation

void QtHandles::Menu::actionHovered ( void  )
privateslot

Definition at line 289 of file Menu.cc.

References QtHandles::Object::m_handle, and gh_manager::post_callback().

Referenced by menu().

void QtHandles::Menu::actionTriggered ( void  )
privateslot

Definition at line 279 of file Menu.cc.

References QtHandles::Object::m_handle, and gh_manager::post_callback().

Referenced by Menu().

void QtHandles::Object::beingDeleted ( void  )
protectedvirtualinherited

Reimplemented in QtHandles::Figure, and QtHandles::ToolBar.

Definition at line 159 of file Object.cc.

Referenced by QtHandles::Object::slotUpdate().

Menu * QtHandles::Menu::create ( const graphics_object go)
static
void QtHandles::Object::finalize ( void  )
protectedvirtualinherited

Definition at line 138 of file Object.cc.

References QtHandles::Object::m_qobject.

Referenced by QtHandles::Object::slotFinalize().

Object * QtHandles::Object::fromQObject ( QObject obj)
staticinherited
void QtHandles::Object::init ( QObject obj,
bool  callBase = false 
)
protectedinherited
Container* QtHandles::Menu::innerContainer ( void  )
inlinevirtual

Implements QtHandles::Object.

Definition at line 46 of file Menu.h.

QWidget * QtHandles::Menu::menu ( void  )
virtual

Implements QtHandles::MenuContainer.

Definition at line 261 of file Menu.cc.

References actionHovered().

graphics_object QtHandles::Object::object ( void  ) const
inherited
void QtHandles::Object::objectDestroyed ( QObject obj = 0)
slotinherited

Definition at line 163 of file Object.cc.

References QtHandles::Object::m_qobject.

Referenced by QtHandles::Object::init().

Object * QtHandles::Object::parentObject ( const graphics_object go)
staticprotectedinherited
void QtHandles::Object::print ( const QString &  file_cmd,
const QString &  term 
)
protectedvirtualinherited

Reimplemented in QtHandles::Figure.

Definition at line 154 of file Object.cc.

Referenced by QtHandles::Object::slotPrint().

base_properties& QtHandles::Object::properties ( void  )
inlineinherited
const base_properties& QtHandles::Object::properties ( void  ) const
inlineinherited

Definition at line 52 of file Object.h.

References graphics_object::get_properties(), and QtHandles::Object::object().

template<class T >
T::properties& QtHandles::Object::properties ( void  )
inlineinherited
template<class T >
const T::properties& QtHandles::Object::properties ( void  ) const
inlineinherited
virtual QObject* QtHandles::Object::qObject ( void  )
inlinevirtualinherited
template<class T >
T* QtHandles::Object::qWidget ( void  )
inlineinherited
void QtHandles::Object::redraw ( void  )
protectedvirtualinherited

Reimplemented in QtHandles::Figure, and QtHandles::Panel.

Definition at line 149 of file Object.cc.

Referenced by QtHandles::Object::slotRedraw().

void QtHandles::Object::slotFinalize ( void  )
slotinherited

Definition at line 107 of file Object.cc.

References QtHandles::Object::finalize().

void QtHandles::Object::slotPrint ( const QString &  file_cmd,
const QString &  term 
)
slotinherited

Definition at line 124 of file Object.cc.

References QtHandles::Object::print().

void QtHandles::Object::slotRedraw ( void  )
slotinherited

Definition at line 115 of file Object.cc.

References QtHandles::Object::redraw().

Referenced by QtHandles::Figure::redraw().

void QtHandles::Object::slotUpdate ( int  pId)
slotinherited
void QtHandles::Menu::update ( int  pId)
protectedvirtual
void QtHandles::Menu::updateSiblingPositions ( void  )
private

Member Data Documentation

graphics_handle QtHandles::Object::m_handle
protectedinherited
QWidget* QtHandles::Menu::m_parent
private

Definition at line 61 of file Menu.h.

Referenced by Menu(), update(), and updateSiblingPositions().

QObject* QtHandles::Object::m_qobject
protectedinherited
QAction* QtHandles::Menu::m_separator
private

Definition at line 62 of file Menu.h.

Referenced by Menu(), and update().


The documentation for this class was generated from the following files: