libqutim  0.3.1.0
qutim_sdk_0_3::DeclarativeView Class Reference

#include <declarativeview.h>

+ Inheritance diagram for qutim_sdk_0_3::DeclarativeView:

Public Types

enum  ResizeMode { SizeViewToRootObject, SizeRootObjectToView }
 
enum  Status { Null, Ready, Loading, Error }
 

Signals

void sceneResized (const QSize &size)
 
void statusChanged (qutim_sdk_0_3::DeclarativeView::Status)
 

Public Member Functions

 DeclarativeView (QWidget *parent=0)
 
virtual ~DeclarativeView ()
 
ResizeMode resizeMode () const
 
QDeclarativeContext * rootContext () const
 
QObject * rootObject () const
 
void setResizeMode (ResizeMode)
 
void setSource (const QUrl &source)
 
QUrl source () const
 
Status status () const
 

Static Public Member Functions

static QDeclarativeEngine * engine ()
 
static void setEngine (QDeclarativeEngine *engine)
 

Protected Member Functions

virtual bool eventFilter (QObject *obj, QEvent *ev)
 
virtual void resizeEvent (QResizeEvent *event)
 
virtual void setRootObject (QObject *object)
 

Properties

QUrl source
 
Status status
 

Member Enumeration Documentation

Enumerator
SizeViewToRootObject 
SizeRootObjectToView 
Enumerator
Null 
Ready 
Loading 
Error 

Constructor & Destructor Documentation

qutim_sdk_0_3::DeclarativeView::DeclarativeView ( QWidget *  parent = 0)
explicit
virtual qutim_sdk_0_3::DeclarativeView::~DeclarativeView ( )
virtual

Member Function Documentation

static QDeclarativeEngine* qutim_sdk_0_3::DeclarativeView::engine ( )
static
virtual bool qutim_sdk_0_3::DeclarativeView::eventFilter ( QObject *  obj,
QEvent *  ev 
)
protectedvirtual
virtual void qutim_sdk_0_3::DeclarativeView::resizeEvent ( QResizeEvent *  event)
protectedvirtual
ResizeMode qutim_sdk_0_3::DeclarativeView::resizeMode ( ) const
QDeclarativeContext* qutim_sdk_0_3::DeclarativeView::rootContext ( ) const
QObject* qutim_sdk_0_3::DeclarativeView::rootObject ( ) const
void qutim_sdk_0_3::DeclarativeView::sceneResized ( const QSize &  size)
signal
static void qutim_sdk_0_3::DeclarativeView::setEngine ( QDeclarativeEngine *  engine)
static
void qutim_sdk_0_3::DeclarativeView::setResizeMode ( ResizeMode  )
virtual void qutim_sdk_0_3::DeclarativeView::setRootObject ( QObject *  object)
protectedvirtual
void qutim_sdk_0_3::DeclarativeView::setSource ( const QUrl &  source)
QUrl qutim_sdk_0_3::DeclarativeView::source ( ) const
Status qutim_sdk_0_3::DeclarativeView::status ( ) const
void qutim_sdk_0_3::DeclarativeView::statusChanged ( qutim_sdk_0_3::DeclarativeView::Status  )
signal

Property Documentation

QUrl qutim_sdk_0_3::DeclarativeView::source
readwrite
Status qutim_sdk_0_3::DeclarativeView::status
read

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

Generated by Doxygen