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

#include <dlgctl3d.hxx>

Inheritance diagram for PreviewControl3D:
Collaboration diagram for PreviewControl3D:

Public Member Functions

 PreviewControl3D ()
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
virtual ~PreviewControl3D () 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 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)
weld::DrawingAreaGetDrawingArea () const
void Invalidate ()
void Invalidate (const tools::Rectangle &rRect)
virtual void Show ()
virtual void Hide ()
void GrabFocus ()
bool HasFocus () const
bool IsVisible () const
bool IsReallyVisible () const
bool IsEnabled () const
bool IsActive () const
int GetTextHeight () const
OUString GetAccessibleName () const
OUString GetAccessibleDescription () const
void CaptureMouse ()
bool IsMouseCaptured () const
void EnableRTL (bool bEnable)
bool IsRTLEnabled () const
void ReleaseMouse ()
void SetPointer (PointerStyle ePointerStyle)
void SetHelpId (const OString &rHelpId)
void SetAccessibleName (const OUString &rName)
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
std::unique_ptr< E3dViewmp3DView
SvxPreviewObjectType mnObjectType

Additional Inherited Members

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

Detailed Description

Definition at line 69 of file dlgctl3d.hxx.

Constructor & Destructor Documentation

PreviewControl3D::PreviewControl3D ( )

Definition at line 249 of file dlgctl3d.cxx.

References SPHERE.

PreviewControl3D::~PreviewControl3D ( )

Definition at line 267 of file dlgctl3d.cxx.

References mp3DView, and mpModel.

Member Function Documentation

void PreviewControl3D::Construct ( )
SfxItemSet const & PreviewControl3D::Get3DAttributes ( ) const
SvxPreviewObjectType PreviewControl3D::GetObjectType ( ) const

Definition at line 91 of file dlgctl3d.hxx.

Referenced by MouseButtonDown().

bool PreviewControl3D::MouseButtonDown ( const MouseEvent rMEvt)

Reimplemented from weld::CustomWidgetController.

Reimplemented in LightControl3D.

Definition at line 364 of file dlgctl3d.cxx.

References CUBE, GetObjectType(), MouseEvent::IsMod1(), MouseEvent::IsShift(), SetObjectType(), and SPHERE.

void PreviewControl3D::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 

Implements weld::CustomWidgetController.

Reimplemented in LightControl3D.

Definition at line 359 of file dlgctl3d.cxx.

References mp3DView.

Referenced by LightControl3D::Paint().

void PreviewControl3D::Resize ( )
void PreviewControl3D::Set3DAttributes ( const SfxItemSet rAttr)

Reimplemented in LightControl3D.

Definition at line 434 of file dlgctl3d.cxx.

References mp3DObj, Resize(), and SdrObject::SetMergedItemSet().

Referenced by LightControl3D::Set3DAttributes().

void PreviewControl3D::SetDrawingArea ( weld::DrawingArea pDrawingArea)
void PreviewControl3D::SetObjectType ( SvxPreviewObjectType  nType)

Member Data Documentation

SvxPreviewObjectType PreviewControl3D::mnObjectType

Definition at line 77 of file dlgctl3d.hxx.

Referenced by SetObjectType().

E3dObject* PreviewControl3D::mp3DObj
std::unique_ptr<E3dView> PreviewControl3D::mp3DView
FmFormPage* PreviewControl3D::mpFmPage

Definition at line 73 of file dlgctl3d.hxx.

Referenced by Construct(), Resize(), and LightControl3D::Resize().

std::unique_ptr<FmFormModel> PreviewControl3D::mpModel
E3dScene* PreviewControl3D::mpScene

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