EmbeddedTextObjectCopyingProgressWidget Class Reference

Widget for showing the copy progress of file. More...

#include <embeddedtextobjectcopyingprogresswidget.h>

List of all members.

Public Slots

void CancelClicked ()
void CopyThreadFinished ()

Public Member Functions

 EmbeddedTextObjectCopyingProgressWidget (EmbeddedTextObjectCopyingCallbackAPI *copyClient, QWidget *parent=0)
void copyFile (const QString &absoluteFilepathAndName, const QString &targetFileName)
void CancelCopy ()

Protected Member Functions

void changeEvent (QEvent *e)

Private Attributes

Ui::EmbeddedTextObjectCopyingProgressWidget * m_ui
EmbeddedTextObjectCopyingThreadiCopyingThread
QMutex iCopyCanclelMux
EmbeddedTextObjectCopyingCallbackAPIiCopyClient


Detailed Description

Widget for showing the copy progress of file.

The widget that this class implements is used for showing the copying progress of a file when adding some possibly big files (such as videos) to entries. The widget will offer a cancel button and can be embedded to another widget. Below is a picture of this widget showing copy progress of a video that is being added to text.

EmbeddedTextObjectCopyingProgressWidget.jpg
Before using this you must have a client class that will implement the API defined in class EmbeddedTextObjectCopyingCallbackAPI.
The documentation for this class was generated from the following files:

Generated on Thu Mar 3 17:42:04 2011 for Xiaoning's Diary by  doxygen 1.5.9