LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Attributes | List of all members
DrawingAreaUIObject Class Reference

#include <uiobject.hxx>

Inheritance diagram for DrawingAreaUIObject:
[legend]
Collaboration diagram for DrawingAreaUIObject:
[legend]

Public Member Functions

 DrawingAreaUIObject (const VclPtr< vcl::Window > &rDrawingArea)
 
virtual ~DrawingAreaUIObject () override
 
virtual void execute (const OUString &rAction, const StringMap &rParameters) override
 Executes an action on the wrapped UI object, possibly with some additional parameters. More...
 
- Public Member Functions inherited from WindowUIObject
 WindowUIObject (const VclPtr< vcl::Window > &xWindow)
 
virtual StringMap get_state () override
 Returns the state of the wrapped UI object as a string key value map. More...
 
virtual OUString get_type () const override
 Returns the type of the UIObject. More...
 
virtual std::unique_ptr< UIObjectget_child (const OUString &rID) override
 Returns the child of the current UIObject with the corresponding id. More...
 
std::unique_ptr< UIObjectget_visible_child (const OUString &rID)
 
virtual std::set< OUString > get_children () const override
 Returns a set containing all descendants of the object. More...
 
virtual OUString dumpState () const override
 Currently an internal method to dump the state of the current UIObject as represented by get_state(). More...
 
virtual OUString dumpHierarchy () const override
 Currently an internal method to dump the parent-child relationship starting from the current top focus window. More...
 
virtual OUString get_action (VclEventId nEvent) const override
 Gets the corresponding Action string for the event. More...
 
- Public Member Functions inherited from UIObject
 UIObject ()=default
 
virtual ~UIObject ()
 

Static Public Member Functions

static std::unique_ptr< UIObjectcreate (vcl::Window *pWindow)
 
- Static Public Member Functions inherited from WindowUIObject
static std::unique_ptr< UIObjectcreate (vcl::Window *pWindow)
 

Protected Attributes

weld::CustomWidgetControllermpController
 

Private Attributes

VclPtr< VclDrawingAreamxDrawingArea
 

Additional Inherited Members

- Protected Member Functions inherited from WindowUIObject
virtual OUString get_name () const
 

Detailed Description

Definition at line 551 of file uiobject.hxx.

Constructor & Destructor Documentation

DrawingAreaUIObject::DrawingAreaUIObject ( const VclPtr< vcl::Window > &  rDrawingArea)

Definition at line 1730 of file uitest/uiobject.cxx.

References get(), VclDrawingArea::GetUserData(), mpController, and mxDrawingArea.

Referenced by create().

DrawingAreaUIObject::~DrawingAreaUIObject ( )
overridevirtual

Definition at line 1738 of file uitest/uiobject.cxx.

Member Function Documentation

std::unique_ptr< UIObject > DrawingAreaUIObject::create ( vcl::Window pWindow)
static

Definition at line 1774 of file uitest/uiobject.cxx.

References DrawingAreaUIObject().

Referenced by VclDrawingArea::GetUITestFactory().

void DrawingAreaUIObject::execute ( const OUString &  rAction,
const StringMap rParameters 
)
overridevirtual

Executes an action on the wrapped UI object, possibly with some additional parameters.

Reimplemented from WindowUIObject.

Definition at line 1742 of file uitest/uiobject.cxx.

References aEvent, WindowUIObject::execute(), vcl::Window::GetOutputSizePixel(), Size::Height(), MOUSE_LEFT, VclDrawingArea::MouseButtonDown(), VclDrawingArea::MouseButtonUp(), mxDrawingArea, NONE, OUStringToOString(), Point, and Size::Width().

Member Data Documentation

weld::CustomWidgetController* DrawingAreaUIObject::mpController
protected

Definition at line 556 of file uiobject.hxx.

Referenced by DrawingAreaUIObject().

VclPtr<VclDrawingArea> DrawingAreaUIObject::mxDrawingArea
private

Definition at line 554 of file uiobject.hxx.

Referenced by DrawingAreaUIObject(), and execute().


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