#include <EmbeddedEntryVideoPlayer.h>
Signals | |
void | initCopyWidgetDestruction () |
Emitted when copywidget is no longer needed. Connected to copy widget's deletelater() - slot. | |
Public Member Functions | |
EmbeddedEntryVideoPlayer (QWidget *parent) | |
void | finishedCopying () |
Gets called by EmbeddedTextObjectCopyingProgressWidget when copying file is complete. | |
void | canceledCopying () |
Gets called by EmbeddedTextObjectCopyingProgressWidget if user clicks Cancel. | |
void | EnableControls () |
void | setCopyProgressWidgetPtr (EmbeddedTextObjectCopyingProgressWidget *widgetPtr) |
Gets called by DiaryEntryCreator when it creates new EmbeddedTextObjectCopyingProgressWidget object. | |
void | setAbsoluteFileName (const QString &Filename) |
Set the filename of the video with absoulte path. | |
void | setRelativeFileName (const QString &Filename) |
Set the filename and path to the video relative to diary entry storage path. | |
void | SetListEntryPtr (struct VideoTextobjectListEntry *entryPtr) |
Set the pointer to the entry node that stores this videoplayer in MyQtextBrowser 's video text object list. | |
QString | getAbsoluteFileName () |
Get the filename of the video with absoulte path. | |
QString | getRelativeFileName () |
Get the filename of the video relative to diary entry storage path. | |
Private Attributes | |
QString | iAbsoluteFilename |
Stores the file name of the video with absoulte path. | |
QString | iRelativeFilename |
Stores the file name of the video with path relative to diary entry storage path. | |
struct VideoTextobjectListEntry * | iVideoObjectListEntryPtr |
Pointer to node that stores this video player in MyQtextBrowser's video text object list. |
void EmbeddedEntryVideoPlayer::canceledCopying | ( | ) | [virtual] |
Gets called by EmbeddedTextObjectCopyingProgressWidget if user clicks Cancel.
Implements EmbeddedTextObjectCopyingCallbackAPI.
void EmbeddedEntryVideoPlayer::finishedCopying | ( | ) | [virtual] |
Gets called by EmbeddedTextObjectCopyingProgressWidget when copying file is complete.
Implements EmbeddedTextObjectCopyingCallbackAPI.
QString EmbeddedEntryVideoPlayer::getAbsoluteFileName | ( | ) |
Get the filename of the video with absoulte path.
QString EmbeddedEntryVideoPlayer::getRelativeFileName | ( | ) |
Get the filename of the video relative to diary entry storage path.
void EmbeddedEntryVideoPlayer::setAbsoluteFileName | ( | const QString & | Filename | ) |
Set the filename of the video with absoulte path.
Filename | File name with absolute path to the file. This file name is passed to mplayer when telling it to start play the file |
void EmbeddedEntryVideoPlayer::setCopyProgressWidgetPtr | ( | EmbeddedTextObjectCopyingProgressWidget * | widgetPtr | ) | [virtual] |
Gets called by DiaryEntryCreator when it creates new EmbeddedTextObjectCopyingProgressWidget object.
The pointer can be used to insert the progressbar widget within a layout of the client widget for example.
Reimplemented from EmbeddedTextObjectCopyingCallbackAPI.
void EmbeddedEntryVideoPlayer::SetListEntryPtr | ( | struct VideoTextobjectListEntry * | entryPtr | ) |
Set the pointer to the entry node that stores this videoplayer in MyQtextBrowser 's video text object list.
entryPtr | Pointer to the node storing this video player. |
void EmbeddedEntryVideoPlayer::setRelativeFileName | ( | const QString & | Filename | ) |
Set the filename and path to the video relative to diary entry storage path.
Filename | File name with relative path to the file. This file name is used when saving the video object to the diary file. |