Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#include <QmitkExtActionBarAdvisor.h>
Public Member Functions | |
QmitkExtActionBarAdvisor (berry::SmartPointer< berry::IActionBarConfigurer > configurer) | |
Public Member Functions inherited from berry::ActionBarAdvisor | |
berryObjectMacro (berry::ActionBarAdvisor) | |
~ActionBarAdvisor () override | |
ActionBarAdvisor (const SmartPointer< IActionBarConfigurer > &configurer) | |
virtual void | FillActionBars (FillFlags flags) |
virtual bool | SaveState (SmartPointer< IMemento > memento) |
virtual bool | RestoreState (SmartPointer< IMemento > memento) |
void | Register () const |
Public Member Functions inherited from berry::Object | |
virtual QString | GetClassName () const |
virtual Reflection::TypeInfo | GetTypeInfo () const |
virtual QList< Reflection::TypeInfo > | GetSuperclasses () const |
virtual void | Delete () |
QDebug | Print (QDebug os, Indent Indent=0) const |
virtual QString | ToString () const |
virtual uint | HashCode () const |
virtual bool | operator< (const Object *) const |
void | Register () const |
void | UnRegister (bool del=true) const |
int | GetReferenceCount () const |
void | SetReferenceCount (int) |
void | AddDestroyListener (const MessageAbstractDelegate<> &delegate) const |
void | RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const |
virtual bool | operator== (const Object *) const |
Protected Member Functions | |
void | MakeActions (berry::IWorkbenchWindow *window) override |
void | FillMenuBar (berry::IMenuManager *menuBar) override |
void | FillToolBar (berry::IToolBarManager *toolBar) override |
Protected Member Functions inherited from berry::ActionBarAdvisor | |
virtual SmartPointer< IActionBarConfigurer > | GetActionBarConfigurer () const |
virtual void | Register (QAction *action, const QString &id) |
virtual QAction * | GetAction (const QString &id) const |
virtual void | FillToolBar (IToolBarManager *toolBar) |
virtual void | FillStatusLine (IStatusLineManager *statusLine) |
Protected Member Functions inherited from berry::Object | |
Object () | |
virtual | ~Object () |
virtual QDebug | PrintSelf (QDebug os, Indent indent) const |
virtual QDebug | PrintHeader (QDebug os, Indent indent) const |
virtual QDebug | PrintTrailer (QDebug os, Indent indent) const |
Additional Inherited Members | |
Public Types inherited from berry::ActionBarAdvisor | |
enum | FillType { FILL_PROXY, FILL_MENU_BAR, FILL_TOOL_BAR, FILL_STATUS_LINE } |
Public Types inherited from berry::Object | |
typedef Object | Self |
typedef berry::SmartPointer< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
Definition at line 32 of file QmitkExtActionBarAdvisor.h.
QmitkExtActionBarAdvisor::QmitkExtActionBarAdvisor | ( | berry::SmartPointer< berry::IActionBarConfigurer > | configurer | ) |
|
overrideprotectedvirtual |
Fills the menu bar with the main menus for the window.
The default implementation does nothing. Subclasses may override.
menuBar | the menu manager for the menu bar |
Reimplemented from berry::ActionBarAdvisor.
|
overrideprotected |
|
overrideprotectedvirtual |
Instantiates the actions used in the fill methods. Use Register() to add it to the list of actions to be disposed when the window is closed.
window | the window containing the action bars |
Reimplemented from berry::ActionBarAdvisor.