LibreOffice Module svx (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Svx3DPreviewControl Class Reference

#include <dlgctl3d.hxx>

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

Public Member Functions

 Svx3DPreviewControl ()
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
virtual ~Svx3DPreviewControl () override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual void Resize () override
 
virtual void SetObjectType (SvxPreviewObjectType nType)
 
SvxPreviewObjectType GetObjectType () const
 
SfxItemSet const & Get3DAttributes () const
 
virtual void Set3DAttributes (const SfxItemSet &rAttr)
 
- Public Member Functions inherited from weld::CustomWidgetController
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)=0
 
virtual void Resize ()
 
virtual bool MouseButtonDown (const MouseEvent &)
 
virtual bool MouseMove (const MouseEvent &)
 
virtual bool MouseButtonUp (const MouseEvent &)
 
virtual void GetFocus ()
 
virtual void LoseFocus ()
 
virtual void StyleUpdated ()
 
virtual bool Command (const CommandEvent &)
 
virtual bool KeyInput (const KeyEvent &)
 
virtual tools::Rectangle GetFocusRect ()
 
virtual FactoryFunction GetUITestFactory () const
 
virtual OUString RequestHelp (tools::Rectangle &)
 
virtual OUString GetHelpText () const
 
Size const & GetOutputSizePixel () const
 
void SetOutputSizePixel (const Size &rSize)
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea)
 
weld::DrawingAreaGetDrawingArea () const
 
void Invalidate ()
 
void Invalidate (const tools::Rectangle &rRect)
 
virtual void Show ()
 
virtual void Hide ()
 
void SetCursor (void *pData)
 
void GrabFocus ()
 
bool HasFocus () const
 
bool HasChildFocus () const
 
bool IsVisible () const
 
bool IsReallyVisible () const
 
bool IsEnabled () const
 
void Enable () const
 
void Disable () const
 
bool IsActive () const
 
int GetTextHeight () const
 
int GetTextWidth (const OUString &rText) const
 
OUString GetAccessibleName () const
 
OUString GetAccessibleDescription () const
 
void CaptureMouse ()
 
bool IsMouseCaptured () const
 
Point GetPointerPosPixel () const
 
void EnableRTL (bool bEnable)
 
bool IsRTLEnabled () const
 
void ReleaseMouse ()
 
void SetPointer (PointerStyle ePointerStyle)
 
void SetHelpId (const OUString &rHelpId)
 
void SetAccessibleName (const OUString &rName)
 
void SetInputContext (const InputContext &rInputContext)
 
void SetCursorRect (const tools::Rectangle &rCursorRect, int nExtTextInputWidth)
 
virtual int GetSurroundingText (OUString &)
 
virtual bool DeleteSurroundingText (const Selection &)
 
css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()
 
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const
 
void SetDragDataTransferable (rtl::Reference< TransferDataContainer > &rTransferable, sal_uInt8 eDNDConstants)
 
virtual bool StartDrag ()
 
void set_size_request (int nWidth, int nHeight)
 
void queue_resize ()
 
 CustomWidgetController ()
 
virtual ~CustomWidgetController ()
 
 CustomWidgetController (CustomWidgetController const &)=default
 
 CustomWidgetController (CustomWidgetController &&)=default
 
CustomWidgetControlleroperator= (CustomWidgetController const &)=default
 
CustomWidgetControlleroperator= (CustomWidgetController &&)=default
 

Protected Member Functions

void Construct ()
 

Protected Attributes

std::unique_ptr< FmFormModelmpModel
 
rtl::Reference< FmFormPagemxFmPage
 
std::unique_ptr< E3dViewmp3DView
 
rtl::Reference< E3dScenempScene
 
rtl::Reference< E3dObjectmp3DObj
 
SvxPreviewObjectType mnObjectType
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::CustomWidgetController
static bool IsUpdateMode ()
 

Detailed Description

Definition at line 38 of file dlgctl3d.hxx.

Constructor & Destructor Documentation

◆ Svx3DPreviewControl()

Svx3DPreviewControl::Svx3DPreviewControl ( )

Definition at line 46 of file dlgctl3d.cxx.

References SPHERE.

◆ ~Svx3DPreviewControl()

Svx3DPreviewControl::~Svx3DPreviewControl ( )
overridevirtual

Definition at line 61 of file dlgctl3d.cxx.

References mp3DObj, mp3DView, mpModel, mpScene, and mxFmPage.

Member Function Documentation

◆ Construct()

void Svx3DPreviewControl::Construct ( )
protected

◆ Get3DAttributes()

SfxItemSet const & Svx3DPreviewControl::Get3DAttributes ( ) const

◆ GetObjectType()

SvxPreviewObjectType Svx3DPreviewControl::GetObjectType ( ) const
inline

Definition at line 60 of file dlgctl3d.hxx.

Referenced by MouseButtonDown().

◆ MouseButtonDown()

bool Svx3DPreviewControl::MouseButtonDown ( const MouseEvent rMEvt)
overridevirtual

◆ Paint()

void Svx3DPreviewControl::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overridevirtual

Implements weld::CustomWidgetController.

Reimplemented in Svx3DLightControl.

Definition at line 155 of file dlgctl3d.cxx.

References mp3DView.

Referenced by Svx3DLightControl::Paint().

◆ Resize()

void Svx3DPreviewControl::Resize ( )
overridevirtual

◆ Set3DAttributes()

void Svx3DPreviewControl::Set3DAttributes ( const SfxItemSet rAttr)
virtual

Reimplemented in Svx3DLightControl.

Definition at line 228 of file dlgctl3d.cxx.

References weld::CustomWidgetController::Invalidate(), mp3DObj, and Resize().

Referenced by Svx3DLightControl::Set3DAttributes().

◆ SetDrawingArea()

void Svx3DPreviewControl::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overridevirtual

◆ SetObjectType()

void Svx3DPreviewControl::SetObjectType ( SvxPreviewObjectType  nType)
virtual

Member Data Documentation

◆ mnObjectType

SvxPreviewObjectType Svx3DPreviewControl::mnObjectType
protected

Definition at line 46 of file dlgctl3d.hxx.

Referenced by SetObjectType().

◆ mp3DObj

rtl::Reference<E3dObject> Svx3DPreviewControl::mp3DObj
protected

◆ mp3DView

std::unique_ptr<E3dView> Svx3DPreviewControl::mp3DView
protected

◆ mpModel

std::unique_ptr<FmFormModel> Svx3DPreviewControl::mpModel
protected

◆ mpScene

rtl::Reference<E3dScene> Svx3DPreviewControl::mpScene
protected

◆ mxFmPage

rtl::Reference<FmFormPage> Svx3DPreviewControl::mxFmPage
protected

Definition at line 42 of file dlgctl3d.hxx.

Referenced by Construct(), Resize(), Svx3DLightControl::Resize(), and ~Svx3DPreviewControl().


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