Inherits MWidgetController.
Inherited by MApplicationExtensionArea.
List of all members.
Detailed Description
MExtensionArea is a baseclass for widgets that can load application extensions
Constructor & Destructor Documentation
MExtensionArea::MExtensionArea |
( |
QGraphicsItem * |
parent = NULL |
) |
[explicit] |
Default constructor
- Parameters:
-
| parent | Optional Object's parent |
MExtensionArea::~MExtensionArea |
( |
|
) |
[virtual] |
Protected constructor to be called by derived classes to set up the private implementation hierarchy.
Member Function Documentation
addWidget performs setup of an extension widget and its datastore when the widget is being added to the extension area. The ownership of the widget remains on the caller of this slot. This slot can be overridden in specialized extension areas to provide additional setup.
- Parameters:
-
| widget | Widget to be added onto the MExtensionArea. |
| store | This MDataStore object can be used to store permanent extension area data related to this particular application extension instance. When the same application extension instance is reinstantiated, this API will be called with the data that was stored to the permanent storage the last time around. This can be used to store for instance layout data of an application extension instance or any other extension area specific data. |
void MExtensionArea::removeWidget |
( |
QGraphicsWidget * |
widget |
) |
[protected, virtual, slot] |
removeWidget performs cleanup related to a widget that is being removed. The widget itself should not be deleted in this method, it will be deleted by the caller.
- Parameters:
-
| widget | The widget to be removed from the system. |
Member Data Documentation