WebBrowserPlugin is a base class to implement the web browser based plugins.
The WebBrowserPlugin class is a base class that provides basic web browser functionalities.
#include <plugin.h>
Public Types |
|
enum |
NavigationPoints { eNavNone = 0, eNavMudLife, eNavTutorials, eNavMeshUpload, eNavStampUpload, eNavStencilUpload } |
This enum contains all the navigation points. More... |
|
enum | FileType { eFileTypeStamps, eFileTypeStencils, eFileTypeMeshes } |
This enum contains all file types. More... |
|
Public Member Functions |
|
WebBrowserPlugin (const QString name, const QString title) | |
virtual void | Navigate (const NavigationPoints nav)=0 |
This methods allows navigation. This is
usually used by the host application. |
|
virtual void | Upload (const QStringList &files, const FileType fileType)=0 |
This methods allows files upload. |
|
virtual void | GetFileList (const FileType fileType, QFileInfoList &fileList, QString filter="")=0 |
This methods displays a loading message.
|
enum NavigationPoints |
This enum contains all the navigation points.
enum FileType |
This enum contains all file types.
WebBrowserPlugin | ( | const QString | name, |
const QString | title | ||
) |
virtual void Navigate | ( | const NavigationPoints | nav | ) | [pure virtual] |
This methods allows navigation. This is usually used by the host application.
virtual void Upload | ( | const QStringList & | files, |
const FileType | fileType | ||
) | [pure virtual] |
This methods allows files upload.
virtual void GetFileList | ( | const FileType | fileType, |
QFileInfoList & | fileList, | ||
QString | filter = "" |
||
) | [pure virtual] |
This methods displays a loading message.