Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#include <berryIPresentablePart.h>
Public Member Functions | |
berryObjectMacro (berry::IPresentablePart) | |
~IPresentablePart () override | |
virtual void | SetBounds (const QRect &bounds)=0 |
virtual void | SetVisible (bool isVisible)=0 |
virtual void | SetFocus ()=0 |
virtual void | AddPropertyListener (IPropertyChangeListener *listener)=0 |
virtual void | RemovePropertyListener (IPropertyChangeListener *listener)=0 |
virtual QString | GetName () const =0 |
virtual QString | GetTitle () const =0 |
virtual QString | GetTitleStatus () const =0 |
virtual QIcon | GetTitleImage ()=0 |
virtual QString | GetTitleToolTip () const =0 |
virtual bool | IsDirty () const =0 |
virtual bool | IsBusy () const =0 |
virtual bool | IsCloseable () const =0 |
virtual QToolBar * | GetToolBar ()=0 |
virtual QWidget * | GetControl ()=0 |
virtual QString | GetPartProperty (const QString &key) const =0 |
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 |
Public Member Functions inherited from berry::ISizeProvider | |
virtual | ~ISizeProvider () |
virtual int | GetSizeFlags (bool width)=0 |
virtual int | ComputePreferredSize (bool width, int availableParallel, int availablePerpendicular, int preferredResult)=0 |
Static Public Attributes | |
static const int | PROP_DIRTY |
static const int | PROP_INPUT |
static const int | PROP_TITLE |
static const int | PROP_CONTENT_DESCRIPTION |
static const int | PROP_PART_NAME |
static const int | PROP_BUSY |
static const int | PROP_TOOLBAR |
static const int | PROP_HIGHLIGHT_IF_BACK |
static const int | PROP_PANE_MENU |
static const int | PROP_PREFERRED_SIZE |
Static Public Attributes inherited from berry::ISizeProvider | |
static const int | INF |
Additional Inherited Members | |
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 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 |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
This is a skin's interface to the contents of a view or editor. Note that this is essentially the same as IWorkbenchPart, except it does not provide access to lifecycle events and allows repositioning of the part.
Not intended to be implemented by clients.
Definition at line 36 of file berryIPresentablePart.h.
|
override |
|
pure virtual |
Adds a listener for changes to properties of this workbench part. Has no effect if an identical listener is already registered.
The properties ids are defined by the PROP_* constants, above.
listener | a property listener (not null) |
berry::IPresentablePart::berryObjectMacro | ( | berry::IPresentablePart | ) |
|
pure virtual |
Returns the menu for this part or null if none
getTabList
.
|
pure virtual |
Returns the short name of the part. This is used as the text on the tab when this part is stacked on top of other parts.
|
pure virtual |
Get a property from the part's arbitrary property set.
Note: this is a different set of properties than the ones covered by the PROP_* constants.
key | The property key to retrieve. Must not be null . |
null
if that property is not set.
|
pure virtual |
Returns the title of this workbench part. If this value changes the part must fire a property listener event with PROP_TITLE
.
The title is used to populate the title bar of this part's visual container.
|
pure virtual |
Returns the title image of this workbench part. If this value changes the part must fire a property listener event with PROP_TITLE
.
The title image is usually used to populate the title bar of this part's visual container. Since this image is managed by the part itself, callers must not dispose the returned image.
|
pure virtual |
Returns the status message from the part's title, or the empty string if none. This is a substring of the part's title. A typical title will consist of the part name, a separator, and a status message describing the current contents.
Presentations can query getName() and getTitleStatus() if they want to display the status message and name separately, or they can use getTitle() if they want to display the entire title.
|
pure virtual |
Returns the title tool tip text of this workbench part. If this value changes the part must fire a property listener event with PROP_TITLE
.
The tool tip text is used to populate the title bar of this part's visual container.
|
pure virtual |
Returns the local toolbar for this part, or null if this part does not have a local toolbar. Callers must not dispose or downcast the return value.
|
pure virtual |
Return true if the the receiver is currently in a busy state.
|
pure virtual |
Returns true iff this part can be closed
|
pure virtual |
Returns true iff the contents of this part have changed recently. For editors, this indicates that the part has changed since the last save. For views, this indicates that the view contains interesting changes that it wants to draw the user's attention to.
|
pure virtual |
Remove a listener that was previously added using addPropertyListener.
listener | a property listener (not null) |
|
pure virtual |
Sets the bounds of this part.
bounds | bounding rectangle (not null) |
|
pure virtual |
Forces this part to have focus.
|
pure virtual |
Notifies the part whether or not it is visible in the current perspective. A part is visible iff any part of its widgetry can be seen.
isVisible | true if the part has just become visible, false if the part has just become hidden |
|
static |
The property id for isBusy
.
Definition at line 71 of file berryIPresentablePart.h.
|
static |
The property id for IWorkbenchPart2.getContentDescription()
Definition at line 61 of file berryIPresentablePart.h.
|
static |
The property id for isDirty
.
Definition at line 45 of file berryIPresentablePart.h.
|
static |
The property id for highlighting the part if it is not in front.
Definition at line 82 of file berryIPresentablePart.h.
|
static |
The property id for getEditorInput
.
Definition at line 50 of file berryIPresentablePart.h.
|
static |
The property id for pane menu changes
Definition at line 87 of file berryIPresentablePart.h.
|
static |
The property id for IWorkbenchPart2.getContentDescription()
Definition at line 66 of file berryIPresentablePart.h.
|
static |
The property id for preferred size changes
Definition at line 93 of file berryIPresentablePart.h.
|
static |
The property id for getTitle
, getTitleImage
and getTitleToolTip
.
Definition at line 56 of file berryIPresentablePart.h.
|
static |
The property id for toolbar changes
Definition at line 76 of file berryIPresentablePart.h.