This view part provides an editor/viewer for properties of other views.
More...
#include <views/PropertyView.h>
This view part provides an editor/viewer for properties of other views.
If any other view implements the PropertyViewPage adapter its properties are shown in this editor upon activation.
◆ reflect()
void reflect |
( |
Reflector & |
r | ) |
|
|
inline |
◆ getDefaultDockArea()
virtual Qt::DockWidgetArea getDefaultDockArea |
( |
| ) |
const |
|
inlinevirtual |
Can be implemented by view implementations to provide a preferred default dock area that is assigned by default when the view is created.
The user can move the view freely to other dock areas afterwards. The default implementation will return Qt::LeftDockWidgetArea.
Reimplemented from ViewPart.
◆ createDefaultPage()
virtual QWidget* createDefaultPage |
( |
| ) |
|
|
protectedvirtual |
Must be implemented in derived classes.
Is called to display a default page (e.g. when no workbench part is active)
Implements PageViewPart.
◆ createPage()
Must be implemented in derived classes.
Is called when the workbench part changes in order to display a special page for that part. If this method returns NULL, the current page remains unchanged. Note that the creator of the page is responsible for its destruction. The page will not be deleted if this PageViewPart is destructed!
Implements PageViewPart.
◆ viewActivated() [1/2]
Notifies this listener that the given view part has been activated.
Reimplemented from PageViewPart.
◆ createPartControl()
virtual QWidget* createPartControl |
( |
| ) |
|
|
protectedvirtualinherited |
◆ setPage()
void setPage |
( |
QWidget * |
page | ) |
|
|
protectedinherited |
Sets the specified widget as current "page".
◆ editorActivated()
|
protectedvirtualinherited |
Notifies this listener that the given editor part has been activated.
Implements IPartListener.
◆ editorClosed()
|
protectedvirtualinherited |
Notifies this listener that the given editor part has been closed.
Implements IPartListener.
◆ viewActivated [2/2]
◆ viewClosed() [1/2]
|
protectedvirtualinherited |
Notifies this listener that the given view part has been closed.
Implements IPartListener.
◆ viewClosed [2/2]
◆ init()
◆ getSite()
◆ activate()
virtual void activate |
( |
| ) |
|
|
virtualinherited |
Is called by the Workbench to inform the Part that is being activated by the user.
Reimplemented from WorkbenchPart.
◆ deactivate()
virtual void deactivate |
( |
| ) |
|
|
virtualinherited |
Is called by the Workbench to inform the Part that is being deactivated since another Part got the focus.
Reimplemented from WorkbenchPart.
◆ isVisible()
◆ getDockArea()
Qt::DockWidgetArea getDockArea |
( |
| ) |
const |
|
inherited |
Returns the dock area, this view belongs to.
◆ focusInEvent()
virtual void focusInEvent |
( |
QFocusEvent * |
| ) |
|
|
protectedvirtualinherited |
◆ closeEvent()
virtual void closeEvent |
( |
QCloseEvent * |
| ) |
|
|
protectedvirtualinherited |
◆ getViewMenu()
Returns the optional view menu that is shown when the user clicks the view menu tool button.
A ViewPart can add items to this menu within it's createPartControl() method, by calling this method and populating items to the menu.
◆ getTitleBar()
Returns the title bar of this view part.
◆ paintEvent()
void paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protectedinherited |
◆ viewDestroyed
◆ minimizedRequested
void minimizedRequested |
( |
ViewPart * |
view | ) |
|
|
signalinherited |
◆ currentDockLocationChanged
void currentDockLocationChanged |
( |
Qt::DockWidgetArea |
area | ) |
|
|
signalinherited |
◆ onVisibilityChanged
virtual void onVisibilityChanged |
( |
bool |
visible | ) |
|
|
protectedvirtualslotinherited |
◆ onMinimizeRequested
void onMinimizeRequested |
( |
| ) |
|
|
protectedslotinherited |
◆ onDockLocationChanged
void onDockLocationChanged |
( |
Qt::DockWidgetArea |
area | ) |
|
|
protectedslotinherited |
◆ onTopLevelChanged
void onTopLevelChanged |
( |
bool |
topLevel | ) |
|
|
protectedslotinherited |
◆ isActivated()
bool isActivated |
( |
| ) |
const |
|
inlineinherited |
Returns true if this ViewPart currently has the focus and hence the users attention.
◆ getAdapter()
Returns an object which is an instance of the given class associated with this object.
Returns nullptr if no such object can be found. The implementation if IAdaptable is responsible for destroying the instance of the created object.
Implements IAdaptable.
Reimplemented in VisualizationView.
◆ getClass()
Class const& getClass |
( |
| ) |
const |
|
inlineinherited |
◆ CLASS()
◆ internalGetClass()
virtual Class const& internalGetClass |
( |
| ) |
const |
|
protectedpure virtualinherited |
◆ mTitleBar
The documentation for this class was generated from the following file: