|
NCL Composer
0.1.5
|
MediaPreviewPlugin is a Composer plugin that display a different media player, which depends of the extension and the media type object. More...
#include <mediapreviewplugin.h>
Public Slots | |
| void | changeSelectedEntity (QString pluginID, void *entity) |
| Identify when a media object was selected and though entity parameter the media object attributes can be accessed. More... | |
Public Member Functions | |
| MediaPreviewPlugin () | |
| Handles the creation of a principal Window where the media player is displayed.Constructor. More... | |
| ~MediaPreviewPlugin () | |
| Destructor. | |
| QWidget * | getWidget () |
| Returns the widget of that plugin. More... | |
MediaPreviewPlugin is a Composer plugin that display a different media player, which depends of the extension and the media type object.
When a media object is selected (clicked) by the user in the estrutural view, a media player is displayed and a media pre-view of the media object is avaliable.
Definition at line 34 of file mediapreviewplugin.h.
|
explicit |
Handles the creation of a principal Window where the media player is displayed.Constructor.
Definition at line 37 of file mediapreviewplugin.cpp.
|
slot |
Identify when a media object was selected and though entity parameter the media object attributes can be accessed.
In this case the source and media type attributes was used.
| PluginID | is the plugin instance id that first called the changes to the entity |
| *entity | the entity that was selected by the user. |
Definition at line 56 of file mediapreviewplugin.cpp.
| QWidget * MediaPreviewPlugin::getWidget | ( | ) |
Returns the widget of that plugin.
This widget will be presentated to the user.
This function is part of the IPlugin API.
Definition at line 50 of file mediapreviewplugin.cpp.