NCL Composer  0.1.5
 All Classes Functions Variables Pages
MediaPreviewPlugin Class Reference

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>

Inheritance diagram for MediaPreviewPlugin:
Collaboration diagram for MediaPreviewPlugin:

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

MediaPreviewPlugin::MediaPreviewPlugin ( )
explicit

Handles the creation of a principal Window where the media player is displayed.Constructor.

Definition at line 37 of file mediapreviewplugin.cpp.

Member Function Documentation

void MediaPreviewPlugin::changeSelectedEntity ( QString  pluginID,
void *  entity 
)
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.

Parameters
PluginIDis the plugin instance id that first called the changes to the entity
*entitythe 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.

Returns
QWidget* the widget that represents this plugin. If NULL, the plugin has not a visual representation.

Definition at line 50 of file mediapreviewplugin.cpp.


The documentation for this class was generated from the following files: