WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
webdriver::QQmlViewCreator Class Reference

#include <qml_view_creator.h>

Inheritance diagram for webdriver::QQmlViewCreator:
Collaboration diagram for webdriver::QQmlViewCreator:

Public Member Functions

 QQmlViewCreator ()
 
virtual ~QQmlViewCreator ()
 
virtual bool CreateViewByClassName (const Logger &logger, const std::string &className, const Point *position, const Size *size, ViewHandle **view) const
 
virtual bool CreateViewForUrl (const Logger &logger, const std::string &url, const Point *position, const Size *size, ViewHandle **view) const
 
- Public Member Functions inherited from webdriver::ViewCreator
 ViewCreator ()
 
virtual ~ViewCreator ()
 
template<class C >
void RegisterViewClass (const std::string &id)
 

Additional Inherited Members

- Protected Types inherited from webdriver::ViewCreator
typedef std::map< std::string,
CreateViewMethod
FactoryMap
 
- Protected Attributes inherited from webdriver::ViewCreator
FactoryMap factory
 

Detailed Description

base class for custom view's creators

Constructor & Destructor Documentation

webdriver::QQmlViewCreator::QQmlViewCreator ( )
virtual webdriver::QQmlViewCreator::~QQmlViewCreator ( )
inlinevirtual

Member Function Documentation

virtual bool webdriver::QQmlViewCreator::CreateViewByClassName ( const Logger logger,
const std::string &  className,
const Point position,
const Size size,
ViewHandle **  view 
) const
virtual

creates new view of specified class

Parameters
[in]logger
[in]classNamerequested class name
[in]position- desired position
[in]size- desired size
[out]viewcreated view.
Returns
true if handled

Implements webdriver::ViewCreator.

virtual bool webdriver::QQmlViewCreator::CreateViewForUrl ( const Logger logger,
const std::string &  url,
const Point position,
const Size size,
ViewHandle **  view 
) const
virtual

creates new view that can handle specified url

Parameters
[in]logger
[in]urlurl to handle
[in]position- desired position
[in]size- desired size
[out]viewcreated view.
Returns
true if handled

Implements webdriver::ViewCreator.


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