Silverlight Class Reference

(Qtitan::Silverlight)

The Silverlight widget shows Microsoft Silverlight contents. More...

Inherits NPluginWidget.

Public Types

enum SilverlightEvent { OnErrorEvent, OnFullScreenChangedEvent, OnLoadEvent, OnResizeEvent, ..., OnAllEvents }
flags SilverlightEvents
typedef SilverlightParams

Public Functions

Silverlight ( QWidget * parent = 0, Qt::WindowFlags f = 0 )
BoolValue GPUAcceleration () const
BoolValue autoUpgrade () const
BoolValue autoZoom () const
const QString & backgroundColor () const
BoolValue cacheVisualization () const
SilverlightEvents events () const
BoolValue htmlAccess () const
SilverlightParams & initParams ()
int maxFramerate () const
const QString & minRuntimeVersion () const
BoolValue navigation () const
void setAutoUpgrade ( BoolValue value )
void setAutoZoom ( BoolValue value )
void setBackgroundColor ( const QString & color )
void setCacheVisualization ( BoolValue value )
void setEvents ( SilverlightEvents events )
void setGPUAcceleration ( BoolValue value )
void setHtmlAccess ( BoolValue value )
void setMaxFramerate ( int framerate )
void setMinRuntimeVersion ( const QString & version )
void setNavigation ( BoolValue value )
void setSplashScreenSource ( const QString & source )
void setWindowless ( bool windowless )
const QString & splashScreenSource () const
bool windowless () const

Reimplemented Public Functions

virtual const QString & getMimeType () const
virtual const QString & getPluginFileName () const
virtual void start ( const QString & pluginFileName )

Signals

void onError ( QScriptValue & sender, QScriptValue & args )
void onFullScreenChanged ( QScriptValue & sender, QScriptValue & args )
void onLoad ( QScriptValue & sender, QScriptValue & args )
void onResize ( QScriptValue & sender, QScriptValue & args )
void onSourceDownloadComplete ( QScriptValue & sender, QScriptValue & args )
void onSourceDownloadProgressChanged ( QScriptValue & sender, QScriptValue & args )
void onZoom ( QScriptValue & sender, QScriptValue & args )

Reimplemented Protected Functions

virtual QString getBannerRes () const
virtual QString getBannerText () const
virtual void loadDataSource ()

Additional Inherited Members

  • 58 properties inherited from QWidget
  • 1 property inherited from QObject
  • 19 public slots inherited from QWidget
  • 1 public slot inherited from QObject
  • 1 public variable inherited from QObject
  • 4 static public members inherited from QWidget
  • 4 static public members inherited from QObject
  • 31 protected functions inherited from Qtitan::NPluginWidget
  • 37 protected functions inherited from QWidget
  • 1 protected function inherited from QPaintDevice
  • 7 protected functions inherited from QObject
  • 1 protected slot inherited from QWidget
  • 1 protected type inherited from QPaintDevice
  • 2 protected variables inherited from QObject

Detailed Description

The Silverlight widget shows Microsoft Silverlight contents.

See also NPWidget, FlashPlayer, and AcrobatReader.

Member Type Documentation

enum Silverlight::SilverlightEvent
flags Silverlight::SilverlightEvents

The SilverlightEvents type is a typedef for QFlags<SilverlightEvent>. It stores an OR combination of SilverlightEvent values.

typedef Silverlight::SilverlightParams

Member Function Documentation

Silverlight::Silverlight ( QWidget * parent = 0, Qt::WindowFlags f = 0 )

BoolValue Silverlight::GPUAcceleration () const

See also setGPUAcceleration().

BoolValue Silverlight::autoUpgrade () const

See also setAutoUpgrade().

BoolValue Silverlight::autoZoom () const

See also setAutoZoom().

const QString & Silverlight::backgroundColor () const

See also setBackgroundColor().

BoolValue Silverlight::cacheVisualization () const

See also setCacheVisualization().

SilverlightEvents Silverlight::events () const

See also setEvents().

QString Silverlight::getBannerRes () const [virtual protected]

QString Silverlight::getBannerText () const [virtual protected]

const QString & Silverlight::getMimeType () const [virtual]

const QString & Silverlight::getPluginFileName () const [virtual]

BoolValue Silverlight::htmlAccess () const

See also setHtmlAccess().

SilverlightParams & Silverlight::initParams ()

void Silverlight::loadDataSource () [virtual protected]

int Silverlight::maxFramerate () const

See also setMaxFramerate().

const QString & Silverlight::minRuntimeVersion () const

See also setMinRuntimeVersion().

BoolValue Silverlight::navigation () const

See also setNavigation().

void Silverlight::onError ( QScriptValue & sender, QScriptValue & args ) [signal]

void Silverlight::onFullScreenChanged ( QScriptValue & sender, QScriptValue & args ) [signal]

void Silverlight::onLoad ( QScriptValue & sender, QScriptValue & args ) [signal]

void Silverlight::onResize ( QScriptValue & sender, QScriptValue & args ) [signal]

void Silverlight::onSourceDownloadComplete ( QScriptValue & sender, QScriptValue & args ) [signal]

void Silverlight::onSourceDownloadProgressChanged ( QScriptValue & sender, QScriptValue & args ) [signal]

void Silverlight::onZoom ( QScriptValue & sender, QScriptValue & args ) [signal]

void Silverlight::setAutoUpgrade ( BoolValue value )

See also autoUpgrade().

void Silverlight::setAutoZoom ( BoolValue value )

See also autoZoom().

void Silverlight::setBackgroundColor ( const QString & color )

See also backgroundColor().

void Silverlight::setCacheVisualization ( BoolValue value )

See also cacheVisualization().

void Silverlight::setEvents ( SilverlightEvents events )

See also events().

void Silverlight::setGPUAcceleration ( BoolValue value )

void Silverlight::setHtmlAccess ( BoolValue value )

See also htmlAccess().

void Silverlight::setMaxFramerate ( int framerate )

See also maxFramerate().

void Silverlight::setMinRuntimeVersion ( const QString & version )

See also minRuntimeVersion().

void Silverlight::setNavigation ( BoolValue value )

See also navigation().

void Silverlight::setSplashScreenSource ( const QString & source )

See also splashScreenSource().

void Silverlight::setWindowless ( bool windowless )

See also windowless().

const QString & Silverlight::splashScreenSource () const

See also setSplashScreenSource().

void Silverlight::start ( const QString & pluginFileName ) [virtual]

bool Silverlight::windowless () const

See also setWindowless().