Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <berryIPresentationFactory.h>
Public Member Functions | |
virtual | ~IPresentationFactory () |
virtual StackPresentation::Pointer | CreateEditorPresentation (QWidget *parent, IStackPresentationSite::Pointer site)=0 |
virtual StackPresentation::Pointer | CreateViewPresentation (QWidget *parent, IStackPresentationSite::Pointer site)=0 |
virtual StackPresentation::Pointer | CreateStandaloneViewPresentation (QWidget *parent, IStackPresentationSite::Pointer site, bool showTitle)=0 |
virtual QString | GetId ()=0 |
virtual QWidget * | CreateSash (QWidget *parent, int style)=0 |
virtual int | GetSashSize (int style)=0 |
virtual void | UpdateTheme ()=0 |
Static Public Attributes | |
static int | SASHTYPE_NORMAL |
static int | SASHTYPE_FLOATING |
static int | SASHORIENTATION_HORIZONTAL |
static int | SASHORIENTATION_VERTICAL |
This is a factory for presentation objects that control the appearance of editors, views and other components in the workbench.
Definition at line 32 of file berryIPresentationFactory.h.
|
virtual |
Definition at line 20 of file berryIPresentationFactory.cpp.
References berry::Constants::HORIZONTAL, SASHORIENTATION_HORIZONTAL, SASHORIENTATION_VERTICAL, SASHTYPE_FLOATING, SASHTYPE_NORMAL, and berry::Constants::VERTICAL.
|
pure virtual |
Creates an editor presentation for presenting editors.
The presentation creates its controls under the given parent composite.
parent | the parent composite to use for the presentation's controls |
site | the site used for communication between the presentation and the workbench |
|
pure virtual |
Creates the Sash control that is used to separate view and editor parts.
parent | the parent composite |
style | A bit set giving both the 'type' of the desired sash and its orientation (i.e. one 'SASHTYPE' value and one "SASHORIENTATION" value). |
|
pure virtual |
Creates a standalone stack presentation for presenting a standalone view. A standalone view cannot be docked together with other views. The title of a standalone view may be hidden.
The presentation creates its controls under the given parent composite.
parent | the parent composite to use for the presentation's controls |
site | the site used for communication between the presentation and the workbench |
showTitle | true to show the title for the view, false to hide it |
|
pure virtual |
Creates a stack presentation for presenting regular docked views.
The presentation creates its controls under the given parent composite.
parent | the parent composite to use for the presentation's controls |
site | the site used for communication between the presentation and the workbench |
|
pure virtual |
Creates the status line manager for the window. Subclasses may override.
statusLine | the window's status line manager |
parent | the parent composite |
|
pure virtual |
Returns the size of the Sash control that is used to separate view and editor parts.
style | A bit set giving both the 'type' of the desired sash and its orientation. |
|
pure virtual |
Applies changes of the current theme to the user interface.
|
static |
Bit value for the createSash method's 'style' parameter.
Definition at line 52 of file berryIPresentationFactory.h.
Referenced by ~IPresentationFactory().
|
static |
Bit value for the createSash method's 'style' parameter.
Definition at line 57 of file berryIPresentationFactory.h.
Referenced by ~IPresentationFactory().
|
static |
Bit value for the createSash method's 'style' parameter.
Definition at line 47 of file berryIPresentationFactory.h.
Referenced by ~IPresentationFactory().
|
static |
Bit value for the createSash method's 'style' parameter.
Definition at line 42 of file berryIPresentationFactory.h.
Referenced by ~IPresentationFactory().